Functions

Functions

Workmode mdlSystem_getWorkmode ()
 Query for current workmode. More...
 
bool mdlSystem_setWorkmode (Workmode workmode)
 Reset current workmode to a new mode. More...
 

Detailed Description

Function Documentation

Workmode mdlSystem_getWorkmode ( )

Query for current workmode.

Returns
one of WORKMODE_DGN, WORKMODE_DWG, WORKMODE_V7, etc
See also
mdlSystem_setWorkmode
Remarks
Required Library: mdlbltin.lib

Workmode_System

bool mdlSystem_setWorkmode ( Workmode  workmode)

Reset current workmode to a new mode.

Parameters
[in]workmodeone of WORKMODE_DGN, WORKMODE_DWG, WORKMODE_V7, etc
Returns
true - workmode changed successfully; false - failed to reset workmode
Remarks
Required Library: mdlbltin.lib

Workmode_System


Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.