RebarSpliceByRulesResult Class

Class that encapsulates the result of the splice by rules operation.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DB.StructureRebarSpliceByRulesResult

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RebarSpliceByRulesResult : IDisposable

The RebarSpliceByRulesResult type exposes the following members.

Properties
 NameDescription
Public propertyError Identifies the error that occured during the splice by rules operation. In case of success the value of this property will be Success.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the RebarSpliceByRulesResult
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSpliceGeometries Gets the RebarSpliceGeometry collection which is the result of the splice by rules operation.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Remarks
This class contains a collection of RebarSpliceGeometry which is the result of the splice and a RebarSpliceByRulesError member. After splice by rules operation check the Error member for RebarSpliceByRulesError.Success value and retrieve the RebarSpliceGeometry collection. If the splice by rules operation fails the Error member will contain a meaninful error.
See Also