cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

2D Library Parts - fragments

Not applicable
I've started using 2d library parts to supplement our 3d model. I've found it very useful when we model the main parts, we can show a representation of further information in 2D without unecessary modelling.

I've created a 2D library parts using the 16 fragments. I've connected each one in the 2d script to the parameter script as a type. I've used it for 1:50 sections, with each fragment being a facade type floor to floor. After applying the object, i'm able to update information better etc. It works perfectly.

My big problem is that when i paste the library part, I lose all the linetype and pen weight infomation that exists within each fragment!

Has anybody had the same issue? Can anyone help?

undefined
1 REPLY 1
Frank Beister
Moderator
Hello Andrew,

you use fragment2 index,flag.

The flag has two possible values:

1: All lines, fills etc. get the settings your script has made until the fragment2 statement occures. This means: If you write

pen 7 : fragment2 5,1

All elements on layer 5 are drawn with pen 7.

0: All lines and fills will be displayed like you have pasted them into the 2D-Symbol window. But the attributes (line weight/fill type) are not stored in the object. Only the reference number of the fill or the pen will be 'remembered'. If you change to another plan, where the choosen fill has another look, or the pen 7 has another weight/colour, the object changes its 'style'.

You have two possibilities:
First: Create/Modify your object out if the plan you want to place it in. Attention. This will change all occurances of this objects in all projects THIS object is used.
Second: Add some fill/pen-Parameters to your object and use the fragment2 with flag 1. (If you need now more than 16 layers, try to work with macro-objects. I have not tested it, but it should work.)
bim author since 1994 | bim manager since 2018 | author of selfGDL.de | openGDL | skewed archicad user hall of fame | author of bim-all-doors.gsm