Skip to main content
Archived

IFC setting Units and Coordinate System

Related products:Integrations
danilo_fme
  • danilo_fme
    danilo_fme

tono
Contributor
  • Contributor

Set units and Coordinate System into the IFC settings. Even selecting a coordinate system in the IFC writer, the location is lost as you open it into another 3D tool/viewer

This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

19 replies

fmelizard
Contributor
Forum|alt.badge.img+17
  • Contributor
  • September 25, 2017
Safe PR#53546

 

 


sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • November 9, 2017

It seems there are 9 rows related to units - or IFCSIUNIT.

FME only writes one of these: #24=IFCSIUNIT(*,.PLANEANGLEUNIT.,$,.RADIAN.);

Any hope for a fix? The issue is that some software (for instance Solibri) assumes mm, while other software (FME, DDS-CAD Viewer, BIM Vision, ARCHICAD) seems to be able to "guess" the correct unit.

#33= IFCSIUNIT(*,.LENGTHUNIT.,.MILLI.,.METRE.); #34= IFCSIUNIT(*,.AREAUNIT.,$,.SQUARE_METRE.); #35= IFCSIUNIT(*,.VOLUMEUNIT.,$,.CUBIC_METRE.); #36= IFCSIUNIT(*,.PLANEANGLEUNIT.,$,.RADIAN.); #37= IFCMEASUREWITHUNIT(IFCPLANEANGLEMEASURE(0.0174532925199),#36); #38= IFCDIMENSIONALEXPONENTS(0,0,0,0,0,0,0); #39= IFCCONVERSIONBASEDUNIT(#38,.PLANEANGLEUNIT.,'DEGREE',#37); #40= IFCSIUNIT(*,.SOLIDANGLEUNIT.,$,.STERADIAN.); #41= IFCMONETARYUNIT(.NOK.); #42= IFCSIUNIT(*,.TIMEUNIT.,$,.SECOND.); #43= IFCMEASUREWITHUNIT(IFCTIMEMEASURE(31556926.),#42); #44= IFCDIMENSIONALEXPONENTS(0,0,0,0,0,0,0); #45= IFCCONVERSIONBASEDUNIT(#44,.TIMEUNIT.,'Year',#43); #46= IFCSIUNIT(*,.MASSUNIT.,$,.GRAM.); #47= IFCSIUNIT(*,.THERMODYNAMICTEMPERATUREUNIT.,$,.DEGREE_CELSIUS.); #48= IFCSIUNIT(*,.LUMINOUSINTENSITYUNIT.,$,.LUMEN.);

geolassi
Contributor
Forum|alt.badge.img+5
  • Contributor
  • April 25, 2018

Any update on this PR?


atle_hoidalen
Forum|alt.badge.img+3

Any progress here? I have the same issue, Solibri will not recognize that my IFC-file is in metre, it assumes millimetre...


atle_hoidalen
Forum|alt.badge.img+3
You can manually "hack" the IFC-file after writing from FME. I had the same issue with Solibri reading an IFC-file as millimeter when it in fact was metre.

 

Replace the content in row#24 with this:

 

#24=IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.);

 

Then, change the content of row#28 to this:

 

