API Reference > Classes > Export Classes > TB_IFCEXPORT Namespace > Classes > GeometryUtil Class > GeometryUtil Methods > GeometryUtil::get2DArcOrLineFromSymbol Method
GeometryUtil::get2DArcOrLineFromSymbol Method
Syntax
C++
static OdGeCurve3dPtrArray get2DArcOrLineFromSymbol(const OdBmFamilyInstance* element, bool allCurveType, bool inclArc = false, bool inclLine = false, bool inclEllipse = false, bool inclSpline = false);
Parameters 
Description 
const OdBmFamilyInstance* element 
[in] family instance  
bool allCurveType 
[in] set it to true if all 2D based curves are to be included.  
bool inclArc = false 
[in] set it to true if only the Arc to be included.  
bool inclLine = false 
[in] set it to true if only Line to be included.  
bool inclEllipse = false 
[in] set it to true if only Ellipse to be included.  
bool inclSpline = false 
[in] set it to true if only Splines to be included (incl. HermitSpline and NurbSpline).
 

the array of 2D curves found

Get Arc or Line from Family Symbol given a family instance. This works by finding the related 2D geometries that can be obtained from the Plan View 

 

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