Select edge line of selected face using mouse command

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hi all,

 

I need to select edge line from a selected face.

 

I manage to select the face and add it to the select set usiong the code from MouseEvents example.

Now I need to allow the user to select one of the edge line of this face.

 

I can't filter selection only on the face edges.

 

Can you help me on this subject ?

 

Romuald


Romuald BERTIN
3 REPLIES

Re: Select edge line of selected face using mouse command

Valued Contributor
Valued Contributor

Not the solution, but a push in the right direction

The lines of the selected face can be found here:

 

(assuming you have 1 face selected)

 

Application

ActiveSelectionSet

Item(1)

Object

Partdocument

ProfileSets

Item(1)

Profiles

Item(1)

Lines2d

Item(index)

 

___________________________
The truth is .... I am Dutch
VB.NET - C# - VS Ex 2015 - ST9

Re: Select edge line of selected face using mouse command

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

If I understand your question correctly, SolidEdgeConstants.seLocateFilterConstants.seLocateEdge is what you want.

Jason Newell
Applications Architect
www.jasonnewell.net

Re: Select edge line of selected face using mouse command

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Thanks both of you for this answers.

 

I am currently using SolidEdgeConstants.seLocateFilterConstants.seLocateEdge to select an edge but I don't know how to limit the selection to edges of the previously selected face.

 

Romuald


Romuald BERTIN