Message 1 of 1
Pass a Planar sketch from model in drawing view to AddSectionView method vb.net
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
Using the API, I'm trying to create a section view of an assembly, using a planar sketch within a component occurrence as the section sketch. My issue is getting hold of the correct sketch object to pass to the AddSectionView method.
I've Noted that:
AddSectionView method takes a DrawingSketch object.
The model sketches don't exist as DrawingSketches in the drawing view.
How would I begin to get the correct object here?
I figured as Inventor offers this workflow when creating a section view manually, so long as the model sketch is visible in the drawing view, that it would be possible to do via API. Is it actually possible?
Appreciate any pointers
Regards