Query_Lang-PCBFunctions_Fields_ModelTypeModelType_AD

This document is no longer available beyond version 4. Information can now be found here: ModelType for version 5

Applies to NEXUS Client version: 4

This documentation page references Altium NEXUS/NEXUS Client (part of the deployed NEXUS solution), which has been discontinued. All your PCB design, data management and collaboration needs can now be delivered by Altium Designer and a connected Altium 365 Workspace. Check out the FAQs page for more information.

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.