Same name used for multiple instances of an object in id block
Posted: Jun 30th, '16, 20:39
To create issue:
1) Open project Widgets -> DragNDropList
2) enter developer mode
3) Shift-<Right Click> on any instance of Person
4) click on the id block
5) repeat steps 3 & 4 for a different instance of Person
You will see that both ID blocks have the same display text "<Person>" yet refer to different instances. I confirmed they refer to different instances by dropping them into block Structure -> add part
Using explore I see each instance has a different 'n' value, so I am guessing I could somehow refer to them using that. I could use an instance variable to to add special behavior to specific instances.
Done on Mac using GP-alpha-050
1) Open project Widgets -> DragNDropList
2) enter developer mode
3) Shift-<Right Click> on any instance of Person
4) click on the id block
5) repeat steps 3 & 4 for a different instance of Person
You will see that both ID blocks have the same display text "<Person>" yet refer to different instances. I confirmed they refer to different instances by dropping them into block Structure -> add part
Using explore I see each instance has a different 'n' value, so I am guessing I could somehow refer to them using that. I could use an instance variable to to add special behavior to specific instances.
Done on Mac using GP-alpha-050