Skip to content

RebarShapeParameters

Public Class

Class containing functions that create and retrieve shared parameters for RebarShapes.

Inheritance Hierarchy

System.Object
Autodesk.Revit.DB.Structure.RebarShapeParameters

Namespace: Autodesk.Revit.DB.Structure

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public class RebarShapeParameters : IDisposable

The RebarShapeParameters type exposes the following members.

Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.


Methods

Name

Description


Public Method

Releases all resources used by the RebarShapeParameters


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method
Static Member
GetAllRebarShapeParameters

List all shape parameters used by all the existing RebarShapes in the specified document.


Public Method
Static Member
GetElementIdForExternalDefinition

Retrieve the ElementId corresponding to an external rebar shape parameter in the document, if it exists; otherwise, return InvalidElementId.


Public Method
Static Member

Seach a DefinitionFile for the ExternalDefinition corresponding to a parameter in a document.


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method
Static Member
GetOrCreateElementIdForExternalDefinition

Retrieve the ElementId corresponding to an external rebar shape parameter in the document, if it exists; otherwise, add the parameter to the document and generate a new ElementId.


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method
Static Member
IsValidExternalDefinition

Checks that an ExternalDefinition (shared parameter) may be used as a Rebar Shape parameter.


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)