We value your input!
Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey

Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

Pen and Linetype Settings in 2D Script

Anonymous
Not applicable
I'm trying to create a simple 2D library part which consists of a variety of pen colors and line types with my basic goal being to use the FRAGMENT2 command to call up various options associated with the object from the 2D Symbol window. Is there a command I can insert into my 2D script to instruct it to utilize the same pen colors and line types used in my 2D Symbol window without having to define each of them in the 2D script?

I'm using AC 9.0
3 REPLIES 3
TomWaltz
Participant
Is this part of a larger script or are you only trying to place the content of the 2D Symbol?
Tom Waltz
Anonymous
Not applicable
Is there a command I can insert into my 2D script to instruct it to utilize the same pen colors and line types used in my 2D Symbol window?
The second parameter of the Fragment2 tells it whether to use the pens (etc.) as drawn in the fragment (value = 0) or those defined in the script (value = 1). In the latter case the entire fragment will be drawn with the script's (single) current pen.
Anonymous
Not applicable
That's the info. I'm looking for! Thank you both for your input. It's very helpful.