C# Class Revit.SDK.Samples.PathReinforcement.CS.PathReinProperties

Mostra file Open project: AMEE/revit Class Usage Examples

Protected Properties

Property Type Description
m_pathRein Autodesk.Revit.DB.Structure.PathReinforcement

Private Properties

Property Type Description
ValidateInch System.Boolean

Public Methods

Method Description
PathReinProperties ( Autodesk pathRein ) : System

constructor of class

Update ( ) : void

update the parameters of path reinforcement.

Protected Methods

Method Description
GetParameter ( String name ) : Parameter

Get parameter by given name.

SetPropertyReadOnly ( string propertyName, bool readOnly ) : void

set some properties to read only or not

Private Methods

Method Description
ValidateInch ( String input ) : System.Boolean

validate inch like this 124'- 9".

Method Details

GetParameter() protected method

Get parameter by given name.
protected GetParameter ( String name ) : Parameter
name String name of parameter
return Parameter

PathReinProperties() public method

constructor of class
public PathReinProperties ( Autodesk pathRein ) : System
pathRein Autodesk
return System

SetPropertyReadOnly() protected method

set some properties to read only or not
protected SetPropertyReadOnly ( string propertyName, bool readOnly ) : void
propertyName string name of property
readOnly bool read only or not
return void

Update() public method

update the parameters of path reinforcement.
public Update ( ) : void
return void

Property Details

m_pathRein protected_oe property

cache path reinforcement object.
protected Autodesk.Revit.DB.Structure.PathReinforcement m_pathRein
return Autodesk.Revit.DB.Structure.PathReinforcement