Annotation Scale of View Rep in Part File

Annotation Scale of View Rep in Part File

Anonymous
Not applicable
765 Views
6 Replies
Message 1 of 7

Annotation Scale of View Rep in Part File

Anonymous
Not applicable

Is there a way to get / set the annotation scale of a view representation in a part file using VB.Net and IV 2020?

0 Likes
Accepted solutions (2)
766 Views
6 Replies
Replies (6)
Message 2 of 7

YuhanZhang
Autodesk
Autodesk

Can you explain how you do it from the UI function?



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 3 of 7

Anonymous
Not applicable

There is a pull down available for views other than the locked Master. It is accessed via the ribbon or right click menu of the view. DesignViewAnnoScale4Cmd is what the event watcher program flags (there are 12 iterations of the same command according to the IV2018 command list).

 

I was hoping to get/set the scale via the ComponentDefinition.RepresentationsManager.DesignViewRepresentation namespace, but I don't see the relevant method or property.

 

Annotation Scale in UI.png

0 Likes
Message 4 of 7

YuhanZhang
Autodesk
Autodesk
Accepted solution

No API for this yet, please log to Idea Station for this requirement.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 5 of 7

Anonymous
Not applicable

Will do. Thank you kindly for your time.

0 Likes
Message 6 of 7

YuhanZhang
Autodesk
Autodesk

I logged a story for this wish: INVGEN-30643, you can provide this number to query its status.



If this solves the problem please click ACCEPT SOLUTION so other people can find it easily.



Rocky Zhang
Inventor API PD
Manufacturing Solutions
Autodesk, Inc.

0 Likes
Message 7 of 7

Anonymous
Not applicable
Accepted solution

I found what I was originally looking for. The annotation scale can be get/set via:

...DesignViewRepresentations.Item("ViewName").ModelAnnotationScale

0 Likes