help with POLY2_A and POLY2_B
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-02-03 08:38 PM
2004-02-03
08:38 PM
PEN 20
SET FILL "Brick Face "
POLY2_B{2} 5, 2, 20, 0,
0', 0', 0',
0', 0'-4.3750", 1,
0'-3.6250", 0'-4.3750", 1,
0'-3.6250", 0'-8.0000", 1,
0', 0'-8.0000", 1,
0', 0'-4.3750", -1
HOTSPOT2 0', 0'-4.3750"
HOTSPOT2 0'-3.6250", 0'-4.3750"
HOTSPOT2 0'-3.6250", 0'-8.0000"
HOTSPOT2 0', 0'-8.0000"
HOTSPOT2 0', 0'-4.3750"
I want to be able to control the pen colors of the fill. I looked up in the gdl cookbook but couldn't understand how to fix the code above that I saved out of archicad.
I'm not sure what the {2} after POLY2_B does to it but when I erase it it doesn't work.
THanks again for any help,
Michele
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-02-03 09:29 PM
2004-02-03
09:29 PM
The {2} is a new form of POLY2_B which allows you to set the origin and angle of the hatch pattern, as in the fill tool itself. It is new in 8. It is what you get when you save a fill from the floor plan.
POLY2_B{2} 5, 2, 20, 0,
0', 0', 0', <-- Fill origin stuff
x, y, s,
...
The old POLY2_B, which you need to control the fill pattern and background pens, goes,
POLY2_B n, frame_fill, fill_pen, fill_background_pen,
x, y, s,
...
Take out the {2} and the "0',0',0'" row.
HTH,
POLY2_B{2} 5, 2, 20, 0,
0', 0', 0', <-- Fill origin stuff
x, y, s,
...
The old POLY2_B, which you need to control the fill pattern and background pens, goes,
POLY2_B n, frame_fill, fill_pen, fill_background_pen,
x, y, s,
...
Take out the {2} and the "0',0',0'" row.
HTH,
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2004-02-03 10:57 PM
2004-02-03
10:57 PM
Jamesm,
I don't think I need to
Thanks for explaining it to me,
Michele
I don't think I need to
Take out the {2} and the "0',0',0'" row.I took it out in one spot but left it as is in all the other places and once I changed the fill_pen it worked just fine everywhere.
Thanks for explaining it to me,
Michele