.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Annotation scale

5 REPLIES 5
Reply
Message 1 of 6
Ertqwa
563 Views, 5 Replies

Annotation scale

Hello,

 

If I have an annotative object, with multiple annotative scales, but not the current one, AutoCAD will display it picking one of its annotative scales.

How do I find out which annotative scale AutoCAD is using to display an annotative object that has not the current annotation scale?

 

Thank you.

5 REPLIES 5
Message 2 of 6
augusto.goncalves
in reply to: Ertqwa

Message 3 of 6
Ertqwa
in reply to: augusto.goncalves

Hi,

 

That post doesn't answer my question, it shows how to get the current  annotation scale in modelspace.

 

Thank you for the reply.

Message 4 of 6
Balaji_Ram
in reply to: Ertqwa

Hi,

 

There is no direct API to get the annotation scale that the entity is using.

 

As a workaround, you can try digging a little deep into the extension dictionary and getting it by looking for a DXF code 300. Using ArxDbg snoop tool, you can locate it.

 

I have shared a C++ code that does this which might be of some help to investigate this further.

 

I am having issues in uploading the zip file to this forum post. So I have shared it using dropbox :

https://www.dropbox.com/s/p8kjcm4l19r7iux/SampleCode.zip

 

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Message 5 of 6
Ertqwa
in reply to: Balaji_Ram

Oh that is too bad. But good to know.

 

I'll look into your suggestion. The link did not work for me.

 

Thank you for the reply.

Message 6 of 6
Balaji_Ram
in reply to: Ertqwa

Sorry, I might have removed it while clearing files from my dropbox folder.

 

Here is the link :

https://www.dropbox.com/s/8eodlfejmdzukvq/EntityAnnoScale.zip

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost