dkur

Results 30 comments of dkur

> When you say "I query deleted element by oid", do you mean you call `IfcModelInterface.get(long oid)` in your `ModelCompare.compare` implementation? Indeed, this should return null when no object with...

I fixed comparison for updates by adding this code on the server side (CompareDatabaseAction.java): ``` DatabaseSession session1 = bimServer.getDatabase().createSession(OperationType.READ_ONLY); // added this line DatabaseSession session2 = bimServer.getDatabase().createSession(OperationType.READ_ONLY); // added this...

> Still same as above? I will try to reproduce the issue. Yes, the same exception

> The BimserverDatabaseException (Object not found) stems most likely from inconsistencies in the model introduced through low level manipulation. With the low level calls, you are responsible to keep the...

It's the problem of BimServer. In some cases Representation property is not added to serialization array (addUseForSerialization method) and OpenShell engine doesn't get Representation data. The reason why it's not...

After having a hard time trying to debug this I managed to find out the reason for such a strange behaviour. The problem is hidden in drawbacks of how BimServer...

> As a workaround try using the low level interface through the client It looks like that when I want to update IfcValue for some IfcProperty I also have to...

> Or do you mean that the client model does not change, even when you call the respective setter? I call the respective setter on the client side. But in...

This is what I do: ``` // setting on the client side IfcValue ifcValue = model.getModel().create(PackageMetadataProvider.of().ifc4().getEClass(valueType)); Method method = ifcValue.getClass().getDeclaredMethod("setWrappedValue", double.class); method.invoke(ifcValue, Double.valueOf(value.toString())); ((IfcPropertySingleValue) ifcProperty).setNominalValue(ifcValue); // setting on the server...