Query_Lang-PCBFunctions_Fields_ModelZModelZ_AD
This document is no longer available beyond version 4. Information can now be found here: ModelZ for version 5
Parent page: PCB Query Functions - Fields
Summary
Returns all 3D body objects whose Model Z property complies with the Query.
Syntax
ModelZ : Number
Number
will follow the measurement units currently employed for the document – either Imperial (mil; 1mil = 0.001inch) or Metric (mm; 1mm = 0.001meter).
A specific option for the measurement unit can be specified – overriding the default units specified at the document level – through use of an additional measurement unit-based keyword:
AsMils(ModelZ) : Number
– to specify a height in mil.AsMM(ModelZ) : Number
– to specify a height in mm.
Example Usage
ModelZ = 30
Returns all 3D body objects that have a Model Z property which is equal to 30
current measurement units.
ModelZ >= 5.08
Returns all 3D body objects that have a Model Z property which is greater than or equal to 5.08
current measurement units.
AsMils(ModelZ) > 40
Returns all 3D body objects that have a Model Z property which is greater than 40mil
.
AsMM(ModelZ) Between 0.35 And 0.89
Returns all 3D body objects that have a Model Z property which is greater than or equal to 0.35mm
and less than or equal to 0.89mm
.
ModelZ <> 55
Returns all 3D body objects that have a Model Z property which is not equal to 55 current measurement units.
AsMils(ModelZ) <= 65
Returns all 3D body objects that have a Model Z property which is less than or equal to 65mil
.
AsMM(ModelZ) < 0.43
Returns all 3D body objects that have a Model Z property which is less than 0.43mm
.
Tips
- The Model Z property is only defined for 3D body objects.
- The Model Z property corresponds to the Standoff Height field, when viewing the properties for a selected 3D body on the Properties panel.