成员资格检查
概览
- 了解各个“归属检查”关键字在原理图和原理图库查询中的用途。
- 查看单位转换、封装、模型及模型参数检查的语法和使用示例。
- 了解在哪些情况下,查询必须先定位特定对象或当前模型,才能应用相应关键字。

Query Helper 对话框中显示的 Membership Checks 原理图查询函数
本参考页面详细介绍了 Altium Designer 中原理图和原理图库文档内 Membership Checks 类别下可用的查询语言关键字。要获取特定查询关键字的帮助,请使用以下可折叠部分,或在 Query Helper 或 Filter 面板中选中任意关键字(或单击该关键字内部),然后按 F1 即可直接访问其对应部分。
AsCM
概述
对于对象的数值属性(例如长度、宽度、半径等),此关键字用于将以默认设计空间单位表示的当前值转换为公制单位 cm(厘米),其中 1cm = 0.01米,然后将转换后的值与表达式中输入的值进行比较。
语法
AsCM(Keyword : Number) : Number
用法示例
IsArc And (AsCM(Radius) = 0.56)
返回 Radius 属性为 0.56cm 的所有圆弧对象。
IsPort And (AsCM(Width) Between 1.27 And 2.79)
返回 Width 属性大于或等于 1.27cm 且小于或等于 2.79cm 的所有端口对象。
AsDXPs
概述
对于对象的数值属性(例如长度、宽度、半径等),此关键字用于将以默认设计空间单位表示的当前值转换为英制单位 DXP 默认单位(DXPs),其中 1DXP = 10mils,然后将转换后的值与表达式中输入的值进行比较。
语法
AsDXPs(Keyword : Number) : Number
用法示例
IsArc And (AsDXPs(Radius) = 21.91)
返回 Radius 属性为 21.91DXPs 的所有圆弧对象。
IsPort And (AsDXPs(Width) Between 50 And 150)
返回 Width 属性大于或等于 50DXPs 且小于或等于 150DXPs 的所有端口对象。
AsInches
概述
对于对象的数值属性(例如长度、宽度、半径等),此关键字用于将以默认设计空间单位表示的当前值转换为英寸,然后将转换后的值与表达式中输入的值进行比较。
语法
AsInches(Keyword : Number) : Number
用法示例
IsArc And (AsInches(Radius) = 0.219)
返回 Radius 属性为 0.219in 的所有圆弧对象。
IsPort And (AsInches(Height) Between 0.254 And 0.294)
返回 Height 属性大于或等于 0.254in 且小于或等于 0.294in 的所有端口对象。
AsMetres
概述
对于对象的数值属性(例如长度、宽度、半径等),此关键字用于将以默认设计空间单位表示的当前值转换为米,然后将转换后的值与表达式中输入的值进行比较。
语法
AsMetres(Keyword : Number) : Number
用法示例
IsArc And (AsMetres(Radius) = 0.01)
返回 Radius 属性为 0.01m 的所有圆弧对象。
IsPort And (AsMetres(Width) Between 0.01 And 0.02)
返回 Width 属性大于或等于 0.01m 且小于或等于 0.02m 的所有端口对象。
AsMils
概述
对于对象的数值属性(例如长度、宽度、半径等),此关键字用于将以默认设计空间单位表示的当前值转换为英制单位 mil(密耳),其中 1mil = 0.001英寸,然后将转换后的值与表达式中输入的值进行比较。
语法
AsMils(Keyword : Number) : Number
用法示例
IsArc And (AsMils(Radius) = 250)
返回 Radius 属性为 250mil 的所有圆弧对象。
IsPort And (AsMils(Height) Between 100 And 120)
返回 Height 属性大于或等于 100mil 且小于或等于 120mil 的所有端口对象。
AsMM
概述
对于对象的数值属性(例如长度、宽度、半径等),此关键字用于将以默认设计空间单位表示的当前值转换为公制单位 mm(毫米),其中 1mm = 0.001米,然后将转换后的值与表达式中输入的值进行比较。
语法
AsMM(Keyword : Number) : Number
用法示例
IsArc And (AsMM(Radius) = 6.29)
返回 Radius 属性为 6.29mm 的所有圆弧对象。
IsPort And (AsMM(Height) Between 2.54 And 2.64)
返回 Height 属性大于或等于 2.54mm 且小于或等于 2.64mm 的所有端口对象。
HasFootprint
概述
返回链接到(或引用)属性满足查询条件的封装模型的每个元件对象。
语法
HasFootprint(ModelName : String,CurrentModelOnly : Boolean) : Boolean/Boolean_String
ModelName 字符串指定所链接封装模型的 Name 属性。
CurrentModelOnly 参数指定所链接的封装模型是否必须为各元件的当前封装。当此参数为 False 时,所链接的封装模型不必是当前封装(但也可以是);当此参数为 True 时,所链接的封装模型必须是当前封装。
用法示例
HasFootprint('SOIC14',False)
HasFootprint('SOIC14',False) = True
HasFootprint('SOIC14',False) = 'True'
返回链接到 Name 属性为 SOIC14 的封装模型的所有元件对象;该模型不必是各元件的当前封装(但也可以是)。
HasFootprint('DIP14',True)
HasFootprint('DIP14',True) = True
HasFootprint('DIP14',True) = 'True'
返回链接到 Name 属性为 DIP14 的封装模型的所有元件对象;该模型必须是该元件的当前封装。
HasModel
概述
返回链接到(或引用)属性符合查询条件的域模型的所有元件对象。
语法
HasModel(ModelType : String,ModelName : String,CurrentModelOnly : Boolean) : Boolean/Boolean_String
ModelType 字符串指定所链接模型的 Type 属性,且必须是以下列表中的字符串之一:
- 'PCBLIB' - 使用此字符串定位 Type 属性为 Footprint 的所链接模型。
- 'IBIS' - 使用此字符串定位 Type 属性为 Ibis Model 的所链接模型。
- 'SI' - 使用此字符串定位 Type 属性为 Signal Integrity 的所链接模型。
- 'SIM' - 使用此字符串定位 Type 属性为 Simulation 的所链接模型。
- 'FPGA'- 使用此字符串定位 Type 属性为 FPGA 的所链接模型。
ModelName 字符串指定所链接模型的 Name 属性。
CurrentModelOnly 参数指定所链接模型是否必须是各元件的当前模型。当此参数为 False 时,所链接模型不必是当前模型(但也可以是);当此参数为 True 时,所链接模型必须是当前模型。
使用示例
HasModel('PCBLIB','SOIC14',False)
HasModel('PCBLIB','SOIC14',False) = True
HasModel('PCBLIB','SOIC14',False) = 'True'
返回链接到 Name 属性为 SOIC14 的封装模型的所有元件对象;该模型不必是各元件的当前封装模型(但也可以是)。
HasModel('PCBLIB','DIP14',True)
HasModel('PCBLIB','DIP14',True) = True
HasModel('PCBLIB','DIP14',True) = 'True'
返回链接到 Name 属性为 DIP14 的封装模型的所有元件对象;该模型必须是元件的当前封装模型。
HasModel('SI','RES1',False)
HasModel('SI','RES1',False) = True
HasModel('SI','RES1',False) = 'True'
返回链接到 Name 属性为 RES1 的信号完整性模型的所有元件对象;该模型不必是各元件的当前信号完整性模型(但也可以是)。
HasModel('SIM','RESISTOR',True)
HasModel('SIM','RESISTOR',True) = True
HasModel('SIM','RESISTOR',True) = 'True'
返回链接到 Name 属性为 RESISTOR 的仿真模型的所有元件对象;该模型必须是元件的当前仿真模型。
HasModelParameter
概述
返回链接到(或引用)域模型的所有元件对象,该域模型包含一个 Parameter Name 和 Value 属性符合查询条件的参数对象。
语法
HasModelParameter(Parameter Name : String,Value : String,CurrentModelOnly : Boolean) : Boolean/Boolean_String
CurrentModelOnly 参数指定所链接的模型(包含符合条件的参数)是否必须是各元件的当前模型。当此参数为 False 时,所链接模型不必是当前模型(但也可以是);当此参数为 True 时,所链接模型必须是当前模型。
使用示例
HasModelParameter('Inductance A','1mH',False)
HasModelParameter('Inductance A','1mH',False) = True
HasModelParameter('Inductance A','1mH',False) = 'True'
返回链接到某个模型的所有元件对象,该模型包含一个 Parameter Name 属性为 Inductance A 且 Value 属性为 1mH 的参数对象。该模型不必是各元件的当前模型(但也可以是)。
HasModelParameter('Coupling Factor','0.999',True)
HasModelParameter('Coupling Factor','0.999',True) = True
HasModelParameter('Coupling Factor','0.999',True) = 'True'
返回链接到某个模型的所有元件对象,该模型包含一个 Parameter Name 属性为 Coupling Factor 且 Value 属性为 0.999 的参数对象。该模型必须是元件的当前模型。
HasParameter
概述
返回包含 Parameter Name 和 Value 属性符合查询条件的参数对象的所有参数集、元件、引脚、端口、探针和图纸符号对象。
语法
HasParameter(Parameter Name : String,Value : String) : Boolean/Boolean_String
使用示例
HasParameter('Comment','1K')
HasParameter('Comment','1K') = True
HasParameter('Comment','1K') = 'True'
返回包含 Parameter Name 属性为 Comment 且 Value 属性为 1K 的参数对象的所有参数集、元件、引脚、端口、探针和图纸符号对象。
HasPin
概述
返回包含 Pin Designator 和 Name 属性符合查询条件的引脚对象的所有元件对象。
语法
HasPin(Pin Designator : String,Name : String) : Boolean/Boolean_String
使用示例
HasPin('7','GND')
HasPin('7','GND') = True
HasPin('7','GND') = 'True'
返回所有包含 Pin Designator 属性为 7 且 Name 属性为 GND 的引脚对象的元件对象的全部子对象。
HasSheetEntry
概述
返回包含 Name 属性符合查询条件的图纸入口的所有图纸符号对象。
语法
HasSheetEntry(Sheet Entry Name : String) : Boolean/Boolean_String
使用示例
HasSheetEntry('CLK')
HasSheetEntry('CLK') = True
HasSheetEntry('CLK') = 'True'
返回包含 Name 属性为 CLK 的图纸入口对象的所有图纸符号对象。
InComponent
概述
返回 Component Designator 属性符合查询条件的元件对象。
语法
InComponent(Component Designator 1 : String,Component Designator 2 : String,...,Component Designator n : String) : Boolean/Boolean_String
使用示例
InComponent('U1')
InComponent('U1') = True
InComponent('U1') = 'True'
返回 Component Designator 属性为 U1 的元件对象。
InComponent('U1','J1','R1')
InComponent('U1','J1','R1') = True
InComponent('U1','J1','R1') = 'True'
返回 Component Designator 属性为 U1、J1 或 R1 的元件对象。
注意事项
-
不返回所返回元件对象的子对象。
-
此关键字是 InPart 关键字的别名。
InPart
概述
返回 Component Designator 属性符合查询条件的元件对象。
语法
InPart(Component Designator 1 : String,Component Designator 2 : String,...,Component Designator n : String) : Boolean/Boolean_String
使用示例
InPart('U1')
InPart('U1') = True
InPart('U1') = 'True'
返回 Component Designator 属性为 U1 的元件对象。
InPart('U1','J1','R1')
InPart('U1','J1','R1') = True
InPart('U1','J1','R1') = 'True'
返回 Component Designator 属性为 U1、J1 或 R1 的元件对象。
注意事项
-
不返回所返回元件对象的子对象。
-
此关键字是 InComponent 关键字的别名。
InSheetSymbol
概述
返回 Sheet Name 属性符合查询条件的图纸符号对象。
语法
InSheetSymbol(Sheet Name : String) : Boolean/Boolean_String
使用示例
InSheetSymbol('Accelerometer')
InSheetSymbol('Accelerometer') = True
InSheetSymbol('Accelerometer') = 'True'
返回 Sheet Name 属性为 Accelerometer 的图纸符号对象。
注意
不返回所返回图纸符号对象的子对象。
Object_AreaColor
概述
返回 Fill Color 属性符合查询条件的各线束连接器、端口和图纸符号对象的所有子对象。
语法
Object_AreaColor(Parent) : Numeric_String
Object_AreaColor(Parent) : Number
特定数值所对应的颜色可通过以下关系推导得出:
65536 * Blue + 256 * Green + Red
其中,Blue、Green 和 Red 分量的取值均介于 0 与 255 之间(含边界值)。
当 Object_AreaColor 关键字可以与 Number 配合使用时,可以使用以下结构分别计算 Fill Color 属性的蓝色、绿色和红色分量值:
- Blue = Fill Color Div 65536
- Green = Fill Color Div 256 Mod 256
- Red = Fill Color Mod 256
使用示例
Object_AreaColor(Parent) = '0'
Object_AreaColor(Parent) <> '' && Object_AreaColor(Parent) = 0
返回 Fill Color 属性为 0(对应的分量值为 Blue = 0、Green = 0、Red = 0)的每个父对象的所有子对象。
Object_AreaColor(Parent) = '16711680'
Object_AreaColor(Parent) > '' && Object_AreaColor(Parent) = 16711680
返回 Fill Color 属性为 16711680 (对应的分量值为 Blue = 255、Green = 0、Red = 0)的每个父对象的所有子对象。
Object_AreaColor(Parent) <> '16777215'
返回所有对象except 其 Fill Color 属性为 16777215 (对应的分量值为 Blue = 255、Green = 255、Red = 255)的每个父对象的子对象。
Object_AreaColor(Parent) > '' && Object_AreaColor(Parent) Div 65536 >= 96 && Object_AreaColor(Parent) Div 256 Mod 256 Between 64 And 192 && Object_AreaColor(Parent) Mod 256 <= 128
返回每个父对象(元件除外)的所有子对象,这些父对象的 Fill Color 属性满足以下条件:蓝色分量值大于或等于 96,绿色分量值大于或等于 64 且小于或等于 192,红色分量值小于或等于 128。
Object_ObjectKind(Parent) = 'Port' && Object_AreaColor(Parent) Div 65536 <= 192
返回 Fill Color 属性的蓝色分量值小于或等于 192 的端口对象的所有子对象。
Object_ObjectKind(Parent) = 'Sheet Symbol' && Object_AreaColor(Parent) Mod 256 Between 64 And 192
返回 Fill Color 属性的红色分量值大于或等于 64 且小于或等于 192 的图纸符号对象的所有子对象。
Object_ArrowStyle
概述
返回 Arrow Style 属性符合查询条件的每个端口对象的所有子对象。
语法
Object_ArrowStyle(Parent) = PortArrowStyle_String
Object_ArrowStyle(Parent) <> PortArrowStyle_String
PortArrowStyle_String必须是以下列表中的字符串之一:
- 'Bottom'
- 'Left'
- 'Left & Right'
- 'None (Horizontal)'
- 'None (Vertical)'
- 'Right'
- 'Top'
- 'Top & Bottom'
使用示例
Object_ArrowStyle(Parent) = 'Left'
返回 Arrow Style 属性为 Left 的所有端口对象的所有子对象。
Object_ArrowStyle(Parent) <> 'Bottom'
返回所有对象except 其 Arrow Style 属性为 Bottom 的端口对象的子对象。
Object_ArrowStyle(Parent) <> '' && Object_ArrowStyle(Parent) <> 'Right'
Object_ArrowStyle(Parent) > '' && Object_ArrowStyle(Parent) <> 'Right'
Object_ObjectKind(Parent) = 'Port' && Object_ArrowStyle(Parent) <> 'Right'
返回所有端口对象的所有子对象,except 其 Arrow Style 属性为 Right 的端口对象。
Object_Color
概述
返回 Color 属性符合查询条件的每个线束连接器、参数集、引脚、端口和图纸符号对象的所有子对象。
语法
Object_Color(Parent) : Numeric_String
Object_Color(Parent) : Number
特定数值所对应的颜色可通过以下关系推导得出:
65536 * Blue + 256 * Green + Red
其中,Blue、Green 和 Red 分量的取值均介于 0 与 255 之间(含边界值)。
当 Object_Color 关键字可以与 Number 配合使用时,可以使用以下结构分别计算 Color 属性的蓝色、绿色和红色分量值:
- Blue = Color Div 65536
- Green = Color Div 256 Mod 256
- Red = Color Mod 256
使用示例
Object_Color(Parent) = '0'
Object_Color(Parent) <> '' && Object_Color(Parent) = 0
返回 Color 属性为 0(对应的分量值为 Blue = 0、Green = 0、Red = 0)的每个父对象的所有子对象。
Object_Color(Parent) = '16711680'
Object_Color(Parent) > '' && Object_Color(Parent) = 16711680
返回 Color 属性为 16711680 (对应的分量值为 Blue = 255、Green = 0、Red = 0)的每个父对象的所有子对象。
Object_Color(Parent) <> '16777215'
返回所有对象except 其 Color 属性为 16777215 (对应的分量值为 Blue = 255、Green = 255、Red = 255)的每个父对象的子对象。
Object_ObjectKind(Parent) <> 'Part' && Object_Color(Parent) <> 16777215
返回 Color 属性为 16777215 的每个父对象(元件除外)的所有子对象。
Object_Color(Parent) > '' && Object_Color(Parent) Div 65536 >= 96 && Object_Color(Parent) Div 256 Mod 256 Between 64 And 192 && Object_Color(Parent) Mod 256 <= 128
返回每个父对象(元件除外)的所有子对象,这些父对象的 Color 属性满足以下条件:蓝色分量值大于或等于 96,绿色分量值大于或等于 64 且小于或等于 192,红色分量值小于或等于 128。
Object_ObjectKind(Parent) = 'Parameter Set' && Object_Color(Parent) Div 65536 <= 192
返回 Color 属性的蓝色分量值小于或等于 192 的参数集对象的所有子对象。
Object_ObjectKind(Parent) = 'Port' && Object_Color(Parent) Mod 256 Between 64 And 192
返回 Color 属性的红色分量值大于或等于 64 且小于或等于 192 的端口对象的所有子对象。
Object_Comment
概述
返回 Part Comment 属性符合查询条件的所有元件对象的所有子对象。
语法
Object_Comment(Parent) : String
使用示例
Object_Comment(Parent) = '1488'
返回 Part Comment 属性为 1488 的所有元件对象的所有子对象。
Object_ComponentType
概述
返回 Component Type 属性符合查询条件的所有元件对象的所有子对象。
语法
Object_ComponentType(Parent) = ComponentType_String
Object_ComponentType(Parent) <> ComponentType_String
ComponentType_String必须是以下列表中的字符串之一:
- '图形'
- '跳线'
- '机械'
- '网络连接'
- '网络连接(包含在 BOM 中)'
- '标准'
- '标准(不包含在 BOM 中)'
使用示例
Object_ComponentType(Parent) = 'Net Tie (In BOM)'
返回 Component Type 属性为 Net Tie (In BOM) 的所有元件对象的所有子对象。
Object_ComponentType(Parent) <> 'Standard'
返回所有对象except 其 Component Type 属性为 Standard 的元件对象的子对象。
Object_ComponentType(Parent) <> '' && Object_ComponentType(Parent) <> 'Standard'
Object_ComponentType(Parent) > '' && Object_ComponentType(Parent) <> 'Standard'
Object_ObjectKind(Parent) = 'Part' && Object_ComponentType(Parent) <> 'Standard'
返回 Component Type 属性不为 Standard 的所有元件对象的所有子对象。
注意事项
- Component Type 属性仅针对元件对象定义。
-
ComponentType_String开头和结尾的单引号 (') 不可省略。
Object_CurrentFootprint
摘要
返回 Current Footprint 属性符合查询条件的每个元件对象的所有子对象。
语法
Object_CurrentFootprint(Parent) : String
使用示例
Object_CurrentFootprint(Parent) = 'DIP14'
返回 Current Footprint 属性为 DIP14 的元件对象的所有子对象。
Object_CurrentFootprint(Parent) Like 'SIP?*'
返回 Current Footprint 属性以 SIP 开头且后面至少还有一个字符的元件对象的所有子对象。
Object_DatabaseTableName
摘要
返回 Database Table Name 属性符合查询条件的每个元件对象的所有子对象。
语法
Object_DatabaseTableName(Parent) : String
使用示例
Object_DatabaseTableName(Parent) = 'Tantalum_Capacitors'
返回 Database Table Name 属性为 Tantalum_Capacitors 的元件对象的所有子对象。
Object_DatabaseTableName(Parent) Like '*Res*'
返回 Database Table Name 属性包含 Res 的元件对象的所有子对象。
Object_Designator
摘要
返回 Component Designator 属性符合查询条件的每个元件对象的所有子对象。
语法
Object_Designator(Parent) : String
使用示例
Object_Designator(Parent) = 'U2'
返回 Component Designator 属性为 U2 的元件对象的所有子对象。
Object_Designator(Parent) Like '*Channel*'
返回 Component Designator 属性包含 Channel 的元件对象的所有子对象。
Object_DesignatorLocked
摘要
返回 Lock Designator 属性符合查询条件的每个元件对象的所有子对象。
语法
Object_DesignatorLocked(Parent) : Boolean_String
使用示例
Object_DesignatorLocked(Parent) = 'True'
返回 Lock Designator 属性已启用的元件对象的所有子对象。
Object_DesignatorLocked(Parent) = 'False'
返回 Lock Designator 属性已禁用的元件对象的所有子对象。
Object_DesignItemID
摘要
返回 Design Item ID 属性符合查询条件的每个元件对象的所有子对象。
语法
Object_DesignItemID(Parent) : String
使用示例
Object_DesignItemID(Parent) = 'LM833'
返回 Design Item ID 属性为 LM833 的元件对象的所有子对象。
Object_DesignItemID(Parent) Like '*Osc*'
返回 Design Item ID 属性包含 Osc 的元件对象的所有子对象。
Object_ElectricalType
摘要
返回 Electrical Type 属性符合查询条件的每个引脚对象的所有子对象。
语法
Object_ElectricalType(Parent) = ElectricalType_String
Object_ElectricalType(Parent) <> ElectricalType_String
ElectricalType_String必须是以下列表中的字符串之一:
-
'HiZ' -
'Input' -
'I/O' -
'Open Collector' -
'Open Emitter' -
'Output' -
'Passive' -
'Power'
使用示例
Object_ElectricalType(Parent) = 'Power'
返回 Electrical Type 属性为 Power 的所有引脚对象的所有子对象。
Object_ElectricalType(Parent) <> 'HiZ'
返回所有对象except 其 Electrical Type 属性为 HiZ 的引脚对象的子对象。
Object_ElectricalType(Parent) <> '' && Object_ElectricalType(Parent) <> 'HiZ'
Object_ElectricalType(Parent) > '' && Object_ElectricalType(Parent) <> 'HiZ'
Object_ObjectKind(Parent) = 'Pin' && Object_ElectricalType(Parent) <> 'HiZ'
返回所有引脚对象的所有子对象,except 其中 Electrical Type 属性为 HiZ 的引脚对象。
Object_HasFootprint
摘要
返回链接到(或引用)属性符合查询条件的封装模型的每个元件对象的所有子对象。
语法
Object_HasFootprint(Parent,ModelName : String,CurrentModelOnly : Boolean) : Boolean/Boolean_String
ModelName 字符串指定所链接封装模型的 Name 属性。
CurrentModelOnly 参数指定所链接的封装模型是否必须是每个元件的当前封装。当该参数为 False 时,所链接的封装模型不必是当前封装(但也可以是);当该参数为 True 时,所链接的封装模型必须是当前封装。
使用示例
Object_HasFootprint(Parent,'SOIC14',False)
Object_HasFootprint(Parent,'SOIC14',False) = True
Object_HasFootprint(Parent,'SOIC14',False) = 'True'
返回链接到 Name 属性为 SOIC14 的封装模型的元件对象的所有子对象;该模型不必是每个元件的当前封装(但也可以是)。
Object_HasFootprint(Parent,'DIP14',True)
Object_HasFootprint(Parent,'DIP14',True) = True
Object_HasFootprint(Parent,'DIP14',True) = 'True'
返回链接到 Name 属性为 DIP14 的封装模型的元件对象的所有子对象;该模型必须是该元件的当前封装。
Object_HasModel
摘要
返回链接到(或引用)属性符合查询条件的领域模型的每个元件对象的所有子对象。
语法
Object_HasModel(Parent,ModelType : String,ModelName : String,CurrentModelOnly : Boolean) : Boolean/Boolean_String
ModelType 字符串指定所链接模型的 Type 属性,且必须是以下列表中的字符串之一:
- 'PCBLIB' - 使用此字符串定位 Type 属性为 Footprint 的链接模型。
- 'IBIS' - 使用此字符串定位 Type 属性为 Ibis Model 的链接模型。
- 'SI' - 使用此字符串定位 Type 属性为 Signal Integrity 的链接模型。
- 'SIM' - 使用此字符串定位 Type 属性为 Simulation 的链接模型。
- 'FPGA' - 使用此字符串定位 Type 属性为 FPGA 的链接模型。
ModelName 字符串指定所链接模型的 Name 属性。
CurrentModelOnly 参数指定所链接的模型是否必须是每个元件的当前模型。当该参数为 False 时,所链接的模型不必是当前模型(但也可以是);当该参数为 True 时,所链接的模型必须是当前模型。
使用示例
Object_HasModel(Parent,'PCBLIB','SOIC14',False)
Object_HasModel(Parent,'PCBLIB','SOIC14',False) = True
Object_HasModel(Parent,'PCBLIB','SOIC14',False) = 'True'
返回链接到 Name 属性为 SOIC14 的封装模型的元件对象的所有子对象;该模型不必是每个元件的当前封装模型(但也可以是)。
Object_HasModel(Parent,'PCBLIB','DIP14',True)
Object_HasModel(Parent,'PCBLIB','DIP14',True) = True
Object_HasModel(Parent,'PCBLIB','DIP14',True) = 'True'
返回链接到 Name 属性为 DIP14 的封装模型的元件对象的所有子对象;该模型必须是该元件的当前封装模型。
Object_HasModel(Parent,'SI','RES1',False)
Object_HasModel(Parent,'SI','RES1',False) = True
Object_HasModel(Parent,'SI','RES1',False) = 'True'
返回链接到 Name 属性为 RES1 的信号完整性模型的元件对象的所有子对象;该模型不必是每个元件的当前信号完整性模型(但也可以是)。
Object_HasModel(Parent,'SIM','RESISTOR',True)
Object_HasModel(Parent,'SIM','RESISTOR',True) = True
Object_HasModel(Parent,'SIM','RESISTOR',True) = 'True'
返回链接到 Name 属性为 RESISTOR 的仿真模型的元件对象的所有子对象;该模型必须是该元件的当前仿真模型。
Object_HasModelParameter
概述
返回链接到(或引用)某个领域模型的各个元件对象的所有子对象,该模型包含一个参数对象,其 Parameter Name 和 Value 属性符合查询条件。
语法
Object_HasModelParameter(Parent,Parameter Name : String,Value : String,CurrentModelOnly : Boolean) : Boolean/Boolean_String
CurrentModelOnly 参数指定所链接的模型(包含符合条件的参数)是否必须是各个元件的当前模型。当其为 False 时,所链接的模型不必是当前模型(但也可以是);当其为 True 时,所链接的模型必须是当前模型。
使用示例
Object_HasModelParameter(Parent,'Inductance A','1mH',False)
Object_HasModelParameter(Parent,'Inductance A','1mH',False) = True
Object_HasModelParameter(Parent,'Inductance A','1mH',False) = 'True'
返回链接到某个模型的元件对象的所有子对象,该模型包含一个参数对象,其 Parameter Name 属性为 Inductance A 且 Value 属性为 1mH。该模型不必是各个元件的当前模型(但也可以是)。
Object_HasModelParameter(Parent,'Coupling Factor','0.999',True)
Object_HasModelParameter(Parent,'Coupling Factor','0.999',True) = True
Object_HasModelParameter(Parent,'Coupling Factor','0.999',True) = 'True'
返回链接到某个模型的元件对象的所有子对象,该模型包含一个参数对象,其 Parameter Name 属性为 Coupling Factor 且 Value 属性为 0.999。该模型必须是元件的当前模型。
Object_HasParameter
概述
返回所有参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象,这些对象包含一个参数对象,其 Parameter Name 和 Value 属性符合查询条件。
语法
Object_HasParameter(Parent,Parameter Name : String,Value : String) : Boolean/Boolean_String
使用示例
Object_HasParameter(Parent,'Comment','1K')
Object_HasParameter(Parent,'Comment','1K') = True
Object_HasParameter(Parent,'Comment','1K') = 'True'
返回所有参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象,这些对象包含一个参数对象,其 Parameter Name 属性为 Comment,且 Value 属性为 1K。
Object_HasPin
概述
返回所有元件对象的所有子对象,这些元件对象包含一个引脚对象,其 Pin Designator 和 Name 属性符合查询条件。
语法
Object_HasPin(Parent,Pin Designator : String,Name : String) : Boolean/Boolean_String
使用示例
Object_HasPin(Parent,'7','GND')
Object_HasPin(Parent,'7','GND') = True
Object_HasPin(Parent,'7','GND') = 'True'
返回所有元件对象的所有子对象,这些元件对象包含一个引脚对象,其 Pin Designator 属性为 7,且 Name 属性为 GND。
Object_HasSheetEntry
概述
返回所有图纸符号对象的所有子对象,这些图纸符号对象包含一个图纸入口,其 Name 属性符合查询条件。
语法
Object_HasSheetEntry(Parent , Sheet Entry Name : String) : Boolean/Boolean_String
使用示例
Object_HasSheetEntry(Parent,'CLK')
Object_HasSheetEntry(Parent,'CLK') = True
Object_HasSheetEntry(Parent,'CLK') = 'True'
返回所有图纸符号对象的所有子对象,这些图纸符号对象包含一个图纸入口对象,其 Name 属性为 CLK。
Object_IeeeSymbolInner
概述
返回 IEEE Symbol Inside 属性符合查询条件的引脚对象的所有子对象。
语法
Object_IeeeSymbolInner(Parent) = IeeeSymbolInner_String
Object_IeeeSymbolInner(Parent) <> IeeeSymbolInner_String
IeeeSymbolInner_String 必须是以下字符串之一:
- 'High Current'
- 'HiZ'
- 'No Symbol'
- 'Open Collector'
- 'Open Collector Pull Up'
- 'Open Emitter'
- 'Open Emitter Pull Up'
- 'Open Output'
- 'Pulse'
- 'Postponed Output'
- 'Schmitt'
- 'Shift Left'
使用示例
Object_IeeeSymbolInner(Parent) = 'HiZ'
返回 IEEE Symbol Inside 属性为 HiZ 的引脚对象的所有子对象。
Object_IeeeSymbolInner(Parent) <> 'Pulse'
返回所有对象 except IEEE Symbol Inside 属性为 Pulse 的引脚对象的子对象。
Object_ObjectKind(Parent) = 'Pin' && Object_IeeeSymbolInner(Parent) <> 'Open Emitter'
返回引脚对象的所有子对象 except 那些 IEEE Symbol Inside 属性为 Open Emitter 的引脚对象。
注意事项
-
IeeeSymbolInner_String开头和结尾的单引号字符(')是必需的。 - IEEE Symbol Inside 属性仅为引脚对象定义。
Object_IeeeSymbolInnerEdge
概述
返回 IEEE Symbol Inside Edge 属性符合查询条件的引脚对象的所有子对象。
语法
Object_IeeeSymbolInnerEdge(Parent) = IeeeSymbolInnerEdge_String
Object_IeeeSymbolInnerEdge(Parent) <> IeeeSymbolInnerEdge_String
IeeeSymbolInnerEdge_String 必须是以下字符串之一:
- 'Clock'
- 'No Symbol'
使用示例
Object_IeeeSymbolInnerEdge(Parent) = 'Clock'
返回 IEEE Symbol Inside Edge 属性为 Clock 的引脚对象的所有子对象。
Object_IeeeSymbolInnerEdge(Parent) <> 'No Symbol'
返回所有对象 except IEEE Symbol Inside Edge 属性为 No Symbol 的引脚对象的子对象。
Object_ObjectKind(Parent) = 'Pin' && Object_IeeeSymbolInnerEdge(Parent) <> 'Clock'
返回引脚对象的所有子对象 except 那些 IEEE Symbol Inside Edge 属性为 Clock 的引脚对象。
注意事项
-
IeeeSymbolInnerEdge_String开头和结尾的单引号字符(')是必需的。 - IEEE Symbol Inside Edge 属性仅为引脚对象定义。
Object_IeeeSymbolOuter
概述
返回 IEEE Symbol Outside 属性符合查询条件的引脚对象的所有子对象。
语法
Object_IeeeSymbolOuter(Parent) = IeeeSymbolOuter_String
Object_IeeeSymbolOuter(Parent) <> IeeeSymbolOuter_String
IeeeSymbolOuter_String 必须是以下字符串之一:
- 'Analog Signal In'
- 'Bidirectional Signal Flow'
- 'Digital Signal In'
- 'Left Right Signal Flow'
- 'No Symbol'
- 'Not Logic Connection'
- 'Right Left Signal Flow'
使用示例
Object_IeeeSymbolOuter(Parent) = 'Digital Signal In'
返回 IEEE Symbol Outside 属性为 Digital Signal In 的引脚对象的所有子对象。
Object_IeeeSymbolOuter(Parent) <> 'Bidirectional Signal Flow'
返回所有对象 except IEEE Symbol Outside 属性为 Bidirectional Signal Flow 的引脚对象的子对象。
Object_ObjectKind(Parent) = 'Pin' && Object_IeeeSymbolOuter(Parent) <> 'No Symbol'
返回引脚对象的所有子对象 except 那些 IEEE Symbol Outside 属性为 No Symbol 的引脚对象。
注意事项
-
IeeeSymbolOuter_String开头和结尾的单引号字符(')是必需的。 - IEEE Symbol Outside 属性仅为引脚对象定义。
Object_IeeeSymbolOuterEdge
概述
返回 IEEE Symbol Outside Edge 属性符合查询条件的引脚对象的所有子对象。
语法
Object_IeeeSymbolOuterEdge(Parent) = IeeeSymbolOuterEdge_String
Object_IeeeSymbolOuterEdge(Parent) <> IeeeSymbolOuterEdge_String
IeeeSymbolOuterEdge_String 必须是以下字符串之一:
- 'Active Low Input'
- 'Active Low Output'
- 'Dot'
- 'No Symbol'
使用示例
Object_IeeeSymbolOuterEdge(Parent) = 'Dot'
返回 IEEE Symbol Outside Edge 属性为 Dot 的引脚对象的所有子对象。
Object_IeeeSymbolOuterEdge(Parent) <> 'Active Low Output'
返回所有对象 except IEEE Symbol Outside Edge 属性为 Active Low Output 的引脚对象的子对象。
Object_ObjectKind(Parent) = 'Pin' && Object_IeeeSymbolOuterEdge(Parent) <> 'No Symbol'
返回引脚对象的所有子对象 except 那些 IEEE Symbol Outside Edge 属性为 No Symbol 的引脚对象。
注意事项
-
IeeeSymbolOuterEdge_String开头和结尾的单引号字符(')是必需的。 - IEEE Symbol Outside Edge 属性仅为引脚对象定义。
Object_IOType
概述
返回 IO Type 属性符合查询条件的端口对象的所有子对象。
语法
Object_IOType(Parent) = IOType_String
Object_IOType(Parent) <> IOType_String
IOType_String 必须是以下列表中的字符串之一:
-
'Bidirectional' -
'Input' -
'Output' -
'Unspecified'
使用示例
Object_IOType(Parent) = 'Bidirectional'
返回 IO Type 属性为 Bidirectional 的端口对象的所有子对象。
Object_IOType(Parent) <> 'Output'
返回所有对象 except IO Type 属性为 Output 的端口对象的子对象。
注意事项
- IO Type 属性为端口和图纸入口对象定义,但只有端口对象才具有可由此表达式返回的子对象。
-
IOType_String开头和结尾的单引号字符(')是必需的。
Object_IsMirrored
概述
返回 Mirrored 属性符合查询条件的元件对象的所有子对象。
语法
Object_IsMirrored(Parent) : Boolean_String
使用示例
Object_IsMirrored(Parent) = 'True'
返回启用了 Mirrored 属性的元件对象的所有子对象。
Object_IsMirrored(Parent) = 'False'
返回禁用了 Mirrored 属性的元件对象的所有子对象。
注意
Mirrored 属性适用于 IEEE 符号、元件和文本字符串对象,但只有元件对象可以具有此表达式能够返回的子对象。
Object_Length
概述
返回 Length 属性符合查询条件的引脚对象的所有子对象。
语法
Object_Length(Parent) : Numeric_String
Object_Length(Parent) : Number
使用示例
Object_Length(Parent) = '30'
返回 Length 属性等于 30 的引脚对象的所有子对象。
Object_Length(Parent) Between '20' And '40'
返回 Length 属性大于或等于 20 且小于或等于 40 的引脚对象的所有子对象。
Object_Length(Parent) >= '10'
返回 Length 属性大于或等于 10 的引脚对象的所有子对象。
Object_ObjectKind(Parent) = 'Pin' && Object_Length(Parent) < 30
返回 Length 属性小于 30 的引脚对象的所有子对象。
Object_Length(Parent) <> '40'
返回所有对象 except Length 属性等于 40 的引脚对象的子对象。
Object_ObjectKind(Parent) = 'Pin' && Object_Length(Parent) <> 40
返回引脚对象的所有子对象 except Length 属性为 40 的引脚对象。
注意
Length 属性仅适用于引脚对象。
Object_LibraryName
概述
返回 Library 属性符合查询条件的元件对象的所有子对象。
语法
Object_LibraryName(Parent) : String
使用示例
Object_LibraryName(Parent) = 'Miscellaneous Devices.IntLib'
返回 Library 属性为 Miscellaneous Devices.IntLib 的元件对象的所有子对象。
Object_LibraryName(Parent) Like 'Miscellaneous*.IntLib'
返回具有 Library 属性且该属性的关联字符串以 Miscellaneous 开头、以 .IntLib 结尾的元件对象的所有子对象。
注意
Library 属性仅适用于元件对象。
Object_LibReference
概述
返回 Symbol Reference 属性符合查询条件的元件对象的所有子对象。
语法
Object_LibReference(Parent) : String
使用示例
Object_LibReference(Parent) = 'LM833'
返回 Symbol Reference 属性为 LM833 的元件对象的所有子对象。
注意
Symbol Reference 属性仅适用于元件对象。
Object_LocationX
概述
返回 X1 属性符合查询条件的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
语法
Object_LocationX(Parent) : Numeric_String
使用示例
Object_LocationX(Parent) = '320'
返回 X1 属性等于 320 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_LocationX(Parent) Between '150' And '430'
返回 X1 属性大于或等于 150 且小于或等于 430 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_LocationX(Parent) >= '250'
返回 X1 属性大于或等于 250 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_LocationX(Parent) < 350
返回 X1 属性小于 350 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_LocationX(Parent) <> '210'
返回 X1 属性不等于 210 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_LocationY
概述
返回 Y1 属性符合查询条件的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
语法
Object_LocationY(Parent) : Numeric_String
使用示例
Object_LocationY(Parent) = '320'
返回 Y1 属性等于 320 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_LocationY(Parent) Between '150' And '430'
返回 Y1 属性大于或等于 150 且小于或等于 430 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_LocationY(Parent) >= '250'
返回 Y1 属性大于或等于 250 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_LocationY(Parent) < 350
返回 Y1 属性小于 350 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_LocationY(Parent) <> '210'
返回 Y1 属性不等于 210 的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Object_Locked
概述
返回 Locked 属性符合查询条件的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
语法
Object_Locked(Parent) : Boolean/Boolean_String
使用示例
Object_Locked(Parent)
Object_Locked(Parent) = True
Object_Locked(Parent) = 'True'
返回启用了 Locked 属性的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的所有子对象。
Not Object_Locked(Parent)
Object_Locked(Parent) = False
Object_Locked(Parent) = 'False'
返回所有对象 except 禁用了 Locked 属性的线束连接器、参数集、元件、引脚、端口、探针和图纸符号对象的子对象。
Object_ObjectKind
概述
返回 Object Kind 属性符合查询条件的对象的所有子对象。
语法
Object_ObjectKind(Parent) = ObjectKind_String
Object_ObjectKind(Parent) <> ObjectKind_String
ObjectKind_String指定对象类型,且必须为以下字符串之一:
- 'Harness Connector'
- 'Parameter Set'
-
'Part' -
'Pin' -
'Port' - 'Probe'
- 'Sheet Symbol'
- ''
使用示例
Object_ObjectKind(Parent) = 'Sheet Symbol'
返回图纸符号对象的所有子对象。
Object_ObjectKind(Parent) <> 'Parameter Set'
返回所有对象 except 参数集对象的子对象。
Object_ObjectKind(Parent) = 'Part'
返回部件对象的所有子对象。
Object_ObjectKind(Parent) = ''
返回所有没有父对象的对象。
注意
ObjectKind_String 首尾的单引号 (') 是必需的。
Object_Orientation
概述
返回 Orientation 属性符合查询条件的参数集、部件、引脚和探针对象的所有子对象。
语法
Object_Orientation(Parent) = Orientation_String
Object_Orientation(Parent) <> Orientation_String
Orientation_String必须为以下列表中的字符串之一:
-
'0 Degrees' -
'90 Degrees' -
'180 Degrees' -
'270 Degrees'
使用示例
Object_Orientation(Parent) = '90 Degrees'
返回 Orientation 属性为 90 Degrees 的参数集、部件、引脚和探针对象的所有子对象。
Object_Orientation(Parent) <> '180 Degrees'
返回所有对象 except Orientation 属性为 180 Degrees 的参数集、部件、引脚和探针对象的子对象。
Object_Orientation(Parent) <> '' && Object_Orientation(Parent) <> '180 Degrees'
Object_Orientation(Parent) > '' && Object_Orientation(Parent) <> '180 Degrees'
返回 Orientation 属性不为 180 Degrees 的参数集、部件、引脚和探针对象的所有子对象。
注意
-
位号、线束连接器类型、IEEE 符号、网络标签、离图连接器、参数、参数集、部件、引脚、电源端口、探针、图纸符号位号、图纸符号文件名和文本字符串对象均定义了 Orientation 属性。但是,只有参数集、部件、引脚和探针对象可以包含此表达式能够返回的子对象。
-
Orientation_String首尾的单引号 (') 是必需的。
Object_PartId
概述
返回 Current Part 属性符合查询条件的部件对象的所有子对象。
语法
Object_PartId(Parent) : String
使用示例
Object_PartId(Parent) = 'B'
返回 Current Part 属性为 B 的部件对象的所有子对象。
Object_ObjectKind(Parent) = 'Part' && Object_PartId(Parent) <> 'A'
返回部件对象的所有子对象 except Current Part 属性为 A 的部件对象。
注意
只有部件对象定义了 Current Part 属性。
Object_PinShowDesignator
概述
返回 Show Designator 属性符合查询条件的引脚对象的所有子对象。
语法
Object_PinShowDesignator(Parent) : Boolean_String
使用示例
Object_PinShowDesignator(Parent) = 'True'
返回启用了 Show Designator 属性的引脚对象的所有子对象。
Object_PinShowDesignator(Parent) = 'False'
返回禁用了 Show Designator 属性的引脚对象的所有子对象。
注意
只有引脚对象定义了 Show Designator 属性。
Object_PinsLocked
概述
返回 Pins Locked 属性符合查询条件的部件对象的所有子对象。
语法
Object_PinsLocked(Parent) : Boolean_String
使用示例
Object_PinsLocked(Parent) = 'True'
返回启用了 Pins Locked 属性的部件对象的所有子对象。
Object_PinsLocked(Parent) = 'False'
返回禁用了 Pins Locked 属性的部件对象的所有子对象。
注意
只有部件对象定义了 Pins Locked 属性。
Object_SheetFileName
概述
返回 Sheet File Name 属性符合查询条件的图纸符号对象(图纸符号、器件图纸符号、受管图纸实例符号)的所有子对象。
语法
Object_SheetFileName(Parent) : String
使用示例
Object_SheetFileName(Parent) = 'Microcontroller_STM32F101.SchDoc'
返回 Sheet File Name 属性为 Microcontroller_STM32F101.SchDoc 的图纸符号对象的所有子对象。
Object_SheetFileName(Parent) Like '*Res*'
返回 Sheet File Name 属性包含 Res 的图纸符号对象的所有子对象。
注意
只有图纸符号对象定义了 Sheet File Name 属性。
Object_SheetName
概述
返回 Sheet Name 属性(即图纸符号位号)符合查询条件的图纸符号对象(图纸符号、器件图纸符号、受管图纸实例符号)的所有子对象。
语法
Object_SheetName(Parent) : String
使用示例
Object_SheetName(Parent) = 'Accelerometer'
返回 Sheet Name 属性为 Accelerometer 的图纸符号对象的所有子对象。
Object_SheetName(Parent) Like '*Power*'
返回 Sheet Name 属性包含 Power 的图纸符号对象的所有子对象。
注意
只有图纸符号对象定义了 Sheet Name 属性。
Object_ShowName
概述
返回 Show Name 属性符合查询条件的引脚对象的所有子对象。
语法
Object_ShowName(Parent) : Boolean_String
使用示例
Object_ShowName(Parent) = 'True'
返回启用了 Show Name 属性的引脚对象的所有子对象。
Object_ShowName(Parent) = 'False'
返回禁用了 Show Name 属性的引脚对象的所有子对象。
注意
参数和引脚对象均定义了 Show Name 属性,但只有引脚对象可以包含此表达式能够返回的子对象。
Object_TextColor
概述
返回 Text Color 属性符合查询条件的端口对象的所有子对象。
语法
Object_TextColor(Parent) : Numeric_String
Object_TextColor(Parent) : Number
特定数值所对应的颜色可根据以下关系推导得出:
65536 * Blue + 256 * Green + Red
其中,Blue、Green 和 Red 分量的取值均介于 0 和 255 之间(含端点)。
当 Object_TextColor 关键字可与 Number 配合使用时,可以使用以下结构分别计算 Text Color 属性的蓝色、绿色和红色分量值:
- Blue = Text Color Div 65536
- Green = Text Color Div 256 Mod 256
- Red = Text Color Mod 256
使用示例
Object_TextColor(Parent) = '0'
Object_TextColor(Parent) <> '' && Object_TextColor(Parent) = 0
返回 Text Color 属性为 0 的端口对象的所有子对象(对应的分量值为:蓝色 = 0、绿色 = 0、红色 = 0)。
Object_TextColor(Parent) = '32896'
Object_TextColor(Parent) > '' && Object_TextColor(Parent) = 32896
返回 Text Color 属性为 32896 的端口对象的所有子对象(对应的分量值为:蓝色 = 0、绿色 = 128、红色 = 128)。
Object_TextColor(Parent) <> '16777215'
返回所有对象except 其 Text Color 属性为 16777215 的端口对象的子对象(对应的分量值为:蓝色 = 255、绿色 = 255、红色 = 255)。
Object_ObjectKind(Parent) = 'Port' && Object_TextColor(Parent) <> 16777215
返回 Text Color 属性不为 16777215 的端口对象的所有子对象。
Object_TextColor(Parent) > '' && Object_TextColor(Parent) Div 65536 >= 96 && Object_TextColor(Parent) Div 256 Mod 256 Between 64 And 192 && Object_TextColor(Parent) Mod 256 <= 128
返回其 Text Color 属性满足以下条件的端口对象的所有子对象:蓝色分量值大于或等于 96,绿色分量值大于或等于 64 且小于或等于 192,红色分量值小于或等于 128。
Object_ObjectKind(Parent) = 'Port' && Object_TextColor(Parent) Mod 256 Between 64 And 192
返回其 Text Color 属性的红色分量值大于或等于 64 且小于或等于 192 的端口对象的所有子对象。
注意
Text Color 属性适用于线束入口、注释、端口、图纸入口和文本框对象,但只有端口对象可以具有此表达式能够返回的子对象。
Object_UseDBTableName
概述
返回 Use Database Table Name 属性符合查询条件的元件对象的所有子对象。
语法
Object_UseDBTableName(Parent) : Boolean_String
使用示例
Object_UseDBTableName(Parent) = 'True'
返回已启用 Use Database Table Name 属性的元件对象的所有子对象。
Object_UseDBTableName(Parent) = 'False'
返回已禁用 Use Database Table Name 属性的元件对象的所有子对象。
注意
Use Database Table Name 属性仅适用于元件对象。
Object_UseLibraryName
概述
返回 Use Library Name 属性符合查询条件的元件对象的所有子对象。
语法
Object_UseLibraryName(Parent) : Boolean_String
使用示例
Object_UseLibraryName(Parent) = 'True'
返回已启用 Use Library Name 属性的元件对象的所有子对象。
Object_UseLibraryName(Parent) = 'False'
返回已禁用 Use Library Name 属性的元件对象的所有子对象。
注意
Use Library Name 属性仅适用于元件对象。