API Reference > OdDb Classes > OdDbSectionSettings Class > OdDbSectionSettings Methods > OdDbSectionSettings::setGenerationOptions Method
OdDbSectionSettings::setGenerationOptions Method
Syntax
C++
void setGenerationOptions(OdDbSectionSettings::SectionType nSecType, OdDbSectionSettings::Generation nOptions);
Parameters 
Description 
OdDbSectionSettings::SectionType nSecType 
[in] Section type for which generation options will be set.  
OdDbSectionSettings::Generation nOptions 
[in] Generation options. 

Sets an enum value stating the current generation options. 

 

Possible section types are:

kLiveSection - 0x1, 
k2dSection - 0x2, 
k3dSection - 0x4 

Possible generation options are:

kSourceAllObjects - 0x1, 
kSourceSelectedObjects - 0x2, 
kDestinationNewBlock - 0x10, 
kDestinationReplaceBlock - 0x20, 
kDestinationFile - 0x40 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.