API Reference > OdDg Classes > OdDgVariable Class
OdDgVariable Class
OdDgVariableOdDgVariable
Syntax
C++
class OdDgVariable : public OdDgElement;

DgVariables.h

Corresponding C++ library: TG_Db

 
Name 
Description 
 
This is record OdDgVariable::OdDgVariableScope. 
 
This is record OdDgVariable::OdDgVariableType. 
 
Name 
Description 
 
This is clone, a member of class OdDgVariable. 
 
This is getDefaultValue, a member of class OdDgVariable. 
 
This is getDisplayName, a member of class OdDgVariable. 
 
This is getExpression, a member of class OdDgVariable. 
 
This is getExpressionBasedFlag, a member of class OdDgVariable. 
 
This is getName, a member of class OdDgVariable. 
 
if type of value was not recognized. 
 
This is getProxyValue, a member of class OdDgVariable. 
 
This is getReadOnlyFlag, a member of class OdDgVariable. 
 
This is getScope, a member of class OdDgVariable. 
 
This is getType, a member of class OdDgVariable. 
 
This is getUnitsDescription, a member of class OdDgVariable. 
 
This is getVisibleFlag, a member of class OdDgVariable. 
 
This is setDefaultValue, a member of class OdDgVariable. 
 
This is setDisplayName, a member of class OdDgVariable. 
 
This is setExpression, a member of class OdDgVariable. 
 
This is setName, a member of class OdDgVariable. 
 
This is setReadOnlyFlag, a member of class OdDgVariable. 
 
This is setScope, a member of class OdDgVariable. 
 
This is setType, a member of class OdDgVariable. 
 
This is setUnitsDescription, a member of class OdDgVariable. 
 
This is setVisibleFlag, a member of class OdDgVariable. 
 
Called as the first operation as this object is being closed, for database -resident objects only.
When overriding this function:
1) If the OdDgElement's state is incorrect, return something other than eOk.
2) If the parent class's subClose() returns anything other than eOk, immediately return it.
3) If other actions are required before close, do them.
4) Return eOk.
If you must make changes to this object's state, either make them after step 2, or roll them back if step 2 returns false.
The default implementation of this function does nothing but return eOk. This function can be overridden in... more 
 
Called as the first operation as this object is being erased or unerased.
 
 
Notification function called by the ODA Drawings API for DGN immediately before an object is opened.
 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.