Query_Lang-PCBFunctions_MembershipChecks_InLayerStackRegionInLayerStackRegion_AD

您正在阅读的是 18.0. 版本。关于最新版本,请前往 Query_Lang-PCBFunctions_MembershipChecks_InLayerStackRegion((InLayerStackRegion))_AD 阅读 21 版本

Parent page: PCB Query Functions - Membership Checks

Summary

Returns all objects whose reference point is within the named Board Region.

Syntax

InLayerStackRegion(RegionName1 : String,RegionName2 : String,...,RegionNamen : String) : Boolean/Boolean_String

Example Usage

InLayerStackRegion('Region1')
InLayerStackRegion('Region1') = True
InLayerStackRegion('Region1') = 'True'

Returns all objects whose reference point is within the Board Region whose Name property is Region1.

InLayerStackRegion('Region1','Region2')
InLayerStackRegion('Region1','Region2') = True
InLayerStackRegion('Region1','Region2') = 'True'

Returns all objects whose reference point is within the Board Region whose Name property is Region1, or the Board Region whose Name property is Region2.

Not InLayerStackRegion('Region2')
InLayerStackRegion('Region2') = False
InLayerStackRegion('Region2') = 'False'

Returns all objects except objects whose reference point is within the Board Region whose Name property is Region2.

Tips

  1. The single quote characters (') at the start and end of the RegionName string are mandatory.
  2. The reference point for each object kind varies, but is normally the X/Y location shown in the Properties panel. For example, for a pad or via it is the center; for a track it is the left vertex; for a string it is the bottom left corner. A component will be returned if its reference point is within the Board Region, if the reference point is not within the Board Region the query is applied to the individual primitive objects within the component.
If you find an issue, select the text/image and pressCtrl + Enterto send us your feedback.

软件的功能取决于您购买的Altium产品级别。您可以比较Altium Designer软件订阅的各个级别中包含的功能,以及通过Altium 365平台提供的应用程序所能实现的功能。

如果您在软件中找不到某个讨论过的功能,请联系Altium销售团队以获取更多信息。