IfcSharp / IfcSharpLibrary

Other
64 stars 17 forks source link

Cannot parse IfcPropertySingleValue #11

Closed TZwielehner closed 2 years ago

TZwielehner commented 3 years ago

When I try to read an IFC-file (pipe example) I get an error when parsing a PropertySingleValue:

"Die Länge darf nicht kleiner als 0 (null) sein.\r\nParametername: length"} | System.ArgumentOutOfRangeException

It is the "DN" value of the pipe ("400.0000") that is not working.

TZwielehner commented 3 years ago

It works when explicitly declaring the value as IFCREAL(400.0000). However it is not exported that way, also, viewers don't need it this way.

friedrichEder commented 2 years ago

i just updated the develop-branch. some files had issues with types like IfcInteger as well, might be worth a try now ;)

friedrichEder commented 2 years ago

tested for multiple example files from the buildingSMART repo, did not encounter any errors. marking as closed