cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
GDL
About building parametric objects with GDL.
SOLVED!

Archicad Door Casing GDL

Joze Marinko
Contributor

Hey, I want to rewrite Archicad Doors to show Casing in Schedules. I belive that glob_view_type must control this option. Have you any idea in which Door macro is this option?

If this is wrong aproach - how to do?

1 ACCEPTED SOLUTION

Accepted Solutions
Solution

In my very quick investigation, the casing seems to be modelled in a macro called "WallholeFraming" - line 876 is where it seems to be modelled.

 

That macro is called from another macro called "GS Door Functions".

At line 195 it CALLs the "WallholeFraming" framing macro.

But just before that I notice there is a line ... if (lod3D <> LOD3D_OFF) then ...

Is this LOD controlled in the Model View Options?

I am assuming it is (I do not use these Graphisoft doors so I have never investigated this).

 

At line 101 ... if (lod3D = LOD3D_DRAFT) then ....

It seems to turn the casing off?

 

I am sorry but I don't have time at the moment to investigate where the value of LOD3D_DRAFT is set.

Maybe it is that that is turning it of if the door is in a schedule view.

I am guessing that somewhere before this (maybe in a previous macro), lod3D is being set to the same value as LOD3D_DRAFT if it is a schedule view, so that the casing is not showing.

But just a guess, who knows with these GS objects.

 

The full path of macros is ...

Door 27

gs_general_lt_door_macro

GS Door Functions

WallholeFraming

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

View solution in original post

4 REPLIES 4
Barry Kelly
Moderator

That is the correct approach, just not very practical.

Every time the library is updated, you will have to re-edit the scripts.

Plus you will need to unpack the library pack (version 28 only) then expand the LCF file, edit the objects/macros, re-create the LCF and also the library pack (28).

Then ensure you distribute these amended objects (libraries) to all users in your office or those that will work on your files.

 

And as you have discovered, good luck following the macros.

 

Graphisoft should build a simple boolean option (on/off) in their objects to include this type of thing in the schedules or not.

 

Barry.

 

 

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Thanks Barry, but I already know what are you talking about. I am just asking if there is somebody (maybe from Graphisoft) who knows something about this door macro mess.

Solution

In my very quick investigation, the casing seems to be modelled in a macro called "WallholeFraming" - line 876 is where it seems to be modelled.

 

That macro is called from another macro called "GS Door Functions".

At line 195 it CALLs the "WallholeFraming" framing macro.

But just before that I notice there is a line ... if (lod3D <> LOD3D_OFF) then ...

Is this LOD controlled in the Model View Options?

I am assuming it is (I do not use these Graphisoft doors so I have never investigated this).

 

At line 101 ... if (lod3D = LOD3D_DRAFT) then ....

It seems to turn the casing off?

 

I am sorry but I don't have time at the moment to investigate where the value of LOD3D_DRAFT is set.

Maybe it is that that is turning it of if the door is in a schedule view.

I am guessing that somewhere before this (maybe in a previous macro), lod3D is being set to the same value as LOD3D_DRAFT if it is a schedule view, so that the casing is not showing.

But just a guess, who knows with these GS objects.

 

The full path of macros is ...

Door 27

gs_general_lt_door_macro

GS Door Functions

WallholeFraming

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Thanks Barry for pointing me to the right macro. I allready take a look to this macro but somehow miss right variable. Just for jour information: there is a boolean option - just adding a line in 

call "WallholeFraming" parameters
...,
bShowCasingOnLists = 1
and with a little exercizeing you can do this in MVO.
Thanks again.