C# Class Revit.SDK.Samples.SpotDimension.CS.SpotDimensionParams

this class is used to get some information of SpotDimension's Parameters
Mostrar archivo Open project: AMEE/revit

Public Methods

Method Description
GetParameterTable ( Autodesk spotDimension ) : DataTable

get a datatable contains parameters'information of SpotDimension here, almost only get Type Parameters of SpotDimension

SpotDimensionParams ( Document document ) : System

a constructor of class SpotDimensionParams

Private Methods

Method Description
AddDataRow ( string parameterName, string Value, DataTable parameterTable ) : void

add one row to datatable

CreateTable ( ) : DataTable

Create an empty table with parameter's name column and value column

SpotDimensionParams ( ) : System

static constructor used to initialize lists

Method Details

GetParameterTable() public method

get a datatable contains parameters'information of SpotDimension here, almost only get Type Parameters of SpotDimension
public GetParameterTable ( Autodesk spotDimension ) : DataTable
spotDimension Autodesk the SpotDimension need to be dealt with
return System.Data.DataTable

SpotDimensionParams() public method

a constructor of class SpotDimensionParams
public SpotDimensionParams ( Document document ) : System
document Document external command document of Revit
return System