Table of Contents

Method GetContexts

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

GetContexts()

Gets the scales the object is shown at, as AutoCAD's ObjectContexts.GetContexts: the scale each context under ACDB_ANNOTATIONSCALES points at, in the order of its dictionary (the default first, as AutoCAD writes it), each a DxfAnnotationScale of the drawing's list. An INSERT of an annotative block, or an attribute of one, that holds no context is shown at the scale named 1:1 (HasContext(DxfObjectContext)), which this gives where the drawing's list has it. A text of two scales, 1:1 and 1:50, gives those two; an object that is not annotative gives none.

public IReadOnlyList<DxfObjectContext> GetContexts()

Returns

IReadOnlyList<DxfObjectContext>

The scales; none for an object that is never annotative or is not annotative now, and for one in no file.