Namespace:
Autodesk.Revit.DB
CylindricalFace
Class
Description:
A cylindrical face of a 3d solid or open shell.
A cylindrical face of a 3d solid or open shell.
Remarks:
For details on the parameterization, refer to the documentation for CylindricalSurface.
For details on the parameterization, refer to the documentation for CylindricalSurface.
Inheritance Hierarchy:
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.CylindricalFace
System.Object
Autodesk.Revit.DB.APIObject
Autodesk.Revit.DB.GeometryObject
Autodesk.Revit.DB.Face
Autodesk.Revit.DB.CylindricalFace
Examples
private void GetCylindricalFaceInfo(Face face)
{
CylindricalFace cylindricalFace = face as CylindricalFace;
if (null != cylindricalFace)
{
XYZ axis = cylindricalFace.Axis;
XYZ origin = cylindricalFace.Origin;
XYZ radius = cylindricalFace.get_Radius(0);
}
}