AnsweredAssumed Answered

Crash when I call body2->GetTessellation() API of solidworks?

Question asked by Mahadev Dharme on Sep 23, 2019

Hi,

 

I want to create tessellated object of temporary body.  My code is as follow.

 

CComPtr<IDispatch>tesselationDis = NULL;
CComVariant faceList = NULL;
pBody->GetTessellation(faceList, &tesselationDis);

 

There is crash when I call pBody->GetTessellation() function.

 

please find attached issue.png

Attachments

Outcomes