ScriptSpot

Forum topic · General Scripting

select all subobjects

By jsrocha · 2011-03-16

Description

Hy guys,
is there a way to select all the sub-objects of a geometry? i´m trying to make a script that selects all the egdes and apply a chamfer to them, but when i use the "select all" command the listener shows the selecetd edges numbers (something like this - "$.EditablePoly.SetSelection #Edge #{1..12}"). What i´m doing is to use a high number, so in the most of the times all the edges are selected, but i was wondering if there´s a way to do it selecting all the edges precisely.
Thanks in advance,

Jsrocha

Comments (2)

Swordslayer · 2011-03-16

Do you mind using polyop.setEdgeSelection $ #all ?

jsrocha · 2011-03-16

thanks man, that´s exactly what i need!!
cheers,

Jsrocha