About this site
ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
Comments
this one also should work
if selection.count >= 1 do LayerManager.current.setname selection[1].name
my recent MAXScripts RSS (archive here)
Yep but he ask for solution
Yep but he ask for solution where can rename the Layer of current selected object,
if i understend correctly.
bga
who knows :)
"rename current layer by object selected" sounds to me clear, but if it's as you say, then s'd be this one:
selection[1].layer.setname "New Name"
or maybe:
selection[1].layer.setname selection[1].name
my recent MAXScripts RSS (archive here)
And also we need to check
And also we need to check if...
bga
not necessary
The name of base layer is read-only and no errors come if we try to modify it.
my recent MAXScripts RSS (archive here)
I did not that (..no errors
I did not that (..no errors come if we try to modify it..). Thanks Panayot.
bga
You can changege object layer
You can changege object layer name like this:
bga