Table of Contents

Method ForBlock

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ForBlock(string, string, string)

Makes a block tool.

public static CadTool ForBlock(string name, string file, string blockName)

Parameters

name string

The name shown under its picture.

file string

The drawing the block is in; null for the drawing open.

blockName string

The block's name in that drawing; empty for the whole drawing as one block.

Returns

CadTool

The tool.

Exceptions

ArgumentNullException

Thrown when the name is null.