Method to use "Select As Edges" from Sketches/Surfaces in drawings

Method to use "Select As Edges" from Sketches/Surfaces in drawings

sergio_duran
Advocate Advocate
409 Views
1 Reply
Message 1 of 2

Method to use "Select As Edges" from Sketches/Surfaces in drawings

sergio_duran
Advocate
Advocate

Hi Everyone,

 

Do you know whether it's possible to use the option "Select As Edges" when you right click on a Part Sketch or Surface in a drawing (see attached images - Right Click menus) using API?

 

Thanks!

0 Likes
410 Views
1 Reply
Reply (1)
Message 2 of 2

bshbsh
Collaborator
Collaborator

I'm not sure if and how it works, but there's an internal command for that: SelectAsEdgesCtxCmd. I guess the node has to be selected first, but never tried.

 

ThisApplication.CommandManager.ControlDefinitions.Item("SelectAsEdgesCtxCmd").Execute

0 Likes