Table of Contents

Class DxfObjectContextManager

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

The contexts of a drawing, as AutoCAD's ObjectContextManager: reached by ObjectContextManager, it gives the collection of the drawing's scales, ACDB_ANNOTATIONSCALES, the one collection a drawing holds.

public sealed class DxfObjectContextManager
Inheritance
DxfObjectContextManager
Inherited Members

Remarks

AutoCAD's RegisterContextCollection and UnregisterContextCollection register a collection of an application's own while AutoCAD runs; a DXF file holds none such, and they are not here.

Methods

GetContextCollection(string)

Gets a collection of contexts by its name, as AutoCAD's GetContextCollection: ACDB_ANNOTATIONSCALES, letters of either case the same, the drawing's list of scales. db.ObjectContextManager.GetContextCollection("ACDB_ANNOTATIONSCALES").GetContext("1:50") gives the scale 1:50.