Notifications
Clear all
[Closed] Selecting the baseObject in an instanced object
Apr 28, 2017 11:37 am
So I have a wrapper for selection sub-object levels where if I select a level out of range for the current object (like modifiers), i drop down to the baseObject instead. However, when I select the baseObject for an instanced object the script will select the baseObject of a constant, specific instance, instead of the object I have selected.
To reproduce:
- Create a box
- Instance it
- Apply a modifier
Then call ‘modPanel.setCurrentObject ($.baseObject)’ on either one of the boxes and you’ll drop down to the baseObject, but always on only one of them. Not the other, even when that object is selected when the code is executed.
Anyone know what the problem might be or maybe a different approach to do this? Thank you
2 Replies