![]() StrToNumber(Value : String, Unit : String) : Number Example Usage The string Value returned by CompParameterValue is converted to a number for the comparison by the unit-aware StrToNumber function.Ĭonverts the nominated Parameter Value string to a number, using the stipulated unit type. Returns all components and their associated child objects where the VoltageRating Parameter Value is greater than 50 volts. StrToNumber(CompParameterValue('VoltageRating'),V) > 50 Returns all components and their associated child objects where the Design Item Id Parameter has a Value string which includes 0805. The associated child objects of a complying component object, such as tracks, arcs, pads, text etc, are also returned.ĬompParameterValue(‘Design Item Id’) Like '*0805*' Returns all components that incorporate the Design Item Id Parameter which has a Value string beginning with CAP, such as CAP-NP-100nF-50V-0805, CAP-P-22uF-10V-MCCT-B, etc. SyntaxĬompParameterValue(ParameterName : String) : String Example UsageĬompParameterValue(‘Design Item Id’) Like 'CAP*' Returns the string Value of a PCB component Parameter, which can be tested to return PCB components that comply to the Query.
0 Comments
Leave a Reply. |