Jump to content

List the Callout PIO Layer Scale in a Worksheet Column


Recommended Posts

Does anybody know if there is a way to list the Callout PIO layer scale in a Worksheet Column?

I created a Callout PIO Check List Worksheet with various fields to double check.

I would like to find out what layer scale for each Callout PIO so that I can manage the text margin field value.

There is no layer scale record field value for the Callout PIO as an option, nor any function available to call the layer scale

from the database drop down menu. 

Link to comment

The following worksheet script should get you what you need. It returns the scale of the layer of the object in the subrow of a database section of a worksheet.

 

Procedure GetObjectLScale;

Begin
	WSScript_SetResReal(GetLScale(GetLayer(WSScript_GetObject)));
End;

Run(GetObjectLScale);

 

Copy and paste the above into a new Vectorscript and name it GetObjectLScale.

 

Enter a formula in your database header of =RUNSCRIPT(GetObjectLScale)

 

It will return a number equivalent to the right side of the scale proportion  i.e. 1:50 will return 48.  1/4" scale (1:48) will return 48.

 

See my other recent post on worksheet scripts (GetPIOStyle) for information on how to make this work in different files without having to keep a copy of the script in each file.

Link to comment

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