C# Class Case.ObjectStyles.Data.clsSettings

Show file Open project: WeConnect/case-apps Class Usage Examples

Public Properties

Property Type Description
AnalyticalCatSet List
AnnoCatSet List
FamReport List
ModelCatSet List

Public Methods

Method Description
DocTitle ( ) : string

Get the Document's Title without the RVT extension

FamiliesByCategory ( Category cat ) : List

Get All Families based on Category

LogData ( string logText, Exception ex ) : void
OrganizeCategorySets ( ) : void

Grab all the Current Documents Categories and Split them into 3 lists to match UI Tabs.

Report ( List cats ) : List

Report Rows

SaveDataToCsv ( string filePath, List cats ) : void

Save the Data to File

SaveFamDataToCsv ( string filePath ) : void

Save Family Data to File

clsSettings ( ExternalCommandData cmd ) : System

Private Methods

Method Description
Default3DView ( ) : View

Gets a 3D View (Simplest View Form for all Categories)

Method Details

DocTitle() public method

Get the Document's Title without the RVT extension
public DocTitle ( ) : string
return string

FamiliesByCategory() public method

Get All Families based on Category
public FamiliesByCategory ( Category cat ) : List
cat Category Category Input
return List

LogData() public method

public LogData ( string logText, Exception ex ) : void
logText string
ex System.Exception
return void

OrganizeCategorySets() public method

Grab all the Current Documents Categories and Split them into 3 lists to match UI Tabs.
public OrganizeCategorySets ( ) : void
return void

Report() public method

Report Rows
public Report ( List cats ) : List
cats List
return List

SaveDataToCsv() public method

Save the Data to File
public SaveDataToCsv ( string filePath, List cats ) : void
filePath string Where we going?
cats List List of Categories to Process
return void

SaveFamDataToCsv() public method

Save Family Data to File
public SaveFamDataToCsv ( string filePath ) : void
filePath string Where we going?
return void

clsSettings() public method

public clsSettings ( ExternalCommandData cmd ) : System
cmd ExternalCommandData
return System

Property Details

AnalyticalCatSet public property

public List AnalyticalCatSet
return List

AnnoCatSet public property

public List AnnoCatSet
return List

FamReport public property

public List FamReport
return List

ModelCatSet public property

public List ModelCatSet
return List