Table of Contents

Class Block

Namespace
OpenMEPCad.Autocad
Assembly
OpenMEPCad.dll
public class Block
Inheritance
Block
Inherited Members

Methods

BlockScaling(dynamic)

public static dynamic BlockScaling(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

dynamic

enum of scaling

Examples

Block.BlockScaling.dyn

Handle(dynamic)

Gets the handle of an object.

public static string Handle(dynamic AcadBlock)

Parameters

AcadBlock dynamic

Returns

string

The handle of the entity.

Examples

Block.Handle.dyn

HasExtensionDictionary(dynamic)

Determines whether the object has an extension dictionary associated with it.

[NodeCategory("Query")]
public static bool HasExtensionDictionary(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

bool

true if The object has an extension dictionary associated with it.

Examples

Block.HasExtensionDictionary.dyn

IsDynamicBlock(dynamic)

Specifies whether this is a dynamic block.

[NodeCategory("Query")]
public static bool IsDynamicBlock(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

bool

true if The block is a dynamic block.

Examples

Block.IsDynamicBlock.dyn

IsLayout(dynamic)

Determines whether the given block is a layout block.

[NodeCategory("Query")]
public static bool IsLayout(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

bool

true if block is layout block

Examples

Block.IsLayout.dyn

IsXRef(dynamic)

Determines whether the given block is an XRef block.

[NodeCategory("Query")]
public static bool IsXRef(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

bool

true if block is an Xref block

Examples

Block.IsXRef.dyn

Name(dynamic)

Specifies the name of the object.

public static string Name(dynamic AcadBlock)

Parameters

AcadBlock dynamic

Returns

string

Name of the object.

Examples

Block.Name.dyn

ObjectID(dynamic)

Gets the object ID.

public static long ObjectID(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

long

The object ID of an object.

Examples

Block.ObjectID.dyn

ObjectName(dynamic)

Gets the AutoCAD class name of the object.

public static string ObjectName(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

string

The AutoCAD class name of an object.

Examples

Block.ObjectName.dyn

Origin(dynamic)

Specifies the origin of the UCS, block, hatch, or raster image in WCS coordinates.

public static Point Origin(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

Point

Examples

Block.Origin.dyn

OwnerID(dynamic)

Gets the object ID of the owner (parent) object.

public static dynamic OwnerID(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

dynamic

The object ID of an object's owner.

Examples

Block.OwnerID.dyn

Units(dynamic)

Specifies the native units of measure for the block.

public static dynamic Units(dynamic AcadBlock)

Parameters

AcadBlock dynamic

AcadBlock

Returns

dynamic

Examples

Block.Units.dyn