C# Class BuildingCoder.CmdPurgeLineStyles

Inheritance: IExternalCommand
Exibir arquivo Open project: jeremytammik/the_building_coder_samples

Public Methods

Method Description
Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : Result

External command Execute method.

PurgeLineStyles_macro_mainline ( ) : void

Revit macro mainline. Uncomment the line referencing 'this'.

Private Methods

Method Description
PurgeGraphicStyles ( Document doc, string name_substring ) : void

Purge all graphic styles whose name contains the given substring. Watch out what you do! If your substring is empty, this might delete all graphic styles in the entire project!

Method Details

Execute() public method

External command Execute method.
public Execute ( ExternalCommandData commandData, string &message, ElementSet elements ) : Result
commandData ExternalCommandData
message string
elements ElementSet
return Result

PurgeLineStyles_macro_mainline() public method

Revit macro mainline. Uncomment the line referencing 'this'.
public PurgeLineStyles_macro_mainline ( ) : void
return void