Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IfcValue #1311

Open
PavelWhiteTiger opened this issue Dec 18, 2023 · 1 comment
Open

IfcValue #1311

PavelWhiteTiger opened this issue Dec 18, 2023 · 1 comment

Comments

@PavelWhiteTiger
Copy link

PavelWhiteTiger commented Dec 18, 2023

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

@hlg
Copy link
Member

hlg commented Jan 10, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants