Jump to content
Sign in to follow this  
Alexandre Villares

Set Attribute Defaults

Recommended Posts


Is it possible to Set Attribute Defaults with VS?

I would like to make a script that sets the 5 Preferred Line Thicknesses, but I'm afraid it's some sort of application preference I can't reach by means of VS.

Wish: Why don't templates keep the preferred line thicknesses?

Share this post

Link to post

Procedure PenSize sets the active line weight for the document. You are right in that you cannot currently set the line thickness slots in the Attributes palette.

Why not create your own customized line thickness palette with a document palette and a series of vectorscript commands? Might even incorporate other attributes such as line color and dash style into each command, to save a lot of clicking in the Attrs palette.

This custom Attrs document palette could then be saved in your template.


[ 07-11-2002: Message edited by: fbrault ]

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.

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