RebarSpliceByRulesResult
Class that encapsulates the result of the splice by rules operation.
Inheritance Hierarchy
System.Object
Autodesk.Revit.DB.Structure.RebarSpliceByRulesResult
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class RebarSpliceByRulesResult : IDisposableThe RebarSpliceByRulesResult type exposes the following members.
Properties
Name
Description
Public Property
Error
Identifies the error that occured during the splice by rules operation. In case of success the value of this property will be Success.
Public Property
IsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Methods
Name
Description
Public Method
Dispose
Releases all resources used by the RebarSpliceByRulesResult
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object)
Public Method
GetSpliceGeometries
Gets the RebarSpliceGeometry collection which is the result of the splice by rules operation.
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object)
Public Method
ToString
Returns a string that represents the current object.
(Inherited from Object)
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.