Click or drag to resize
DimStyleTableAdd Method (String, Boolean)
Adds a new dimension style to the document. The new dimension style will be initialized with the current default dimension style properties.

Namespace: Rhino.DocObjects.Tables
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public int Add(
	string name,
	bool reference
)

Parameters

name
Type: SystemString
Name of the new dimension style. If null or empty, Rhino automatically generates the name.
reference
Type: SystemBoolean
if true the dimstyle will not be saved in files.

Return Value

Type: Int32
index of new dimension style.
See Also