Notifications
Clear all
[Closed] Layer problems
Sep 28, 2005 5:00 pm
Hi,
Im trying to figure out a way of making a specificaly named layer the active one via max script and how to add an object to it.
So far I have figured out how to create and delete a layer which was easy enough, but I can’t get anying else to work
Thanks
1 Reply
Sep 28, 2005 5:00 pm
Hello rintintin,
You need to use the layermanager interface:
b=box pos:[0,0,0]
l=layermanager
n=l.newlayerfromname b.name
n.addnode s
lc=l.getlayerfromname "box01"
lc.current=true
Cheers < :
J¬