C# Class SampleTool.Helper.ParameterHelper

Inheritance: IParameterHelper
Show file Open project: ArupAus/RvtUnit Class Usage Examples

Public Methods

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

Private Methods

Method Description
GetParameterFromProjectInfo ( string parameterName ) : Parameter

Gets the revit parameter from project info

Method Details

GetParameterValueAsString() public method

public GetParameterValueAsString ( string parameterName ) : string
parameterName string
return string

HasParameter() public method

public HasParameter ( string parameterName ) : bool
parameterName string
return bool

ParameterHelper() public method

public ParameterHelper ( Document doc ) : System
doc Document
return System

SetParameterValue() public method

public SetParameterValue ( string parameterName, string value ) : bool
parameterName string
value string
return bool