ScriptSpot

Forum topic · General Scripting

select border / element

By Matyrix · 2010-02-08

Description

Hello All,

I have got a very simple question: How can i select border(s) or element(s) on an Editable Poly converted object? When i select faces, i use this command: "polyop.SetfaceSelection $ #(1..10,20..25,etc.)".

But there is no option to select elements, only one way, when i say the selected polygons that "be selected elements": "$.EditablePoly.ConvertSelection #Face #Element". But on this way i can't count how many elements (or borders, when i convert the edge selection to border) are in my object etc.

Thanks your tips/answers.

Matyrix

Comments (1)

kilad · 2010-02-09

check out Editable_Poly Methods in the reference.

border: polyop.getOpenEdges
elements: i.e polyop.getelementsusingface $ #{1..12}

:)