-
Notifications
You must be signed in to change notification settings - Fork 669
Description
Hi! I have an extensionobject of the type
MyObject Array[32]
[0]:
element1 : BOOL;
element2 : FLOAT;
element3: INT;
[1]
element1 : BOOL;
element2 : FLOAT;
element3: INT;
[2]
element1 : BOOL;
element2 : FLOAT;
element3: INT;
.
.
.
[31]
element1 : BOOL;
element2 : FLOAT;
element3: INT;
I have managed to access the node and stored it as 'MyNode'
however I cant access any of the data by name.
If I want to read element1 of the third item I can do that by
print = MyObject[2].Body[0]
I would rather be able to access it by MyObject[2].element1
or at least be able to read the names of all the elements by a method like read_display_name() or similar.
I have been trying to access the names of the elements in some way or another, but with no luck unfortunately.
If any of you could help, I would greatly appreciate it :)