Notifications
Clear all
[Closed] Creating Layers populated by current selection
Dec 26, 2016 4:31 pm
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
Dec 26, 2016 4:31 pm
check out the last example https://knowledge.autodesk.com/search-result/caas/CloudHelp/cloudhelp/2015/ENU/MAXScript-Help/files/GUID-78B79975-7BA5-4A03-8FEF-27E78D14B575-htm.html
Dec 26, 2016 4:31 pm
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
)