engine_web-ifc icon indicating copy to clipboard operation
engine_web-ifc copied to clipboard

[Bug]: getTypeProperties function returns empty array

Open hellghostx opened this issue 3 years ago • 2 comments

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.

obrazek

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.

obrazek

Version

0.0.39

What browsers are you seeing the problem on?

Chrome

Relevant log output

No response

Anything else?

No response

hellghostx avatar Mar 17 '23 12:03 hellghostx

I'll take a look at this in the next few days

beachtom avatar Mar 17 '23 12:03 beachtom

This should now be fixed

beachtom avatar Mar 17 '23 15:03 beachtom