C# Class Revit.SDK.Samples.BoundaryConditions.CS.BoundaryConditionsData

user select a element. If the selected element has boundary conditions, display its parameter values else create one. this class prepare the needed data(the selected element type and its BC information) and operate the Revit API
ファイルを表示 Open project: AMEE/revit Class Usage Examples

Public Methods

Method Description
BoundaryConditionsData ( Autodesk element ) : System

construct function

CreateBoundaryConditions ( ) : bool

According to the selected element create corresponding Boundary Conditions. Add it into m_bCsDictionary.

Private Methods

Method Description
CreateAreaBC ( Autodesk hostElement ) : Autodesk.Revit.DB.BoundaryConditions

Create a new Area BoundaryConditions Element. All the parameter default as Fixed.

CreateLineBC ( Autodesk hostElement ) : Autodesk.Revit.DB.BoundaryConditions

Create a new Line BoundaryConditions Element. All the parameter default as Fixed.

CreatePointBC ( Autodesk hostElement ) : Autodesk.Revit.DB.BoundaryConditions

Create a new Point BoundaryConditions Element. All the parameter default as Fixed.

SetBCHostMap ( Autodesk element ) : void

store the selected element and its corresponding BCs

Method Details

BoundaryConditionsData() public method

construct function
public BoundaryConditionsData ( Autodesk element ) : System
element Autodesk host element
return System

CreateBoundaryConditions() public method

According to the selected element create corresponding Boundary Conditions. Add it into m_bCsDictionary.
public CreateBoundaryConditions ( ) : bool
return bool