how to get selected objects layer name?
Hi, I need some help with a script that I'm working on - I want to get the selected objects layer name so I can append it to the objects name for export. Is there a simple way to do that?
I can't search all layers nodes by name because the whole point of the script is to rename objects that have the same name so that they don't get overwritten in batch export to something like newName = $.name + LayerName.
Any help?
Thanks!
Comments
Select only one object and
Select only one object and execute this:
Tools and Scripts for Autodesk 3dsMax
Thank you, that works! While
Thank you, that works!
While we're here, do you know if there's a way to get this to work?
Pluginmanager.loadclass FBXExporter
if FBXExporterGetParam "Animation" == True then (aniVar = True) else (aniVar = False)
It always shows true.. and I know that the scene has animation turned off (in the export dialog).
It turns false as soon as I actually export something (and yeah, doesn't export animation) but in this case I really need to check the animation parameter state before I do the export.