IFCUNITASSIGNMENT((#24));

 

When opening in Solibri and other software the IFC-file will be read with units=metre.

sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • June 8, 2018
Yup, that was our solution also :)

 

 


takashi
Supporter
  • May 23, 2019

Strongly hope this idea would be realized.


mark2atsafe
Safer
Forum|alt.badge.img+43

The new reference number for this is FMEENGINE-30170


mark2atsafe
Safer
Forum|alt.badge.img+43

No update at this time I'm afraid. There is still no target date or suggestion that this might be resolved soon. I've made a note mentioning how many upvotes the idea has, and that several users are asking for an update - so we will see if that helps get this a higher priority.

fyi the reference number now is FMEENGINE-30170


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

Hi @takashi, @atle_hoidalen, @sigtill, @geolassi, @mark2atsafe

I am happy to announce that we have added the ability to set the units for the IFC writer in the latest FME 2019.2 release. You can control the unit types by setting the following attributes on the IfcProject feature:

 

 

lengthunit

 

areaunit

 

volumeunit

 

 

Setting these to values other than metre, square_metre and cubic_metre will add conversion lines within the IFC to set the desired units as the designated measurement units.

 

 


sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • February 17, 2020

Great!

IFC: Write length unit from attribute values [FMEENGINE-30331] C136885 C144927

sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • February 24, 2020

ifc_lengthunit = METRE seems to work but not:

ifc_lengthunit = MILLI or MILLI METRE or MILLI.METRE ?

 

#33= IFCSIUNIT(*,.LENGTHUNIT.,.MILLI.,.METRE.);

 


sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • February 24, 2020

Looks like you can have "unreferenced" units. And it seems FME cant handle 2 lenght units (#20 and #24) - according to #10 then #24 should be used and not the #20:

Have checked several different IFC files on different projects.

FME 2020.0.0.0 Beta (20200212 - Build 20182 - WIN64)

 

#10=IFCUNITASSIGNMENT((#11,#12,#13,#14,#15,#16,#17,#21,#24,#25,#26,#27)); #11=IFCSIUNIT(*,.AREAUNIT.,$,.SQUARE_METRE.); #12=IFCSIUNIT(*,.VOLUMEUNIT.,.DECI.,.CUBIC_METRE.); #13=IFCSIUNIT(*,.PLANEANGLEUNIT.,$,.RADIAN.); #14=IFCSIUNIT(*,.TIMEUNIT.,$,.SECOND.); #15=IFCSIUNIT(*,.THERMODYNAMICTEMPERATUREUNIT.,$,.DEGREE_CELSIUS.); #16=IFCSIUNIT(*,.PRESSUREUNIT.,$,.PASCAL.); #17=IFCDERIVEDUNIT((#18,#19),.VOLUMETRICFLOWRATEUNIT.,$); #18=IFCDERIVEDUNITELEMENT(#12,1); #19=IFCDERIVEDUNITELEMENT(#14,-1); #20=IFCSIUNIT(*,.LENGTHUNIT.,$,.METRE.); #21=IFCDERIVEDUNIT((#22,#23),.LINEARVELOCITYUNIT.,$); #22=IFCDERIVEDUNITELEMENT(#20,1); #23=IFCDERIVEDUNITELEMENT(#14,-1); #24=IFCSIUNIT(*,.LENGTHUNIT.,.MILLI.,.METRE.); #25=IFCSIUNIT(*,.POWERUNIT.,$,.WATT.); #26=IFCSIUNIT(*,.ELECTRICCURRENTUNIT.,$,.AMPERE.); #27=IFCSIUNIT(*,.ELECTRICVOLTAGEUNIT.,$,.VOLT.);

I have the same problem. FME IfcProject wont accept millimetres. Has there been any progress here?


daveatsafe
Safer
Forum|alt.badge.img+19
  • Safer
  • April 22, 2020

Hi @sigtill, @calleuhlenius,

Please set the attribute 'lengthunit' on the Project feature to 'millimetre' or 'millimeter', which will result in the IFC file setting:

#29=IFCSIUNIT(*,.LENGTHUNIT.,.MILLI.,.METRE.);

 


kennyo
Supporter
Forum|alt.badge.img+26
  • Supporter
  • June 9, 2020

Any updates in FME 2020 wrt to this without "hacking" the IFC file after writing from FME? I still have some issues with IFC, both wrt units and surfaces that "disappear" when opening them in other types of software?


  • December 15, 2020

I wonder if any updates for IFC Reader, it's an issue when using the same workbench for IFC conversion, while the input IFC files are in different units (some are meters, some are millimeters)......


Forum|alt.badge.img+1
  • November 3, 2021

Any update on this? What is currently a correct way to set units to millimeters?


LizAtSafe
Safer
Forum|alt.badge.img+15
  • Safer
  • October 11, 2024
The IFC writer is being re-written and we are hoping to address all of the related ideas. Please add any use cases or comments to the parent idea below:
Updated idea statusOpenArchived
Idea merged into:
davideagle
All the votes from this idea have been transferred.

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