Message 1 of 8
Changing ViewAnnotation Style
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I am struggling with changing the ViewAnnotation Style. I can successfully locate and access the desired style but I couldn't find an approach to apply it to my drawing view (oView2).
I saw a few posts from 2018/2019 saying ViewAnnotationStyle is not exposed in Inventor API.
Does anyone know if changing ViewAnnotationStyle is supported in Inventor now? If so, how can I set it?
Thank you so much for the help!
Dim oView2 As DrawingView
oView2 = oSheet.DrawingViews.AddSectionView(oView1, oSectionSketch, oPoint2, kFromBaseDrawingViewStyle, oView1.Scale, True, "A")
Dim annotationStyle As Inventor.Style
annotationStyle = oStylesMgr.Styles.Item("Custom View Annotation (ISO)")
MsgBox(annotationStyle.Type.ToString) ---- this prints out Style Object