Query_Lang-PCBFunctions_AttributeChecks_IsMechanicalComponentIsMechanicalComponent_AD
软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。
如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。
Parent page: PCB Query Functions - Attribute Checks
Summary Copy Link Copied
Returns component objects whose Component Type property is Mechanical. These components do not have electrical properties, are not synchronized (you must manually place them in both editors), and are included in the BOM. An example is a heatsink.
Syntax Copy Link Copied
IsMechanicalComponent : Boolean/Boolean_String
Example Usage Copy Link Copied
IsMechanicalComponent
IsMechanicalComponent = True
IsMechanicalComponent = 'True'
Returns all component objects whose Component Type property is set to Mechanical.
Not IsMechanicalComponent
IsMechanicalComponent = False
IsMechanicalComponent = 'False'
Returns all objects except component objects whose Component Type property is set to Mechanical.
Tips Copy Link Copied
- The associated child primitive objects are not returned by this Query.