Table of Contents

Method SetCurrent

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

SetCurrent(CadDocument, string)

Makes a style current ($DIMSTYLE), as Set Current and the style box do, its variables given to the header as AutoCAD gives them, so that the header's dimension variables are the style's.

public static CadEditResult SetCurrent(CadDocument document, string name)

Parameters

document CadDocument

The document.

name string

The style's name.

Returns

CadEditResult

What came of it.