Class CadInquiry
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
The inquiry commands (LIST) run for a program that wants their words, with no window and no command line of the user's.
public static class CadInquiry
- Inheritance
-
CadInquiry
- Inherited Members
Methods
- List(CadDocument, IReadOnlyList<string>)
Runs LIST on some entities in a command session of its own and gives the lines it writes, as AutoCAD's LIST writes them: the kind and layer, the space, the handle and the shape of each entity (the length and angle of a line, the centre and radius of a circle, the corners of a polyline). The drawing's own command line, its selection and its undo list are not touched: a line from (0, 0) to (300, 400) lists "Length = 500.0000".