Karamba modelView field doesn't exist


Hi, I am using Karamba Common 2.2.0.18. I wanted to export deformed mesh using modelView, but I failed. It seems that it doesn’t exist.

However, in the API, it exists.

Anyone knows how to fix it?

Hello @Franklin_Wú,

the ModelDisplay structure sets the display properties of the model.
In order to get the deformed mesh use this:

outGHMaxResDisp = Karamba.Models.ModelResult.CollectDeformedGeometry(model, curves, meshes, out var deformedModel, out var updatedModel);

– Clemens