Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDgDimension Class
Syntax
C++
class OdDgDimension : public OdDgGraphicsElement;

This class is a base class for the different tool types available.

The tool types each have a overridable worldDraw implementation, but generally draw the same way. 

The tool type information stores what type of tool was used to generate the dimension style/settings. 

Each tool class makes some assumptions about the settings, but all settings are available. Each subclass of the OdDgDimension represents a Microstation Dimensioning tool, and the creation of the dimension is controlled by this tool through assumptions about the settings. The tools' creation of the dimension is customizable, but should mimick the Microstation tools. 

Therefore, the behaviour of each tool's class is customizable, although the settings set by a tool should mimick the settings and behaviours of the Microstation tools, resulting in a final predictable rendering by the worldDraw method. 

Ultimately, all dimensions are drawn according to the settings stored to the file, whether stored in a DimStyle in the table, through an ID, or in the settings of the dimension class, and its member settings classes. 

Corresponding C++ library: TG_Db 

 

OdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimensionOdDgDimension

File: DgDimension.h 

Module: API Reference 

Show:
No members matching the current filter
Show:
No members matching the current filter
Show:
No members matching the current filter
Copyright © 2002-2022. Open Design Alliance All rights reserved.