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.
Hi guys,
is there a way to remove an object (or objects) from a named selection set using maxscript? i mean, remove from any named selection set, not an especific one.
Thanks in advance,
(
objToRemoveArr = #($Sphere007, $Sphere008, $Sphere009)
objsBA = #{}for o in objToRemoveArr do append objsBA (getHandleByAnim o)for i = 1 to selectionSets.count where (objsCnt = (getNamedSelSetItemCount i))!= 0 do(
selectionSets[(getNamedSelSetName i)] = (for n = 1 to objsCnt where not objsBA[getHandleByAnim (obj = getNamedSelSetItem i n)] collect obj )))
Comments
...
Tools and Scripts for Autodesk 3dsMax
Thanks Miauu!!
Thanks Miauu!!