You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Could you post the stacktrace? "doesn't work" is not very specific. Also, your code also does not show what's in the param variable. Are you using the Java client with the recordChanges option set to true?
Just like IfcPropertyListValue.ListValues in #1254, IfcReinforcingMeshType.BendingParameters provides another example of defined type attributes with higher multiplicity and low level methods not yet supporting this case properly.
Just like #1225, this seems to appear with the Java client and its experimental use of the low level calls.
It would be great to expand this into a full consistent test case for when we have time to work on the low level interfaces.
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
The text was updated successfully, but these errors were encountered: