C# Class RevitLookup.ExIm.Importer

ファイルを表示 Open project: jeremytammik/RevitLookup

Public Methods

Method Description
Import ( ) : void

Import ( Category category ) : void

Importer ( XmlDocument xmlDoc, System.Windows.Forms.Document activeDoc ) : System

Importer ( string xmlFileName, System.Windows.Forms.Document activeDoc ) : System

Private Methods

Method Description
GetAllParams ( Element elem ) : ArrayList

Gets the consolidated list of params for an element, ie. its own params + its' family's params

GetElementId ( string elementName ) : ElementId

GetElementsOfType ( Type type ) : ElementSet

Update ( Element elem ) : void

UpdateFamily ( Element elem, XmlAttributeCollection attribsColl ) : void

UpdateFamilySymbol ( Family family, FamilyInstance famInst, string familySymbolString ) : void

UpdateParams ( ArrayList paramsList, XmlAttributeCollection attribsColl ) : void

Tries to update each parameter, if unsuccessfull it logs the error

Method Details

Import() public method

public Import ( ) : void
return void

Import() public method

public Import ( Category category ) : void
category Category
return void

Importer() public method

public Importer ( XmlDocument xmlDoc, System.Windows.Forms.Document activeDoc ) : System
xmlDoc System.Xml.XmlDocument
activeDoc System.Windows.Forms.Document
return System

Importer() public method

public Importer ( string xmlFileName, System.Windows.Forms.Document activeDoc ) : System
xmlFileName string
activeDoc System.Windows.Forms.Document
return System