I use the ObjectContextManager class to manage annotation scales.
objObjectContextCollection = objDatabase.ObjectContextManager.GetContextCollect
Exposes the collection of context types supported by the drawing. Each AcDbDatabase exposes an AcDbObjectContextManager which can be used to register, unregister, and enumerate custom context collections.
Unfortunally I can't find much information about this class. Can anyone give me some information about what a custom context collection is inside AutoCAD, and what kinds are there? Which strings besides "ACDB_ANNOTATIONSCALES" can be used in GetContextCollection()?
Thank you for your time.
Solved! Go to Solution.
Take a look at this article
The ObjectContextManager is currently only used for Annotation Scaling. However, it was designed to be a generic context object API, meaning that you can create your own Object Context data that utilizes this same object model.
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register