Read/Control 3Dmodel's annotations 'Active Standard' value (Modelling/Document Settings)

Read/Control 3Dmodel's annotations 'Active Standard' value (Modelling/Document Settings)

Maxim-CADman77
Advisor Advisor
481 Views
5 Replies
Message 1 of 6

Read/Control 3Dmodel's annotations 'Active Standard' value (Modelling/Document Settings)

Maxim-CADman77
Advisor
Advisor

I'd like to know whether it possible to control/change (or at least read) value of model's Annotations 'Active Standard' using API?

MaximCADman77_0-1721407512519.png

 

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Accepted solutions (1)
482 Views
5 Replies
Replies (5)
Message 2 of 6

Michael.Navara
Advisor
Advisor
Accepted solution

You can use undocumented read/write string property ActiveAnnotationsStandard

'Read
Dim activeStandard = ThisDoc.Document.ActiveAnnotationsStandard
Logger.Debug(activeStandard)

'Write
ThisDoc.Document.ActiveAnnotationsStandard = "ASME"

 

Message 3 of 6

Maxim-CADman77
Advisor
Advisor

But how do you know there is an undocumented property ActiveAnnotationsStandard ?

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 4 of 6

Michael.Navara
Advisor
Advisor
0 Likes
Message 5 of 6

Maxim-CADman77
Advisor
Advisor

My fail - as not a VBA-man I constantly forget about this valuable source of undocumented info.
Have found your relevant post.
Double thanks!

Please vote for Inventor-Idea Text Search within Option Names

0 Likes
Message 6 of 6

WCrihfield
Mentor
Mentor

Just dropping the cross-reference link in here to another older forum topic which came to the same results as this one.

https://forums.autodesk.com/t5/inventor-programming-ilogic/how-to-set-activeannotationsstandard/m-p/... 

Wesley Crihfield

EESignature

(Not an Autodesk Employee)

0 Likes