Method Choose
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
Choose(CadDocument, string, int, string)
Chooses a value of the list of a visibility, a lookup or a block table grip, as AutoCAD's list at the grip: the state shown, the lookup's row, every value it looks up set with it, or the table's row, Block Table1 set to its index and every column with it. One undo step.
public static CadEditResult Choose(CadDocument document, string handle, int gripIndex, string value)
Parameters
documentCadDocumentThe document.
handlestringThe handle of the INSERT.
gripIndexintThe index of the grip, as Of(DxfEntity) gives it.
valuestringThe value chosen, one of ValuesOf(CadDocument, string, int, out string).
Returns
- CadEditResult
What came of it: refused for a grip of another kind or a value not listed.
Exceptions
- ArgumentNullException
Thrown when the document or the value is null.