Jump to content

Vectorsript Edit Plugin Help Please


Recommended Posts

I'm working with a 3rd party plugin (Interior elevation marker) that I found (since Vectorworks doesn't have its own.) I've found the script editor and have been playing around trying to get the thing to have a solid white background fill but cannot figure out the combination

PushAttrs;

{Set attributes}

PenColorByClass;

PenSize(10);

PenPat(2);

FillPat(0);

FillFore(0,0,0);

FillBack(0,0,0);

In this instance the plugin has NO background fill, but if I change FillPat to anything BUT 0 I get close with a black background fill, but only behind the text, not the entire rectangle, and black is no good I need white.... can anyone tell me how to get a white fill background here?

Link to comment
  • Vectorworks, Inc Employee

You may want to take this conversation over the the Vectorscript forum, you will get more detailed help there.

However, (0,0,0) is Black. White would be (65535,65535,65535)

There may be more wrong that that's a start.

Link to comment

For a white backfill, it should be the following:

FillPat(1); {0 value = no fill; 1 = back color; 2 = front color}

FillBack(65535,65535,65535); {The back color = white}

These calls would be the same as if you had selected "solid" and the color "white" in the attributes palette. Any object created after these calls will have the white backfill.

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