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.

Glob_Scale

Anonymous
Not applicable
How to keep line types and colour in an 2D object with glob_scale? My problem is that I have two different line types that work well in a simple 2D object but if I use Glob_scale the the symbol adapts to different scales but with the same line type. The same problem with colors.

Screen-Shot-2015-12-01-at-18.42.52.png
1 REPLY 1
Anonymous
Not applicable
The problem with color is solved (feel stupid)

FRAGMENT2
FRAGMENT2 fragment_index, use_current_attributes_flag
The fragment with the given index is inserted into the 2D Full View with the current transformations. use_current_attributes_flag: defines whether or not the current attributes will be used
0: the fragment appears with the color, line type and fill type defined for it.
1: the current settings of the script are used instead of the color, line type and fill type of the fragment.

The problem with line is also solved! Different line types in different layers and 2D script like this:

if GLOB_SCALE<=50 then
fragment2 1,0
line_type ponteado
fragment2 11,0
endif

An entire afternoon digging this