Jump to content
michaelk

Font pulldown in OIP?

Recommended Posts

I'm not seeing an obvious way to get a Font pulldown in an OIP for users to select fonts of text inside the parametric object.

 

I've been getting around it by using text styles by class.

 

What do all the cool kids do?

Share this post


Link to post

There’s no easy way — you have to iterate through the font list and fill the menu during the widget prep event. 
 

If the entire object has the same font, you have a couple of easier options — you can set the object to store text settings set via the text menu (as opposed to just using whatever active settings are), and you can enable the text style menu in the OIP for the object. 
 

If you want to have different elements have different fonts, I would actually add an additional text style pull-down menu, though like a font pull-down, you have to manually populate it. 

Share this post


Link to post

You can use the vectorworks text menu to set the text of a pio by adding this command in the reset procedure.

 

 SetObjectVariableBoolean(pioHdl,800,TRUE);
 

Share this post


Link to post

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.


 

7150 Riverwood Drive, Columbia, Maryland 21046, USA   |   Contact Us:   410-290-5114

 

© 2018 Vectorworks, Inc. All Rights Reserved. Vectorworks, Inc. is part of the Nemetschek Group.

×
×
  • Create New...