Query_Lang-PCBFunctions_Fields_ModelTypeModelType_AD

Now reading version 18.1. For the latest, read: Query_Lang-PCBFunctions_Fields_ModelType((ModelType))_AD for version 21

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

  1. The Model Type property is only defined for 3D body objects.
  2. The single quote characters (') at the start and end of ModelType_String are mandatory.

 

If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.
Note

The features available depend on your Altium product access level. Compare features included in the various levels of Altium Designer Software Subscription and functionality delivered through applications provided by the Altium 365 platform.

If you don’t see a discussed feature in your software, contact Altium Sales to find out more.