engine_web-ifc
engine_web-ifc copied to clipboard
[Bug]: getTypeProperties function returns empty array
What happened?
Currently at function getTypeProperties(), there is a bug that the condition is made over string 'IFX2X3' and not 'IFC2X3' as you can see at the picture. This results in empty array if you ask for a type properties of given element from ifc of version 2x3.

Also it would be great to set elementID parameter in getTypeProperties optional as it is in getPropertySets(). The logic is the same and if you set elementID to 0 it returns types for all elements. This is sadly not part of the API documentation yet.

Version
0.0.39
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
Anything else?
No response
I'll take a look at this in the next few days
This should now be fixed