Skip to main content
Question

How to set top and bottom elevation for BuildingStoreys in IFC writer


stalknecht
Contributor
Forum|alt.badge.img+19

I'am trying to set the top and bottom elevation for the BuildingStoreys.. The writer does not have the ifc_elevation attribute to set global and local elevations. Now the bottom elevation is always 0 and the top elevation is relative to ground zero and not the floor how it should be.

3 replies

stalknecht
Contributor
Forum|alt.badge.img+19
  • Author
  • Contributor
  • October 11, 2020

More then 4 years ago I've posted this question. Now it hits me again. Is it by design or can I fix it?


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • October 14, 2020

Hi @stalknecht​ ,

I'm sorry that I missed this question the first time you posted it.

You can set the elevation of the BuildingStorey by adding an attribute named 'Elevation' to the feature before writing.

Setting the height is a little trickier and requires creating a BaseQuantities quantity set on the BuildingStoreys. I have modified the sample workspace found at https://community.safe.com/s/article/autocad-to-ifc-conversion-example to illustrate how to create the Quantity Set, and have attached it. It uses the same dataset supplied with the article.

 

 


stalknecht
Contributor
Forum|alt.badge.img+19
  • Author
  • Contributor
  • October 15, 2020
daveatsafe wrote:

Hi @stalknecht​ ,

I'm sorry that I missed this question the first time you posted it.

You can set the elevation of the BuildingStorey by adding an attribute named 'Elevation' to the feature before writing.

Setting the height is a little trickier and requires creating a BaseQuantities quantity set on the BuildingStoreys. I have modified the sample workspace found at https://community.safe.com/s/article/autocad-to-ifc-conversion-example to illustrate how to create the Quantity Set, and have attached it. It uses the same dataset supplied with the article.

 

 

Hi @daveatsafe​ ,

Thanks for your answer. When I run your example and try to load the generated ifc into Solibri I get the following error: "Reading of IFC model Failed"

Capture

Do you know what to do to get the model accepted by Solibri?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings