Learn to manage BIM workflows and create professional Archicad templates with the BIM Manager Program.
2 weeks ago - last edited 2 weeks ago by Barry Kelly
Good day everyone, I have a problem with returning a data about the skins of a wall in Archicad.
I have checked these links but they didn't give me much of information:
https://community.graphisoft.com/t5/Modeling/Wall-composite-construction-layers-Different-methods-di...
https://community.graphisoft.com/t5/Archicad-C-API/How-to-get-wall-materials-and-thicknesses-using-A...
I wonder if there is a pseudo code of how the information about the skins of the wall could be extracted. I am a bit unsure of how the attributes and data are stored at backed of Archicad, soooo... yeah.
Any help will be appreciated!
Solved! Go to Solution.
a week ago
Hi, You can get composite structure by using ACAPI_Attribute_GetDefExt() command. For the skin data, please check the API_CWallComponent structure. Also, You can find find the related sample code in API Examples (Attribute_Test.cpp).
HTH.
Thursday
Yes, getting the wall composite index at first, then get the composite definition, the number of cwall_compItems should be the skin's number applied to that wall.
HTH.
2 weeks ago
Every wall only has one 'layer' that it belongs to.
I am assuming you are wanting information on the wall 'skins'?
If so, let me know and I will edit your post - or you can edit it yourself (3 dots to the top right of post).
Barry.
2 weeks ago - last edited 2 weeks ago by Barry Kelly
Hi. Sorry for the confusion.
For example I have these, what I thought to be, the wall "layers".
I want to find a way to return them via the API if possible
2 weeks ago
Layers are what you place the elements in when you model.
Composites are made up of skins.
Barry.
2 weeks ago - last edited 2 weeks ago
Archicad Composite Structure Skin = Revit Compound Structure Layer. There are some others like Archicad Layout = Revit Sheet, Archicad Label = Revit Tag, or Archicad Zone = Revit Room, there are probably more.
a week ago
Yes, I see it. But how can I return data about those skins and structures?
a week ago
I am afraid I have no idea, as I have never delved into the API side of things.
I am just trying to clarify the correct terminology so someone else can hopefully help you.
Barry.
a week ago
Hi, You can get composite structure by using ACAPI_Attribute_GetDefExt() command. For the skin data, please check the API_CWallComponent structure. Also, You can find find the related sample code in API Examples (Attribute_Test.cpp).
HTH.
Wednesday
Thank you for the answer. Is there actually a way to find out of how many skins are applied to a wall?
Thursday
Yes, getting the wall composite index at first, then get the composite definition, the number of cwall_compItems should be the skin's number applied to that wall.
HTH.