C# Class RevitLookup.Test.TestEStorage

Inheritance: RevitLookupTestFuncs
Mostrar archivo Open project: jeremytammik/RevitLookup

Public Methods

Method Description
AddSchema2andEntity ( ) : void

Add an entity from EStorageBundle_2 to all selected elements.

DeleteAllEStorage ( ) : void

Delete all EStorage from the document, even if the user does not have read/write permission for it.

DeleteAllEStorageFromSelectedElements ( ) : void

Delete all EStorage from the document, even if the user does not have read/write permission for it.

DeleteAllEStorageFromSelectedElementsWithPrompting ( ) : void
TestEStorage ( Autodesk app ) : System

Add methods to add entities to selected elements or delete them as necessary here. Note that each method that adds an entity and schema is implemented in a separate class in .\EStroageSchemaDefinitions. See EStorageBundle1.cs for an example.

Private Methods

Method Description
AddSchemaAndEntityImplementation ( EStorageBundle bundle ) : void

Called by all methods defined partial classes in .\EStorageSchemaDefinitions. See EStorageBundle1.cs for an example.

DeleteStorageFromElementImplementation ( bool prompt ) : void

Delete all EStorage from the document, even if the user does not have read/write permission for it.

Method Details

AddSchema2andEntity() public method

Add an entity from EStorageBundle_2 to all selected elements.
public AddSchema2andEntity ( ) : void
return void

DeleteAllEStorage() public method

Delete all EStorage from the document, even if the user does not have read/write permission for it.
public DeleteAllEStorage ( ) : void
return void

DeleteAllEStorageFromSelectedElements() public method

Delete all EStorage from the document, even if the user does not have read/write permission for it.
public DeleteAllEStorageFromSelectedElements ( ) : void
return void

DeleteAllEStorageFromSelectedElementsWithPrompting() public method

TestEStorage() public method

Add methods to add entities to selected elements or delete them as necessary here. Note that each method that adds an entity and schema is implemented in a separate class in .\EStroageSchemaDefinitions. See EStorageBundle1.cs for an example.
public TestEStorage ( Autodesk app ) : System
app Autodesk
return System