API Reference > OdDb Classes > OdDbDynBlockReference Class > OdDbDynBlockReference Methods > convertToStaticBlock Method > OdDbDynBlockReference::convertToStaticBlock Method ()
OdDbDynBlockReference::convertToStaticBlock Method ()
Syntax
C++
bool convertToStaticBlock(); bool convertToStaticBlock(const OdString& newBlockName);
Parameters 
Description 
const OdString& newBlockName 
[in] New block name. 

Converts the dynamic block reference to a static block. 

 

If newBlockName is not specified, an anonymous block is created.

Copyright © 2002–2021. Open Design Alliance. All rights reserved.