forked from 1b-agent/opencadstudio-upstream
fix(doc-api): preserve XDATA and XRecord integrity
This commit is contained in:
1 parent
acba9f87bd
commit
4de2792798
9 files changed
+367
-108
No files matched your search
@@ -172,8 +172,9 @@ Every typed handle (`Solid`, `Line`, `Circle`, `Polyline`, `Point`, `ArcCurve`,
|
||||
- **`set_layer(layer)`** — move the entity to an existing layer (one undo step;
|
||||
blocked if the entity or target layer is locked).
|
||||
|
||||
`Entity` additionally has `view()` (id + kind + bounds) and `as_solid()` (typed
|
||||
downcast when `kind == "Solid3D"`).
|
||||
`Entity` additionally has `view()` (id + kind + bounds), `as_solid()` (typed
|
||||
downcast when `kind == "Solid3D"`), and XDATA access through
|
||||
`xdata(application_name)` / `set_xdata(application_name, record)`.
|
||||
|
||||
## Layer table
|
||||
|
||||
|
||||
Reference in new issue
Block a user