Jump to content
Sign in to follow this  
Paolo

none class

Recommended Posts

Is there a programatical way to get the "none" class name?

This is useful for plugin localization. In italian "none" become "nessuna" and so on for other languages. Is it possible that this special class (it is always present and you cannot delete it!) has not a VectorScript instruction for retrieving its localized name?

Thank you for your help,

Paolo

Share this post


Link to post

I have found it by myself!

classlist(1) gives the string of the "none" class

Share this post


Link to post

so you probably worked out that classlist(2) will give you the dimension class as well?

Share this post


Link to post

Yes, of course, these are the only two obligatory and undeletable classes, always present in any VW document.

You cannot even change their names, though you can change graphic attributes.

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.

Sign in to follow this  

 

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