r11 JUMP documentation #691
rurban
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
r10 and r11 do have a new EXTRAS entities section, which represent replaced objects, which do not have room in the original ENTITY or BLOCKS section. This is not documented in the ODA specs.
This is represented by the new JUMP entity. Each replaced entity is replaced with a JUMP entity, containing the offset into the other section.
The first JUMP is replaced by the entity at the given offset in the extras sections, and then jumps back to the next entity, also given by the offset in the extras JUMP.
See e.g. r10/entities.dwg
The JUMP [31] replaces the POLYLINE_2D entity which got later closed. An open POLYLINE_2D needs size 8, but closed 9 bytes. Hence they added the new closed replacement to the extras section at offset 0, index [66], and added another JUMP [67] back to the next original entity. Here it jumps back to the VERTEX_2D [32] at offset 0x84f.
Beta Was this translation helpful? Give feedback.
All reactions