API Reference > Classes > Family Classes > OdBmFamilyInstance Class > OdBmFamilyInstance Methods > OdBmFamilyInstance::setRotation Method
OdBmFamilyInstance::setRotation Method
Syntax
C++
OdResult setRotation(const double dAngle, const OdGeVector3d& axis, const OdGePoint3d& origin);
Parameters 
Description 
const double dAngle 
[in] rotation angle.  
const OdGeVector3d& axis 
[in] axis of rotation.  
const OdGePoint3d& origin 
[in] origin of rotation.
 

Returns eOk if successful or an appropriate error code in the other case.

Rotates the FamilyInstance 

 

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.