Jump to content

Change annotation scale in model space


T Ball

Recommended Posts

Hello: I am attempting to write VB code that will take user input-'Scale' and update a base drawing so that the annotation scale matches that of the user input. Can someone point me in the right direction on how to do this programmatically? Thanks in advance.

Link to comment
Share on other sites

I've found it...to all who are also curious, the answer is simple but I overlooked it.

 

ThisDrawing.SetVariable "cannoscale", "1:" & user defined scale

 

The user definde scale in my case was a scale value entered into a textbox.

Link to comment
Share on other sites

I've found it...to all who are also curious, the answer is simple but I overlooked it.

 

ThisDrawing.SetVariable "cannoscale", "1:" & user defined scale

 

The user definde scale in my case was a scale value entered into a textbox.

 

Thanks for the posting your solution

Regards,

 

~'J'~

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...