HIOUtilityDGN

class HIOUtilityDGN

The HIOUtilityDGN is the integration class for Open Design Alliances (ODA) DGNDirect Toolkit. Using this integration class allows you to import Microstations’s DGN file. This integration is based on DGN Toolkit version 2.xx To use this integration class you will need to obtain a license of DGNDirect Toolkit from ODA.

Inherits from: HInputHandler

Methods

HIOUtilityDGN::HIOUtilityDGN()

Constructs an HIOUtilityDGN object.

HIOUtilityDGN::~HIOUtilityDGN()
void HIOUtilityDGN::RegisterInputHandlerTypes()

virtual

This method registers the “dgn” extension to this handler as an input handler.

char const *HIOUtilityDGN::GetOutputName()

Returns

A character pointer denoting the name of the handler.
char const *HIOUtilityDGN::GetInputName()

virtual

Returns

A character pointer denoting the name of the input handler.
HInputHandlerStyle HIOUtilityDGN::GetInputStyle()

virtual

Returns

The type of input style which is HInputHandlerStyleModel.
char const *HIOUtilityDGN::GetInputTypesString()

virtual

Returns

The input extension type that is handled by HIOUtilityDGN which is “dgn”.
HFileInputResult HIOUtilityDGN::FileInputByKey(char const *FileName, HC_KEY key, HInputHandlerOptions *options)

virtual

This method reads the DGN file into the segment tree underneath given key.

Parameters

filename: The name of the file to load.

key: The HOOPS segment key to load model data into.

options: An options class containing any needed extra information for operation.

Returns

The #HFileInputResult result of the input operation.
HFileInputResult HIOUtilityDGN::FileInputByKey(wchar_t const *FileName, HC_KEY key, HInputHandlerOptions *options)
HFileInputResult HIOUtilityDGN::FileInputByKey(unsigned short const *FileName, HC_KEY key, HInputHandlerOptions *options)

virtual

This method reads the DGN file into the segment tree underneath given key.

Parameters

filename: The UNICODE name of the file to load.

key: The HOOPS segment key to load model data into.

options: An options class containing any needed extra information for operation.

Returns

The #HFileInputResult result of the input operation.
void HIOUtilityDGN::InitDGNDirect()

This method Initializes Runtime Extension environment and DgnDirect toolkit

void HIOUtilityDGN::ShutdownDGNDirect()

This method Uninitializes the DgnDirect toolkit.