ModelCylinderSphereRadius
This document is no longer available beyond version 21.0. Information can now be found here: ModelCylinderSphereRadius for version 25
Parent page: PCB Query Functions - Fields
Summary
Returns all 3D body objects whose Model Radius (Cylinder/Sphere) property complies with the Query.
Syntax
ModelCylinderSphereRadius : 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(ModelCylinderSphereRadius) : Number
– to specify a radius in mil.AsMM(ModelCylinderSphereRadius) : Number
– to specify a radius in mm.
Example Usage
ModelCylinderSphereRadius = 30
Returns all 3D body objects that have a Model Radius (Cylinder/Sphere) property which is equal to 30
current measurement units.
ModelCylinderSphereRadius >= 50
Returns all 3D body objects that have a Model Radius (Cylinder/Sphere) property which is greater than or equal to 50
current measurement units.
AsMils(ModelCylinderSphereRadius) > 40
Returns all 3D body objects that have a Model Radius (Cylinder/Sphere) property which is greater than 40mil
.
AsMM(ModelCylinderSphereRadius) Between 1.5 And 2.2
Returns all 3D body objects that have a Model Radius (Cylinder/Sphere) property which is greater than or equal to 1.5mm
and less than or equal to 2.2mm
.
ModelCylinderSphereRadius <> 55
Returns all 3D body objects that have a Model Radius (Cylinder/Sphere) property which is not equal to 55 current measurement units.
AsMils(ModelCylinderSphereRadius) <= 65
Returns all 3D body objects that have a Model Radius (Cylinder/Sphere) property which is less than or equal to 65mil
.
AsMM(ModelCylinderSphereRadius) < 1.43
Returns all 3D body objects that have a Model Radius (Cylinder/Sphere) property which is less than 1.43mm
.
Tips
- The Model Radius (Cylinder/Sphere) property is only defined for 3D body objects.