Notifications
Clear all

[Closed] Layer problems

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

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 < :