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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Swordslayer's picture

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

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.