forked from 1b-agent/opencadstudio-upstream
Map Ole2Frame as update-only with the embedded object preserved
Frame corners and the aspect lock are scriptable; the opaque storage and envelope are excluded and refused on edit. The audit embeds a real PNG through OCS's own builder and proves it survives DWG and DXF byte-for-byte. Python creation stays a follow-up. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f1813b3ebe
commit
e583da83db
10 files changed
+149
-11
No files matched your search
@@ -36,7 +36,8 @@
|
||||
"Underlay",
|
||||
"Viewport",
|
||||
"ViewBorder",
|
||||
"Light"
|
||||
"Light",
|
||||
"Ole2Frame"
|
||||
],
|
||||
"manual_kinds": [
|
||||
"Dimension"
|
||||
@@ -780,6 +781,32 @@
|
||||
"required": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"Ole2Frame": {
|
||||
"update_only": true,
|
||||
"update_only_message": "Ole2Frame cannot be created from a script: its embedded object storage is opaque; existing frames can be moved, resized and aspect-locked, and the stored object is preserved untouched",
|
||||
"fields": {
|
||||
"storage": {
|
||||
"exclude": true,
|
||||
"_comment": "Opaque compound-file payload; snapshot-readable and preserved untouched."
|
||||
},
|
||||
"envelope": {
|
||||
"exclude": true,
|
||||
"_comment": "Opaque frame envelope; preserved untouched."
|
||||
},
|
||||
"version": {
|
||||
"read_only": true
|
||||
},
|
||||
"source_application": {
|
||||
"read_only": true
|
||||
},
|
||||
"ole_object_type": {
|
||||
"read_only": true
|
||||
},
|
||||
"dwg_mode": {
|
||||
"read_only": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user