C# Class Revit.SDK.Samples.NewHostedSweep.CS.ModificationData

This class contains the data for hosted sweep modification.
Show file Open project: AMEE/revit Class Usage Examples

Private Properties

Property Type Description
m_creationData_EdgeAdded void
m_creationData_EdgeRemoved void
m_creationData_SymbolChanged void

Public Methods

Method Description
CommitTransaction ( ) : TransactionStatus
ModificationData ( HostedSweep elem, CreationData creationData ) : System

Constructor with HostedSweep and CreationData as parameters.

RollbackTransaction ( ) : TransactionStatus
ShowElement ( ) : void

Show the element in a good view.

StartTransaction ( ) : TransactionStatus

Protected Methods

Method Description
GetParameter ( String name ) : Parameter

Get parameter by given name.

Private Methods

Method Description
m_creationData_EdgeAdded ( System.Edge edge ) : void

Add the edge to the HostedSweep.

m_creationData_EdgeRemoved ( System.Edge edge ) : void

Remove the edge from the HostedSweep.

m_creationData_SymbolChanged ( ElementType sym ) : void

Change the symbol of the HostedSweep.

Method Details

CommitTransaction() public method

public CommitTransaction ( ) : TransactionStatus
return TransactionStatus

GetParameter() protected method

Get parameter by given name.
protected GetParameter ( String name ) : Parameter
name String name of parameter
return Parameter

ModificationData() public method

Constructor with HostedSweep and CreationData as parameters.
public ModificationData ( HostedSweep elem, CreationData creationData ) : System
elem HostedSweep Element to modify
creationData CreationData CreationData
return System

RollbackTransaction() public method

public RollbackTransaction ( ) : TransactionStatus
return TransactionStatus

ShowElement() public method

Show the element in a good view.
public ShowElement ( ) : void
return void

StartTransaction() public method

public StartTransaction ( ) : TransactionStatus
return TransactionStatus