Hei,
My system is windows 7, VS 2015, Connect update 6
I am trying to use mdlMesh_getPolyfaceArrays bu having some problems
This is the code:
Bentley::Bstdcxx::bvector<int>* pIndices ; Bentley::Bstdcxx::bvector<DPoint3d>* ppXYZ ; int pNumIndexPerFace; int pNumFace; StatusInt iSuccess = mdlMesh_getPolyfaceArrays(pMeshED,pIndices,ppXYZ,&pNumIndexPerFace,&pNumFace);
Function returns pIndices = NULL and ppXYZ=Null while
pNumIndexPerFace and pNumFace are correct results.
But if I change code:
Bentley::Bstdcxx::bvector<int> pIndices ; Bentley::Bstdcxx::bvector<DPoint3d> ppXYZ ; int pNumIndexPerFace; int pNumFace; StatusInt iSuccess = mdlMesh_getPolyfaceArrays(pMeshED,&pIndices,&ppXYZ,&pNumIndexPerFace,&pNumFace);
It works fine.
I can not understand what is the problem with using pointers.
thanks
Nenad