C# Class Revit.SDK.Samples.CreateSimpleAreaRein.CS.GeomHelper

provide utility method to get geometry data for creating AreaReinforcement on wall or floor
Show file Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
GeomHelper ( ) : System

constructor, initialize m_currentDoc

GetFloorGeom ( Floor floor, System.Reference &refer, CurveArray &curves ) : bool

get necessary data when create AreaReinforcement on a horizontal floor

GetWallGeom ( Wall wall, System.Reference &refer, CurveArray &curves ) : bool

get necessary data when create AreaReinforcement on a straight wall

Method Details

GeomHelper() public method

constructor, initialize m_currentDoc
public GeomHelper ( ) : System
return System

GetFloorGeom() public method

get necessary data when create AreaReinforcement on a horizontal floor
public GetFloorGeom ( Floor floor, System.Reference &refer, CurveArray &curves ) : bool
floor Floor floor on which to create AreaReinforcemen
refer System.Reference reference of the horizontal face on the floor
curves CurveArray curves compose the horizontal face of the floor
return bool

GetWallGeom() public method

get necessary data when create AreaReinforcement on a straight wall
public GetWallGeom ( Wall wall, System.Reference &refer, CurveArray &curves ) : bool
wall Wall wall on which to create AreaReinforcemen
refer System.Reference reference of the vertical straight face on the wall
curves CurveArray curves compose the vertical face of the wall
return bool