09-06-2018
08:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
09-06-2018
08:37 AM
This has been a very good teaching tool for me. I'm having a particular issue where Inventor will crash when running this method, if a non-planar face is selected. If, say, a cylindrical face is selected
oAnnoPlaneDef = oDoc.ModelAnnotations.CreateAnnotationPlaneDefinitionUsingPlane(oFace)
Fails
and Inventor crashes.
I have tried instead using kAllPlanarEntities instead, but that similarly failed.
What would be the best route to constrain the user to selecting only valid planar faces, or being able to handle a nonplanar face selection?
Thanks in advance.
IMPORTANT EDIT
I'm working in an assembly environment, rather than part. Trying to add ModelLeaderNotes