Query_Lang-PCBFunctions_Fields_ModelTypeModelType_AD
Created: 九月 08, 2015 | Updated: 八月 11, 2021
| Applies to versions: 15.1, 16.0, 16.1, 17.0, 17.1, 18.0, 18.1, 19.0, 19.1, 20.0, 20.1 and 20.2
您正在阅读的是 19.1. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_Fields_ModelType((ModelType))_AD 阅读 21 版本
注
软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。
如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。
Parent page: PCB Query Functions - Fields
Summary Copy Link Copied
Returns all 3D body objects whose Model Type property complies with the Query.
Syntax Copy Link Copied
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 Copy Link Copied
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 Copy Link Copied
- 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.