2023-04-02 09:29 AM
2023-04-06 02:35 AM - edited 2023-04-06 02:41 AM
OK, so, Archicad elements can be divided into two categories:
- Element types that are not created by GDL scripting. These include Walls, Slabs, Columns, Beams, Morphs, etc.
- Element types that are created by GDL scripting. These include Doors, Windows, Objects, Skylights, etc. You can identify these element types by going into their Settings Dialog where you will always have to select a library part from the list on the left.
In case of element types that are not based on GDL, my first paragraph applies:
"Unfortunately, I cannot think of any way to achieve this with the Beam tool as the Structure Display setting (Entire Element, Core Only, etc.) is not available in Schedules so Archicad always displays the whole element in Schedules."
In case of element types that are created using GDL, my second paragraph applies:
"I think the only element types that can respond to Structure Display settings in Schedules are GDL-based element types, like Doors, Windows, Objects, etc., IF they are scripted that way. I think GDL provides commands to achieve that (although I have never tried it myself)."
If I remember correctly, you know Revit. So, I could liken these two categories to System Families and regular Families in Revit.
In Revit, a Wall is a System Family, it has certain capabilities the tool offers, you cannot modify that. In Archicad, its equivalent is a non-GDL-based element type.
In Revit, a Door is a regular Family, you can create its geometry and parameters and it is up to you what kind of capabilities your create into it. In Archicad, its equivalent is a GDL-based element type because in GDL, you can script geometry and behavior based on parameters.
I hope this explanation makes sense.
So, a Beam is not based on GDL. In the case of these element types, Structure Display is not taken into consideration in Schedules, so the Schedule cannot display a Beam section preview differently depending on the Structure Display setting. Therefore, it will always display the whole Beam, both its structure and its veneer (the insulation).
In the case of GDL-based element types this is different.
In the GDL Reference Guide, there is a variable called GLOB_VIEW_TYPE.
It will be set to a number between 2 and 9 depending on where the GDL script is executed.
Here are the possible results:
2 - 2D (Floor Plan)
3 - 3D
4 - Section
5 - Elevation
6 - 3D Document
7 - Detail
8 - Layout
9 - Calculation
So, in a Schedule, this GLOB_VIEW_TYPE will have the value of 9 (hopefully, I have never tried it).
This means that if you use GDL to create a Beam for which you generate both a Beam structure and a Beam veneer using GDL scripting, then in the 3D Script of that GDL library part, you could theoretically check the value of the GLOB_VIEW_TYPE variable, and if it is "9" then you would write your script in a way to not generate the Beam veneer, only the Beam structure.
But, as I said, I have never tried this so I don't know if it works. Maybe someone has tried this and can chime in.
2023-04-04 07:54 PM
It is possible to do.
Use the "Structure Type" criterion to filter only Beams with Complex Profiles.
2023-04-05 02:56 AM
I am short in English. ^^
I made a beam with insulation.
By the way, the beam list should not have any insulation.
There should be only Bo. Is it possible?
2023-04-05 11:11 AM
Ah, you mean that you have modeled Complex Profiled Beams that include structure and insulation, but when you generate a schedule, you want to see only the structure in the section preview and hide the insulation?
Is this what you would like to achieve?
2023-04-05 11:13 AM
yes ^^
It's what I want.
2023-04-05 01:33 PM - edited 2023-04-05 01:42 PM
Unfortunately, I cannot think of any way to achieve this with the Beam tool as the Structure Display setting (Entire Element, Core Only, etc.) is not available in Schedules so Archicad always displays the whole element in Schedules.
I think the only element types that can respond to Structure Display settings in Schedules are GDL-based element types, like Doors, Windows, Objects, etc., IF they are scripted that way. I think GDL provides commands to achieve that (although I have never tried it myself).
2023-04-05 02:07 PM
It's hard for me to understand what you're saying.
You're talking about making a composite profile beam and reading it in a schedule, but you're suddenly talking about GDL, so I don't know what to study and how to do it.
2023-04-06 02:35 AM - edited 2023-04-06 02:41 AM
OK, so, Archicad elements can be divided into two categories:
- Element types that are not created by GDL scripting. These include Walls, Slabs, Columns, Beams, Morphs, etc.
- Element types that are created by GDL scripting. These include Doors, Windows, Objects, Skylights, etc. You can identify these element types by going into their Settings Dialog where you will always have to select a library part from the list on the left.
In case of element types that are not based on GDL, my first paragraph applies:
"Unfortunately, I cannot think of any way to achieve this with the Beam tool as the Structure Display setting (Entire Element, Core Only, etc.) is not available in Schedules so Archicad always displays the whole element in Schedules."
In case of element types that are created using GDL, my second paragraph applies:
"I think the only element types that can respond to Structure Display settings in Schedules are GDL-based element types, like Doors, Windows, Objects, etc., IF they are scripted that way. I think GDL provides commands to achieve that (although I have never tried it myself)."
If I remember correctly, you know Revit. So, I could liken these two categories to System Families and regular Families in Revit.
In Revit, a Wall is a System Family, it has certain capabilities the tool offers, you cannot modify that. In Archicad, its equivalent is a non-GDL-based element type.
In Revit, a Door is a regular Family, you can create its geometry and parameters and it is up to you what kind of capabilities your create into it. In Archicad, its equivalent is a GDL-based element type because in GDL, you can script geometry and behavior based on parameters.
I hope this explanation makes sense.
So, a Beam is not based on GDL. In the case of these element types, Structure Display is not taken into consideration in Schedules, so the Schedule cannot display a Beam section preview differently depending on the Structure Display setting. Therefore, it will always display the whole Beam, both its structure and its veneer (the insulation).
In the case of GDL-based element types this is different.
In the GDL Reference Guide, there is a variable called GLOB_VIEW_TYPE.
It will be set to a number between 2 and 9 depending on where the GDL script is executed.
Here are the possible results:
2 - 2D (Floor Plan)
3 - 3D
4 - Section
5 - Elevation
6 - 3D Document
7 - Detail
8 - Layout
9 - Calculation
So, in a Schedule, this GLOB_VIEW_TYPE will have the value of 9 (hopefully, I have never tried it).
This means that if you use GDL to create a Beam for which you generate both a Beam structure and a Beam veneer using GDL scripting, then in the 3D Script of that GDL library part, you could theoretically check the value of the GLOB_VIEW_TYPE variable, and if it is "9" then you would write your script in a way to not generate the Beam veneer, only the Beam structure.
But, as I said, I have never tried this so I don't know if it works. Maybe someone has tried this and can chime in.
2023-04-06 03:05 AM
I was moved by your long post.^^
Since I am a non-English speaking person, I need to be precise or not to be able to understand clearly. As a result, it is very confusing with the help of a translator in a short text.
I understood that no. ^^
In revit, even if you make a beam with a family, it cannot represent the geometry.
So, create a 2D family that works with Excel, including the upper muscle, the lower muscle, and the intercostal muscle, and create a beam list in 2D with an api. ^^
GLOB_VIEW_TYPE
I think it's a really good feature that revit doesn't have. ^^
I received a great gift of emotion today because of your consideration.
thank you ^^
2023-04-06 10:41 AM
You are welcome. 😊