PPT_LOGO_4b
‹#›
© 2008 Autodesk
Autodesk Developer Network
Display System
Classes in .NET
Reference: AecBaseMgd.dll
Namespace: Autodesk.Aec.DatabaseServices
Service class
§DisplayRepresentationManager – the central controler of display system.
Display Representation classes
§DisplayConfiguration – maintain which display sets to use  
§DisplaySet  - maintain a set of disp reps
§DisplayRepresentation base class – define a disp rep for each object
Property classes
§DisplayProperties base class – define a disp prop for each object
§DisplayComponent, DisplayComponentEntity, DisplayComponentHatch
Dictionary class – helper classes to access the container object 
§DictionaryDisplayConfiguration
§DictionaryDisplaySet
The Display System API allows you to manipulate the display system and is available through the ACA.NET API. In previous versions, this was only available through COM Interop,  which you no longer need to use.  You can access, modify and create display information, such as display configuration, sets and display representations.
•DisplayRepresentationManager - This class is the center of the Display System. All calls for draw are routed through this class. The display representation manager determines from the state of the system which display representations contribute to the graphics of the supplied entity. From here, you can access all the display rep of the given entity type in current viewport, for example.
•Display Representation classes – the classes represent DisplayConfiguration, DisplaySet, DisplayRep respectively. Disp rep are actually base classes and they are typically defined for each view type for each object type. For example, for wall’s model view, for wall plan view.
•DisplayProperties – this is also a base class. Actual disp prop is also defined for each object and view type. Display properties can be overridden, either by object level, style level. Otherwise it uses the drawing default.  We will show you how to retrieve override info in the next code sample.
•As with styles, disp config, set, rep are stored in dictionaries with helper functions available to access them.