Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In VB.net , it is easy to get the ObjectTypeEnum of an selected object by oObject.Type, but in C#, only the oObject.GetType() method I can use and it returns the "System.__ComObject", how can I get more specific type like "Face"、"Edge" with ObjectTypeEnum like it does in VB.net? In the "Watch" window of vs studio, I can see the "Type" property in "dynamic view", how can I get it? I have read some posts but haven't got an solution:
https://forums.autodesk.com/t5/inventor-customization/selected-object-type/m-p/2727059#M32743
https://forums.autodesk.com/t5/inventor-customization/select-set-problem/m-p/9393219
Solved! Go to Solution.