Functions
DynamicBuffers

Functions

void mdlDynamic_loadElement (MSElementP el, DgnModelRefP modelRef, UInt32 filePos)
 Loads MicroStation's internal dynamic buffer from an element. More...
 
void mdlDynamic_setElmDescr (MSElementDescrP dynDscr)
 Loads MicroStation's internal dynamic buffer from an element descriptor. More...
 

Detailed Description

Function Documentation

void mdlDynamic_loadElement ( MSElementP  el,
DgnModelRefP  modelRef,
UInt32  filePos 
)

Loads MicroStation's internal dynamic buffer from an element.

Parameters
[in]elpointer to element
[in]modelRefelement source
[in]filePosfile position
Remarks
If a selection set is active, mdlDynamic_loadElement ignores all of its parameters and loads all of the elements in the selection set into the dynamic buffer.
See also
mdlDynamic_setElmDescr mdlLocate_identifyElement userState_dynamicUpdate userState_complexDynamicUpdate
void mdlDynamic_setElmDescr ( MSElementDescrP  dynDscr)

Loads MicroStation's internal dynamic buffer from an element descriptor.

The element descriptor can either contain a single element, a complex element, or a list of unrelated (possibly complex) elements.

Parameters
[in]dynDscrptr to element descr to load
Remarks
Ownership of the element descriptor pointed to by descrP is passed to MicroStation, and MicroStation will free it when it is finished with it. This is one of the few cases in MDL where an application allocates an element descriptor and does not have to free it.
Returns
mdlDynamic_setElmDescr is of type void. It returns no value.
See also
mdlDynamic_loadElement mdlLocate_identifyElement userState_dynamicUpdate userState_complexDynamicUpdate

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