ModelType
Created: September 08, 2015 | Updated: August 11, 2021
| Applies to versions: 1.0, 1.1, 2.0, 2.1, 3.0, 3.1 and 3.2
Now reading version 2.0. For the latest, read: ModelType for version 4
Parent page: PCB Query Functions - Fields
Summary
Returns all 3D body objects whose Model Type property complies with the Query.
Syntax
ModelType = ModelType_String
ModelType <> ModelType_String
ModelType_String
must be one of the strings from the following list:
'Cylinder'
'Extruded'
'Generic Model'
'Sphere'
Example Usage
ModelType = 'Extruded'
Returns all 3D body objects whose Model Type property is Extruded
.
ModelType <> 'Cylinder'
Returns all objects except 3D body objects whose Model Type property is Cylinder
.
Tips
- The Model Type property is only defined for 3D body objects.
- The single quote characters (') at the start and end of
ModelType_String
are mandatory.