BIMserver icon indicating copy to clipboard operation
BIMserver copied to clipboard

IfcValue

Open PavelWhiteTiger opened this issue 1 year ago • 1 comments

How i can add IfcValue (IfcPositiveLengthMeasure, IfcLengthMeasure) in BendingParameters? When i try create IfcLengthMeasure, bimServer writes "Invalid cid".

Example: { var instance = Ifc4Factory.eINSTANCE; var ifcLengthMeasure = instance.createIfcLengthMeasure(); ifcLengthMeasure.setWrappedValue(Double.parseDouble((String) o)); meshType.getBendingParameters().add(param); }

model.getClient().getMetaDataManager().getPackageMetaData("ifc4").getEClass("IfcPositiveLengthMeasure") doesn't work too

PavelWhiteTiger avatar Dec 18 '23 11:12 PavelWhiteTiger