API Reference > OdDb Classes > OdDbBlendOptions Class > OdDbBlendOptions Methods > OdDbBlendOptions::setDriveMode Method
OdDbBlendOptions::setDriveMode Method

The drive mode property defines which section(s) "drive" the creation of the  

planes containing the planar guides. Any of the two input sections can be  

selected for that role, or both of them can be used at the same time (the  

default value). The implementation uses the driving sections in conjunction with  

the coplanar point and direction (if supplied). 

 

Syntax
C++
OdResult setDriveMode(OdDbBlendOptions::DriveModeType val);
Parameters 
Description 
OdDbBlendOptions::DriveModeType val 
Input integer of value 0, 1, or 2 representing kDriveModeFirst, kDriveModeSecond or DriveModeBoth respectively. 

Return Acad::eOk if successful

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