2024-10-23 08:12 AM
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?
Solved! Go to Solution.
2024-10-25 03:25 AM - edited 2024-10-25 03:27 AM
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.
2024-10-23 08:44 AM
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.
2024-10-24 12:00 PM
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.
2024-10-25 03:25 AM - edited 2024-10-25 03:27 AM
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.
2024-10-25 07:48 AM
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
a month ago
Hi,
@Barry Kelly you were close, it is bShowCasingOnLists parameter in WallholeFraming.