Modeling
About Archicad's design tools, element connections, modeling concepts, etc.

2D rep in plan cs S/E

Anonymous
Not applicable
hmm...I'd like the windows to look one way in plan, without any casing, and with a sill on the ext. only...BUT in S/E, I'd sure like to have the casing visible. Any clever thoughts on how to do this, simply and easily?
thanks!
7 REPLIES 7
__archiben
Booster
Zobi wrote:
hmm...I'd like the windows to look one way in plan, without any casing, and with a sill on the ext. only...BUT in S/E, I'd sure like to have the casing visible. Any clever thoughts on how to do this, simply and easily?
in the 'options' settings you can control the 2D/3D level of detail manually or automatically (scale sensitive).

if what you're asking is to be able to pick and choose which components should be displayed in detail and which left simple then i'm afraid you can only achieve that by hacking the GDL in the objects themselves. i haven't investigated it, but this may prove easier than you might expect - print out the code (remember both the 2D and 3D scripts!) and analyse which blocks of code do what . . . then just cut and paste the relevant code blocks around. always work on a copy!

HTH
~/archiben
2DrepOpts.jpg
b e n f r o s t
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup! | coffeecup
Anonymous
Not applicable
Couldn't you make the casings very thin so they are buried in
the line thickness of the wall contour pen , especially if printed in black and white. They would still be visible in Section/Elevation
Peter Devlin
__archiben
Booster
ok - quick look and it may be even easier than i thought . . .

because all of the window components are macros, each macro call issues the settings to that macro including the level of detail. first you need to establish the level of detail value you need for each component relative to the overall LOD value. this can be worked out from the IF, BUTS and MAYBE'S at the beginning of the 2D script:
lod2D = 0										! Don't draw anything

if gs_detlevel_2D = stDetail[3] then lod2D = 2		! Simple
if gs_detlevel_2D = stDetail[2] then lod2D = 4		! Detailed

if gs_detlevel_2D = stDetail[1] then				! Scale sensitive
	lod2D	= 4

	if GLOB_SCALE > 50 then lod2D = 3		!! HUN !!
	if GLOB_SCALE > 100 then lod2D = 1
endif

if lod2D = 0 then end
then you need to adjust that LOD value up or down for each macro call, depending on whether you want more or less detail for that component relative to the overall LOD. so find the component you're interested in:
! ===== Draw Trim and Sill =====
if not(bFeedBack) then
call "WindowSillTrim" parameters A = AA,
< list of parameter settings follows >
and find this line in the 'parameters' command:
! --- 2D Representation
		lod2D = lod2D,
and change it to something like this:
! --- 2D Representation
		lod2D = lod2D + 1, ! this increases LOD by 1
change the LOD values at each point in the script that you want a different level of detail from the overall LOD.

HTH
~/archiben
b e n f r o s t
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup! | coffeecup
Anonymous
Not applicable
wo.
I need a bit to catch up! thanks!
I will let you know what I manage to do...
__archiben
Booster
back again . . . and i should probably have taken some time to catch up myself.

having re-read everything i've just noticed that you specifically want the trim and sill to display in different levels of detail . . . but they're actually both called from the same macro.

so: having opened up the 'WindowSillTrim.gsm' macro i found that a similar process is repeated within that macro: the 'WindowSillTrim' macro calls another macro for trims (casing) specifically. you can repeat the process above within this macro.

bear in mind that if you're altering macro scripts and saving them as separate files you will need to change the name of the macro call in the parent object . . .

i know this sounds a little complicated, but if you take a hour or so out to think it through you might surprise yourself: it really is quite a simple logic and you don't need to understand much GDL (i certainly don't!) beyond simple control statements . . .

HTH
~/archiben
b e n f r o s t
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup! | coffeecup
Anonymous
Not applicable
Door and Window Builder (available from CadImage) has options for displaying these types of items. In the example below the settings shown are for the window on the left, the one on the right has trims turned on. They both display the same in elevation. Very versatile!.
__archiben
Booster
the following screenshot shows a standard GS window whose 2D level of detail is set to 'Detailed': the 2D window displays the sill and/or board yet not the trims/casing. 3D window shows everything.

step-by-step:

1. select window on plan
2. ALT + Ctrl + O to open the library part.
3. select '2D Script'
4. scroll down to the 'WindowSillTrim' macro call
5. change the line "lod2d = lod2d" to "lod2d = lod2d - 1"
6. File>Save As... and save the file to a library of your choice with a different name
7. close
8. back in plan: select window, open window settings, navigate to your newly saved window, hold down Ctrl + ALT and inject-click your new window.

or:
1. invest in 'door and window builder' as stuart says . . .

good luck . . .
~/archiben
GSwinLOD.jpg
b e n f r o s t
b f [a t ] p l a n b a r c h i t e c t u r e [d o t] n z
archicad | sketchup! | coffeecup