GetPropertyAttributes方法示例
2015-12-15 22:24:36 来源: 评论:0 点击:
下列示例提取节点NODE1上AI1 块的HighEGU特征的特征信息。Dim vtResults Dim vtAttributes Dim lStatus As Long Dim strLoEGU as String Dim LoEGUval Oval1 GetPropertyAttributes "FIX32 NODE
下列示例提取节点NODE1上AI1 块的HighEGU特征的特征信息。
Dim vtResults
Dim vtAttributes
Dim lStatus As Long
Dim strLoEGU as String
Dim LoEGUval
Oval1.GetPropertyAttributes "FIX32.NODE1.AI1.F_CV", 3, vtResults, vtAttributes, lStatus
strLoEGU = vtAttributes(0)
LoEGUval = vtResults(0)
在上述示例中,变量strLoEGU现在将含有字符串"FIX32.NODE1.AI1.A_ELO",而变量LoEGUval将含有标签AI1的EGU下限值。