MaxScript - Select Base Object


#1

Hey everyone,

I’m building my first MaxScript tool and have an issue.

I want to enter sub-object mode 4 for object B
This would work fine with:

max modify mode 
modPanel.setCurrentObject $.baseObject
subObjectLevel=4

My Problem is B is a reference of A so the command opens sub-object mode for A not B, caues it’s the baseObject.

Is there a way around this / another command?
Thanks in advance


#2

Try:

modPanel.setCurrentObject $.baseObject node:$

#3

That does the trick - thanks a lot :smile: