API Reference > OdGi Classes > OdGiContextForDgDatabase Class
OdGiContextForDgDatabase Class
OdGiContextForDgDatabaseOdGiContextForDgDatabaseOdGiContextForDgDatabase
Syntax
C++
class OdGiContextForDgDatabase : public OdGiDefaultContext;

DgGiContext.h

This class defines the operations and properties that are used in the ODA Drawings API for DGN vectorization of an OdDgDatabase. 

Corresponding C++ library: TG_Db 

 

 
Name 
Description 
 
 
 
 
 
Name 
Description 
 
Add reactors to view model and database to update context data 
 
 
 
to create contexts fully equipped 
 
OdGiContext overridden functions 
 
 
 
 
 
 
 
 
 
returns a context of this type if can (zero otherwise) 
 
The access to the DGN database 
 
OdGiDefaultContext overridden functions 
 
Line type scale multiplier for default 8 internal line types. 
 
 
 
 
 
 
 
Some tools to apply the common rules of DGN about overrides for symbologies (color, weight, style). Initially, it could operate with:
  1. kColorByLevel, etc - if set, a property should be taken from level (default properties)
  2. 'overrideByLevel' flag of views (OdDgView) - if set and an appropriate flag of the level is set (for example, 'override colors'), then this property is taken from level (overrided properties)

Notes:
  1. All methods return false if a property can not be evaluated
  2. The level could be zero, that leads to 'can not be evaluated' if the level is required
  3. If this context does not have... more 
 
 
 
OdDgView element should be used to precise some rendering options 
 
 
 
 
 
Override from OdGiContext (the first one) and the method to set (the second one) 
 
9277 
 
Loads the specified plot style table for this Context object.  
 
 
 
 
 
 
 
 
 
 
 
This is the overview for the plotStyle method overload. 
 
 
 
 
 
 
 
 
 
 
 
 
 
9277 
 
 
 
 
 
 
 
 
 
Control the GsModel flag of this Context Object 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.