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
namestringThe name shown under its picture.
filestringThe drawing the block is in; null for the drawing open.
blockNamestringThe 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.