05-11-2016
08:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
05-11-2016
08:18 AM
Code to re-select edge?
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 2025
Vault Pro 2025