Message 1 of 3
JustSelectedEntities Is A Part Occurrance

Not applicable
05-13-2009
09:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm having a difficult time getting from the selection process to the SaveAs function. I'm using a selection filter "kAssemblyOccurrenceFilter" which allow me to select a part, but I keep getting an invalid cast exception when I try to use my selected part as the original document for my SaveAs.
Private m_Part As Inventor.ComponentOccurrence
m_Part = JustSelectedEntities.Item(0)
Here's where I'm stuck. How do I get my selected object to a SaveAs statement?
Thanks,
Jon
Private m_Part As Inventor.ComponentOccurrence
m_Part = JustSelectedEntities.Item(0)
Here's where I'm stuck. How do I get my selected object to a SaveAs statement?
Thanks,
Jon