Proxy entity geometry?

Proxy entity geometry?

Anonymous
Not applicable
1,735 Views
4 Replies
Message 1 of 5

Proxy entity geometry?

Anonymous
Not applicable
I need to get the geometric data of the ACAD_PROXY_ENTITY for exporting purposes (of course without the presence of the proxy parent application). Is there any ObjectARX or ads api to get such information?
0 Likes
1,736 Views
4 Replies
Replies (4)
Message 2 of 5

Anonymous
Not applicable
In ARX you can get an AcDbProxyEntity
There you have the member getGeomExtens, and you can explode it (if it is
allowed)

getGeomExtents:
This function fills in extents with the approximate extents of the proxy. If
the proxy has graphics saved, then these are used to calculate the extents.
If only a bounding box is available, then the extents are those of the
bounding box.

explode:
This function creates copies of all the graphics metafile primitives stored
in the proxy and append the pointers to these new entity objects to the
entitySet array.
Returns Acad::eOk if successful, otherwise returns
Acad::eCannotExplodeEntity.




wrote in message news:4819995@discussion.autodesk.com...
>I need to get the geometric data of the ACAD_PROXY_ENTITY for exporting
>purposes (of course without the presence of the proxy parent application).
>Is there any ObjectARX or ads api to get such information?
0 Likes
Message 3 of 5

Anonymous
Not applicable
It is possible, see the solution in:

[Arx path]\samples\database\ARXDBG\Inc\ArxDbgWorldDraw.h
[Arx path]\samples\database\ARXDBG\Tests\ArxDbgWorldDraw.cpp

[Arx path]\samples\database\ARXDBG\Inc\ArxDbgViewportDraw.h
[Arx path]\samples\database\ARXDBG\Tests\ArxDbgViewportDraw.cpp

Regards,

Hokus

wrote in message news:4819995@discussion.autodesk.com...
>I need to get the geometric data of the ACAD_PROXY_ENTITY for exporting
>purposes (of course without the presence of the proxy parent application).
>Is there any ObjectARX or ads api to get such information?
0 Likes
Message 4 of 5

Anonymous
Not applicable
thanks a lot!
I hope exploding you mentioned will not change the object (drawing) itself.
0 Likes
Message 5 of 5

Anonymous
Not applicable
Thank you
0 Likes