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
Afficher le fichier Open project: AMEE/revit Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

construct function
public BoundaryConditionsData ( Autodesk element ) : System
element Autodesk host element
Résultat System

CreateBoundaryConditions() public méthode

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