File: ACAD_PROXY_ENTITY.md

package info (click to toggle)
ezdxf 1.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 104,528 kB
  • sloc: python: 182,341; makefile: 116; lisp: 20; ansic: 4
file content (13 lines) | stat: -rw-r--r-- 789 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
## Proxy Graphic
	- The [[ProxyGraphic]] **is not stored** in subclass [[AcDbEntity]] as in every other entity
	- The [[ProxyGraphic]] is stored in subclass [[AcDbProxyEntity]]
	- There are multiple binary chunks with group code 310 and a preceding length tag
	- Each chunk has a different group code for the length tag
	- My assumption was:
		- The [[ProxyGraphic]] chunk has a group code of 92 or 160 for the length tag - dependent on the DXF version
		- 92 for DXF2010 and earlier
		- 160 for DXF R2013 and later
	- This assumption was **wrong**
		- {{issue 978}}
		- DXF R2010 file with group code 160 as length tag for the [[ProxyGraphic]] binary chunk
	- The solution is to try both group codes for the length tag and the first existing binary chunk will be taken as [[ProxyGraphic]]