Offset entities in VC++

ppotera

Usenet Archive
Joined
Jul 24, 2003
Messages
3
Reaction score
0
How I can work with results of Offset procedure as IAcadEntity in VC++ ? I have this source code, but I don't know, how to get IAcadEntity pointer from VARIANT.

CComPtr<IAcadLWPolyline> pAcadLWPLine;
CComPtr<IAcadEntity> pAcadEnt;
VARIANT offsents;
hr=pAcadEntity->QueryInterface(&pAcadLWPLine); hr=pAcadLWPLine->Offset(dprof,&offsents);

Please, response ASAP. My e-mail:
Thanks
 
According to the Offset procedure definition, the result is VARIANT as an array of entities.
 

Latest threads

Back
Top