Select Face Array
Hi,
I need a help in faces...
I'm trying to collect some faces, some faces have an array but I can not load the array in setSelection ...
Thanks in advanced
prov = $.selectedFaces as integer -- Unable to convert: #faces(181, 234, 347 : $Editable_Poly:Plane003 @ [32.705963,272.583252,0.000000]) to type: Integer prov #faces(181, 234, 347 : $Editable_Poly:Plane003 @ [32.705963,272.583252,0.000000]) $.EditablePoly.SetSelection #Face #{prov} -- Unable to convert: #faces(181, 234, 347 : $Editable_Poly:Plane003 @ [32.705963,272.583252,0.000000]) to type: Integer
Comments
Hi, did you try to cast it to
Hi, did you try to cast it to bitarray? Like this:
prov = $.selectedFaces as bitarray $.EditablePoly.SetSelection #Face prov -- or $.selectedFaces = prov
Some of my scripts and MCGs :: 3ds Max SDK Intro for Scripters