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
documentCadDocumentThe document.
namestringThe name of the parameter.
expressionstringThe 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.