FLAPJACK Posted February 2, 2012 Share Posted February 2, 2012 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? Quote Link to comment
Vectorworks, Inc Employee klinzey Posted February 2, 2012 Vectorworks, Inc Employee Share Posted February 2, 2012 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. Quote Link to comment
FLAPJACK Posted February 2, 2012 Author Share Posted February 2, 2012 Thank you! Quote Link to comment
Miguel Barrera Posted February 3, 2012 Share Posted February 3, 2012 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. Quote Link to comment
Recommended Posts
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.