AEC Virtual Entities #591
-
Hi! I'm trying to get the virtual entities in an Here's the problem. When I exploded the AEC_SPACE entity on AutoCAD the hierarchy is as follows:
However, when I used the following method for getting virtual entities I get directly the proxy_entities = list(model_space.query("ACAD_PROXY_ENTITY"))
for proxy_entity in proxy_entities:
if proxy_entity.proxy_graphic:
for entity in ProxyGraphic(proxy_entity.proxy_graphic, doc).virtual_entities():
print('Virtual inside proxy is : ' + str(entity.dxftype()))
model_space.add_entity(entity)
proxy_entity.destroy() # remove original proxy entity if not required anymore Is there any way that I can get I need Also not using the The corresponding DXF file is attached. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
The proxy-graphic is a simplified graphical representation of a DXF entity, so applications which do not know the entity can at least show something to the user. There is no documentation by Autodesk for the proxy-graphic. The OpenDesign Specification for DWG has a short documentation of the data structures used in proxy-graphic data and there are only line, arc, polyline, mesh, shell and text objects. There are no real DXF entities stored in the proxy-graphic data, what you get as virtual entities by |
Beta Was this translation helpful? Give feedback.
-
Ok, thank you for the clarification. |
Beta Was this translation helpful? Give feedback.
The proxy-graphic is a simplified graphical representation of a DXF entity, so applications which do not know the entity can at least show something to the user. There is no documentation by Autodesk for the proxy-graphic. The OpenDesign Specification for DWG has a short documentation of the data structures used in proxy-graphic data and there are only line, arc, polyline, mesh, shell and text objects.
There are no real DXF entities stored in the proxy-graphic data, what you get as virtual entities by
ezdxf
is already the luxury version, there are no block references or hatches stored in the proxy-graphic data and thedrawing
add-on shows exact that content.