GeometryGym/GeometryGymIFC

Cannot create an IfcCompositeCurve without arguments

hu-stefan opened this issue · 2 comments

I´m trying to create an IfcAlignmentHorizontal there for i need an IfcCompositeCurve.
But unfortunately its not possible to create an IfcCompositeCurve without arguments.
Is there a another way to create it for this special case?

code

I´m using v0.1.06 atm.
thank you in advance

The basecurve parameter of type IfcCompositeCurve is generated in the alignment horizontal constructor.
So it will be constructed in the code of the alignmenthorizontal constructor.
It should work if you change the top line to this:

IfcCompositeCurve basecurve = null;

I haven't checked if you can use a dynamic type using keyword var

I see. Thanks for the fast support.