摘要
返回完全位于任意房间对象(约束限制规则)所占区域内的对象,且该房间对象的 Name property 符合查询条件。
对于焊盘和过孔,要被返回,其中心点必须位于指定的房间内。
语法
WithinRoom(RoomName1 : String,RoomName2 : String,...,RoomNamen : String) : Boolean/Boolean_String
在定义查询表达式时,会弹出一个按名称排序的现有房间(room)列表。
示例用法
WithinRoom('Power')
WithinRoom('Power') = True
WithinRoom('Power') = 'True'
返回完全位于任意房间所占区域内的对象,且该房间的 Name property 为 Power。
WithinRoom('COUT1','COUT2')
WithinRoom('COUT1','COUT2') = True
WithinRoom('COUT1','COUT2') = 'True'
返回完全位于任意房间所占区域内的对象,且该房间的 Name property 为 COUT1 或 COUT2。
WithinRoom('Monitor','Auxilary','Effects')
WithinRoom('Monitor','Auxilary','Effects') = True
WithinRoom('Monitor','Auxilary','Effects') = 'True'
返回完全位于任意房间所占区域内的对象,且该房间的 Name property 为 Monitor,或 Auxilary,或 Effects。
注意事项
-
每个
RoomName 字符串开头和结尾处的单引号字符(')是必需的。
-
不会返回父级坐标、尺寸以及 Net 对象。