I just discovered the gmsh api can import an occ pointer ! So i try to use the native occ import from the c++ api for msvs.
When i use gmsh::model::occ::importShapesNativePointer, the linker doesn't resolve gmshLoggerGetLastError. So i decided to comment throwLastError and getLastError code. So that the step file import works.
In my application i use occ 7.4 and i use the api as follow (root is my highest occ object : a compsolid or a compound)
The outDimTags is always a 0-size vector and the export mesh file is empty. Do i use the api correctly ?
- Is there a link between the generated mesh tags and the occ object ids ?