Expand description
ACAD Arch classes.
Walls, doors, stairs, spaces, slabs, curtain walls, structural members, and
the style and display objects that belong to them are registered AEC
classes. Opaque native bodies are preserved on same-version DWG saves.
Supported typed edits update decoded native parameters and cached graphics
together. Unsupported layouts return ArchEditError and leave the entity
unchanged.
The calling guide is src/classes/arch/API.md.
Structs§
- AecPlacement
- Placement stored by an Arch entity after its schema tag.
- Arch
Entity Data - Class body of an Arch entity.
- Arch
Object - Continuous
Wall - One connected run of wall segments, in baseline order.
- Decoded
Aec - What can be read from any Arch class without a private schema.
- Member
Size - Length and the two cross-section sizes of a beam or column.
- Opening
Size - Width and height of a door, window, or opening, in drawing units.
- Stair
Size - Run, width, and floor-to-floor height of a stair.
- Stored
Number - One number found in the class bytes, with the role it plays for this entity.
- Straight
Wall Geometry - One straight run of a wall: baseline start, baseline end, full thickness, and base height.
Enums§
- Arch
Edit Error - Why an architecture edit left the entity unchanged.
- Arch
Kind - Which Arch entity a class name represents.
- Number
Role - What a stored number means.
- Preview
Record - One piece of the proxy-graphics preview.
Constants§
- ENTITY_
CLASSES - DXF names of the Arch entities found in the Arch sample projects, with the C++ class ACAD registers for each.
Functions§
- centered_
wall_ profile - Closed preview of a center-justified straight wall.
- continuous_
wall_ outline - Closed mitered outline of a center-justified wall chain.
- continuous_
walls - Walls in
documentgrouped into continuous chains. - cpp_
class_ name - C++ class name registered for a known Arch entity, when this crate knows it. Callers that have the drawing’s CLASSES section should prefer that entry.
- decode_
profiles - Profiles carried by an entity’s proxy-graphics blob.
- door
- Create one standalone, unanchored native door at the origin.
- door_
size - Door leaf width and height, excluding the insertion elevation and swing clearance.
- entities_
anchored_ to - Arch entities whose anchor depends on
host. - is_
architecture_ name - Whether
dxf_nameis an ACAD Arch / MEP class. - kind_of
- Entity kind for a known Arch DXF name.
- map_
profile_ points - Map complete encoded profile runs, without scanning for isolated coordinate values.
- member_
size - Dimensions of the measured rectangular structural-member layout.
- opening_
size - Opening width along the wall, and its height.
- polyline_
from_ type6 - Decode a type-6 profile payload:
u32count, thencountXYZ doubles. - reshape_
rectangle - Reshape the first profile to a rectangle when it has the same point count.
- set_
ceiling_ grid - Unsupported: native ceiling-grid placement has not been decoded.
- set_
column_ grid - Unsupported: native column-grid placement has not been decoded.
- set_
continuous_ wall - Replace every segment of
chainso the baseline becomespoints. - set_
curtain_ wall - Unsupported: native curtain-wall placement has not been decoded.
- set_
display_ theme - Unsupported: native display-theme placement has not been decoded.
- set_
door - Set a door’s leaf width and height.
- set_
mass_ element - Unsupported: native mass-element placement has not been decoded.
- set_
member - Set a rectangular member’s length along its decoded native placement axis. Cross-section changes are unsupported and leave the entity unchanged.
- set_
opening - Set an opening’s width along the wall and its height.
- set_
profile_ bounds - Resize the bounds of an axis-aligned wall with a decoded native baseline. Native geometry for other entity kinds must be edited with a typed setter.
- set_
railing - Unsupported: native railing placement has not been decoded.
- set_
roof - Unsupported: native roof placement has not been decoded.
- set_
roof_ slab - Unsupported: native roof-slab placement has not been decoded.
- set_
slab - Unsupported: native slab placement has not been decoded.
- set_
space - Unsupported: native space placement has not been decoded.
- set_
stair - Unsupported: linked stair rise, tread, and offset parameters are not decoded. The entity and its graphics stay unchanged.
- set_
wall - Rewrite one straight wall onto a new baseline.
- set_
window - Set a window’s plan width and height.
- set_
window_ assembly - Unsupported: native window-assembly placement has not been decoded.
- stair_
size - Dimensions of the measured straight-stair layout.
- wall
- Create one straight, centered wall in the world XY plane.
- window
- Create one standalone, unanchored native window at the origin.
- window_
size - Window width and height. The insertion-point Z coordinate is the sill elevation.