Jump to content
Developer Wiki and Function Reference Links ×

setting active class


Recommended Posts

What is the vectorscript function to change the active class? I have written a script to make several parts and would like them to take on the class attributes. when I move them to with SetClass(H2, 'LAMINATE' ); for example, They move to the correct class but do not take on the pen colors. 

Link to comment

You probably also need to use the ByClass functions to set the object to use the Class attributes:

 

LSByClass - Line Style

LWByClass - Line Weight

FillColorByClass

FPatByClass - Fill Pattern

OpacityByClass

MarkerByClass

PenColorByClass

 

Or if you have already created the object there are Set functions (SetLSByClass, etc) that you can use to change an existing object to use the Class attributes.

 

Search for ByClass in the Function Reference to see all the options.

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