Notifications
Clear all

[Closed] Creating Layers populated by current selection

Yes – how do I do this in maxscipt? I can create a layer but with nothing in it. I’ve perused the documenattion but no avail. Thank you for your patience

2 Replies

Hope it help


(
-- select something first
local lay = "practice"
local newLay = LayerManager.newLayerFromName lay
for i in selection do newLay.addNode i -- add selection to new created layer
)