LEXICON Command
Reference Manual
User Defined Element Types
: Change Type on an Instance
Change Type on an Instance
Where UDETs have the same base type or where the base types can be changed to one another, then the UDET may be changed on an instance using the existing 'CHANGETYPE' command. Any UDAs not valid on the new type will be lost.
For example currently BENDS can be changed to ELBOWS and vice versa.
Now define a :MYBEND based on a BEND and a :MYELBOW based on an ELBOW. An instance of type :MYBEND, BEND,:MYELBOW or ELBOW can now be changed to any of BEND, :BEND, ELBOW or :MYELBOW.
If the object has members which are of a type disallowed in the new type, then the switch will be disallowed. Similarly it will be disallowed if the new type is not allowed as a member of it's current owner.
1974 to current year.
AVEVA Solutions Limited and its subsidiaries. All rights reserved.