Revit Architecture Forum
Welcome to Autodesk’s Revit Architecture Forums. Share your knowledge, ask questions, and explore popular Revit Architecture topics.
abbrechen
Suchergebnisse werden angezeigt für 
Anzeigen  nur  | Stattdessen suchen nach 
Meintest du: 

IFC4 Import Units Bug

2 ANTWORTEN 2
GELÖST
Antworten
Nachricht 1 von 3
ahmedshawkey95
1278 Aufrufe, 2 Antworten

IFC4 Import Units Bug

Hi,I was trying to open the attached IFC4 file in Revit 2017 which contains just one wall (L=4000mm, H=3000mm, thk=200mm).

When I opened this file in Solibri, DDS CAD, and XBIM viewer, the wall dimensions were correct but when I tried to open it in Revit wall dimensions were converted to feet in a weird manner. Every 1mm was converted to 304.8mm.

Capture.PNGCapture02.PNG

2 ANTWORTEN 2
Nachricht 2 von 3
L.Maas
als Antwort auf: ahmedshawkey95

I see also wrong values (factor 1000) coming through in Revit 2017.1. I started with a metric template (mm).

IFC.png

So definitely an import error.

 

Checking the IFC file I see that IFCUNITASSIGNMENT is empty.

When referencing the units in the file like this:

#42=IFCUNITASSIGNMENT((#9,#10,#11,#12,#13,#14,#15,#16,#17));

 

Then it starts to work.

IFC2.png

 

I do not know enough about the IFC standards to determine if it is a mistake in the source file or in the import process.

 

 

 

Louis

EESignature

Please mention Revit version, especially when uploading Revit files.

Nachricht 3 von 3
ahmedshawkey95
als Antwort auf: L.Maas

Thanks Enllnt for your help.

I found that I set the project units twice in my C# code which generates the IFC file ,and I think that the import process logic in Revit considers the US system or the template units if it was null (line #42 in the attached IFC) even if it was initialized with UK units (line #8 in the attached IFC) unlike other BIM apllications. 

Sie finden nicht, was Sie suchen? Fragen Sie die Community oder teilen Sie Ihr Wissen mit anderen.

In Foren veröffentlichen  

Autodesk Design & Make Report