AVEVA Community
Site
Search
User
Site
Search
User
AVEVA World
Misc AVEVA software
AVEVA Diagrams
Autonaming in Diagrams
Forums
Resources
Mentions
Sub-Groups
Tags
More
Cancel
New
Replies
2 replies
Subscribers
1 subscriber
Views
46 views
Users
0 members are here
Options
Share
More
Cancel
Related
Autonaming in Diagrams
Christopher Ford
over 8 years ago
Christopher Ford
over 8 years ago
Hello together,
how do I do a correct format in the autonaming if I have a array for an attribute
e.g.
!namOptRule = object NAMOPTRULE()
!namOptRule.key = |OPC|
!namOptRule.description = |Naming rule for all OPC|
!namOptRule.rule = |All OPC|
!namOptRule.scan = |SCGROU|
!namOptRule.format = |diarefarray(1) of owner & '/TP' & !INDEX|
!namOptRule.indices = |00|
!tempArray.append(!namOptRule)
I get following error:
Format rule diarefarray(1) of owner & '/TP' & !INDEX is not valid for element =604002692/550
It seam that owner strings are allowed as attribute types. How do I get string of a array(1)?
regards
Angus
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel
me_hungry
over 8 years ago
Try to use insead
[COLOR=#333333]diarefarray(1) of owner & '/TP' & !INDEX[/COLOR]
:
!!ce.diarefarray[1].namn [COLOR=#333333]& '/TP' & !INDEX [/COLOR]
Cancel
Vote Up
0
Vote Down
Sign in to reply
Cancel