Skip to content

ACadSharp.Tables.BlockRecord

Albert Domenech edited this page Sep 9, 2025 · 12 revisions

BlockRecord Class

Represents a entry

Remarks

Object name
Dxf class name

Definition

Namespace: ACadSharp.Tables

C#

DxfNameAttribute
DxfSubClassAttribute
public class BlockRecord

Properties

Returns Name Summary
IEnumerable<AttributeDefinition> AttributeDefinitions Attribute definitions in this block
BlockEnd BlockEnd End block entity for this Block record.
Block BlockEntity Block entity for this record
Boolean CanScale Specifies the scaling allowed for the block.
CadObjectCollection<Entity> Entities Entities owned by this block.
EvaluationGraph EvaluationGraph Gets the evaluation graph for this block if it has dynamic properties attached to it.
BlockTypeFlags Flags
Boolean HasAttributes Flag indicating if the Block has Attributes attached
Boolean IsAnonymous Blocks with the anonymous flag set are managed by this library or the editing software,
this may affect the entities or the block properties.
Boolean IsDynamic Active flag if it has an attached to it with dynamic expressions.
Boolean IsExplodable Specifies whether the block can be exploded.
Layout Layout Associated Layout.
String ObjectName
ObjectType ObjectType
Byte[] Preview DXF: Binary data for bitmap preview.
SortEntitiesTable SortEntitiesTable Sort entities table for this block record.
BlockRecord Source Gets the source block.
Only present if the block is dynamic and is in the same document as its source.
String SubclassMarker
UnitsType Units Block insertion units
IEnumerable<Viewport> Viewports ViewPorts attached to this block

Methods

Returns Name Summary
Void ApplyTransform(CSMath.Transform)
CadObject Clone
SortEntitiesTable CreateSortEntitiesTable Create an entity sorter table for this block.
BoundingBox GetBoundingBox Get the bounding box for all the entities in the block.
BoundingBox GetBoundingBox(System.Boolean) Get the bounding box for all the entities in the block.
IEnumerable<Entity> GetSortedEntities Get the entities in this block record sorted by it's handle and the sorter assigned if is present.
Clone this wiki locally