How do I add an object to the pick list of a Projection modifyer?
I'm trying to add specific objects of my scene to the Reference Geometry List of a Projection modifyer.
I found out that it might has something to do with
AddPModObjects <array>node_list <boolean>createNew <boolean>deleteAll [objList :<array>]
(found that snipet @ http://docs.autodesk.com/3DSMAX/16/ENU/MAXScript-Help/index.html?url=fil... )
To be honest I just don't know how to use this snipet.
here is where it should somehow be integreated:
if (chkProjection.checked) and (chk32.checked) do ( Plane length:320.0 width:320.0 pos:[0,0,0] isSelected:on modPanel.addModToSelection (Projection ()) ui:on $.name = "Projection_detail" newmat = StandardMaterial() newmat.name = ("default_X_Projection_detail") newmat.Diffuse = color 255 255 255 newmat.ambient = color 255 255 255 select $Projection_detail selection.material = newmat )
this just runs as 2 checkboxes are ticked so the "to be picked object" is generated before.
Hope someone can help me on that!