Class CadStyleSample
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
A sample drawing of a style preview with its parts told apart: the dimensions (or the multileader) of the sample are drawn into model space of Database as the entities of their pictures, each with a handle of its own, so that the display list names the part an item belongs to (PartOf(string)) and the preview lights it. A sample dimension is made by the builders the DIM commands use, its block's entities copied out into model space and the dimension erased: what is drawn is what the dimension drew.
public sealed class CadStyleSample
- Inheritance
-
CadStyleSample
- Inherited Members
Properties
- Database
Gets the drawing of the sample: its model space holds the outline and the parts, each its own entities.
- Parts
Gets the parts of the sample in the order they are drawn: one for each part of each dimension, with the handles of its entities. The words of a dimension whose style fills behind them are listed twice, as Text and as TextFill, the one entity.
Methods
- PartOf(string)
Gets the part an entity of the sample is, by its handle.