Jump to content
Developer Wiki and Function Reference Links ×

Changing class pen style and weight


Recommended Posts

I have a script in floor plan for a wall framing plan view that changes a class' pen style to dashed, the weight to lighter, and the color to blue.

SetClLS('Walls',-1);

SetClLW('Walls',7);

SetClPenFore('Walls',4)

When I go back to the floor plan view, the class' pen style goes back to solid, the weight goes back to heavier, and the color returns to black.

SetClLS('Walls',0);

SetClLW('Walls',20);

SetClPenFore('Walls',255)

However, the class setting for pen style permanently changes to 'None', and if I re-set this to 'Solid', the pen weight changes to .10.

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