Message 1 of 7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
In Inventor 2018 build 171
using vba (for now)
I can run this to change a view called "XY Section" in a PART file from a section to a non-section view:
ThisDocument.ComponentDefinition.RepresentationsManager.DesignViewRepresentations("XY Section").SetSectionView kNoSectionViewType
but I cannot do anything to make a view a half section as per something like ..
ThisDocument.ComponentDefinition.RepresentationsManager.DesignViewRepresentations("XY Section").SetSectionView kHalfSectionViewType,ThisDocument.ComponentDefinition.WorkPlanes(2)
looking at the API help I suspect the designviewrepresentations only (perhaps fully) applies to assemblies... so perhaps I'm using the wrong bit of the API..
Any advice gratefully received.
Thanks
Mike
Solved! Go to Solution.