Message 1 of 4
Code to re-select edge?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I can use
oEdge = oApp.CommandManager.Pick(Inventor.SelectionFilterEnum.kPartEdgeCircularFilter, "Select an edge.") to grab an edge.
From 'oEdge' I can get the occurence of the owning part ( Occurrence = oEdge.Parent.Parent )
I can get the unique identifier from 'oEdge' using oEdge.TransientKey (?) which will then allow me to iterate another occurence of the same part and find the equivalent edge
How do I then select the 'new' edge programmatically but with the same outcome/properties as oApp.CommandManager.Pick (ie I need to get the occurence name from the newly selected edge via Occurrence = oNewEdge.Parent.Parent)
Cheers
MattH
MattH
Product Design Collection 2026
Vault Pro 2026