Table of Contents

Method Edit

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

Edit(CadDocument, string, string)

Gives a parameter a new expression: the objects its constraints hold move to meet the value it comes to.

public static CadEditResult Edit(CadDocument document, string name, string expression)

Parameters

document CadDocument

The document.

name string

The name of the parameter.

expression string

The expression: a number, or one that names other parameters.

Returns

CadEditResult

What came of it; refused, with the reason, where the expression cannot be worked out or the constraints cannot be met.