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.
Could anyone please help me delete all Point Helper objects in the scene that have no linked objects (Children)? Your assistance would be greatly appreciated. Thank you!
Thank you! Unfortunately, I couldn't make it work. When I run the script, nothing happens. I made some edits by removing the portion 'and (h.children).count == 0' because in this case, all helpers are moving to HLP layers, not just the empty ones.
Appreciate your efforts!
(
hlpLayer = layerManager.getLayerFromName "HLP"if hlpLayer == undefined do hlpLayer = layerManager.newLayerFromName "HLP"for h in helpers where (classof h == Point) and (h.children).count == 0 do hlpLayer.addNode h
)
For all helpers:
(
hlpLayer = layerManager.getLayerFromName "HLP"if hlpLayer == undefined do hlpLayer = layerManager.newLayerFromName "HLP"for h in helpers where (h.children).count == 0 do hlpLayer.addNode h
)
Comments
weird! now is working!
weird! now is working! )))
thanks once again
Thank you! Unfortunately, I
Thank you! Unfortunately, I couldn't make it work. When I run the script, nothing happens. I made some edits by removing the portion 'and (h.children).count == 0' because in this case, all helpers are moving to HLP layers, not just the empty ones.
Appreciate your efforts!
I would also appreciate help
I would also appreciate help with the MaxScript command to move all Helper objects to the 'HLP' layer. Thank you!
.
For the Point helpers only:
For all helpers:
Tools and Scripts for Autodesk 3dsMax
works like a charm - thank
works like a charm - thank you!
Thanks
unfortunately nothing is happens with the Helper object once I run script
.
Tools and Scripts for Autodesk 3dsMax
.
try this