Error using gmsh.view.getHomogeneousModelData(viewTag, step)
Trying to return data from:
datatype, tags, data, _, _ = gmsh.view.getHomogeneousModelData(viewTag, step)
but receive the following error:
AttributeError: type object 'view' has no attribute 'getHomogeneousModelData'
I see this function in api/gmsh.py · master · gmsh / gmsh · GitLab (onelab.info) , so why doesn't it work? I'm using Python3 with gmsh 4.12.1 on Windows 10
The following is included in the above gmsh.py link:
Get homogeneous model-based post-processing data from the view with tag tag at step step. The arguments have the same meaning as in getModelData, except that `data' is returned flattened in a single vector, with the appropriate padding if necessary.
If getHomogeneousModelData doesn't work, how can I transform the 'data' returned in 'getModelData' to the same 'flattened in a single vector' form as getHomogeneousModelData?
Thank you