C# Class SampleTool.Helper.ParameterHelper

Inheritance: IParameterHelper
Afficher le fichier Open project: ArupAus/RvtUnit Class Usage Examples

Méthodes publiques

Méthode Description
GetParameterValueAsString ( string parameterName ) : string
HasParameter ( string parameterName ) : bool
ParameterHelper ( Document doc ) : System
SetParameterValue ( string parameterName, string value ) : bool

Private Methods

Méthode Description
GetParameterFromProjectInfo ( string parameterName ) : Parameter

Gets the revit parameter from project info

Method Details

GetParameterValueAsString() public méthode

public GetParameterValueAsString ( string parameterName ) : string
parameterName string
Résultat string

HasParameter() public méthode

public HasParameter ( string parameterName ) : bool
parameterName string
Résultat bool

ParameterHelper() public méthode

public ParameterHelper ( Document doc ) : System
doc Document
Résultat System

SetParameterValue() public méthode

public SetParameterValue ( string parameterName, string value ) : bool
parameterName string
value string
Résultat bool