Jump to content

Determining actual plot scale in VBA


keekooceeaou

Recommended Posts

Hello,

 

I'm writing a program in VBA for batch plotting of drawings.

I set

.StandardScale=acScaleToFit

I need to determine, what is the real plot scale value (e.g. 1:1, 1:2, 1:1.625) to check if paper format was correctly chosen.

I know this value is shown in plot window. I tried to obtain it using "sendcommand" and "sendkeys" functions (to copy this value to clipboard) but this method is very unreliable (as is every one using those functions).

 

Is it possible to somehow get this variable?

 

Thanks in advance for any help,

Paul

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...