ACadSharp.Blocks.Block

class · ACadSharp · CLR name: ACadSharp.Blocks.Block

Represents a ACadSharp.Blocks.Block entity

Object name F:ACadSharp.DxfFileToken.Block Dxf class name F:ACadSharp.DxfSubclassMarker.BlockBegin

Base type: ACadSharp.Entities.Entity. Inherited members are documented on their declaring type.

Interfaces: ACadSharp.Entities.IEntity, ACadSharp.Entities.IGeometricEntity, ACadSharp.IHandledCadObject.

import acadsharp
Type = acadsharp.get_type('ACadSharp.Blocks.Block')

Declared public members

Signatures retain CLR types and names. Python.NET resolves overloads and converts compatible Python values at call time. Property setters are shown only when public. Operators retain their CLR names; Python.NET also maps supported operators to Python syntax.

.ctor

ACadSharp.Blocks.Block(ACadSharp.Tables.BlockRecord record)

Documentation inherited from: base member.

ApplyTransform

System.Void ApplyTransform(CSMath.Transform transform)

Documentation inherited from: base member.

Remarks: Block entities don't have any geometric properties.

Clone

ACadSharp.CadObject Clone()

Documentation inherited from: base member.

Remarks: Cloning a block will also unattached it from the record.

GetBoundingBox

CSMath.BoundingBox GetBoundingBox()

Documentation inherited from: base member.

BasePoint

CSMath.XYZ BasePoint { get; set; }

Specifies the insert point of the block.

BlockOwner

ACadSharp.Tables.BlockRecord BlockOwner { get; }

Block record that owns this entity

Comments

System.String Comments { get; set; }

Specifies the comments for the block or drawing.

Flags

ACadSharp.Blocks.BlockTypeFlags Flags { get; set; }

Block active flags.

IsUnloaded

System.Boolean IsUnloaded { get; set; }

Gets or sets a value indicating whether the XRef is unloaded.

Remarks: This flag only takes effect if its an external reference.

Name

System.String Name { get; set; }

Specifies the name of the object.

ObjectName

System.String ObjectName { get; }

Documentation inherited from: base member.

ObjectType

ACadSharp.ObjectType ObjectType { get; }

Documentation inherited from: base member.

SubclassMarker

System.String SubclassMarker { get; }

Documentation inherited from: base member.

XRefPath

System.String XRefPath { get; set; }

Gets the path of the block, document, application, or external reference.