Jump to content
Developer Wiki and Function Reference Links ×

Can't get text size?


VvierA

Recommended Posts

Hello,

another little problem.

I try to make a custom PIO that displays the y coordinate of the PIO as some kind of custom made level tool.

I'd like the text size to be set by the standard setting in the standard 'Text' menue of Vectorworks.

So I tried to retrieve the setting with:

textsizeR := GetPrefReal(57);

But it fails: no matter what text size is selected it shows 48401.111 if I use message(textsizeR);

VvierA

P.S

Even better I would like the text to behave like a dimension text. Showing the unit mark and the number of decimals according to the settings in the general units menue of Vectorworks. Is this possible?

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