Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLayerState::importData Method
Syntax
C++
static ImportResult importData(OdDbDatabase * pDb, OdStreamBuf* pStreamBuf, OdString* pName = 0);

Imports the LayerState from the specified file to the specified database. 

 

Parameters
Description
pDb
[in] Pointer to the database.
pStreamBuf
[in] Pointer to the StreamBuf object from which the data are to be read.
pName
[out] Optional pointer to the string where imported layer state name will be stored.

Import result. Can be one of the following: 

 

Name
Value
kImported
0
kAlreadyExists
1
Copyright © 2002-2022. Open Design Alliance All rights reserved.