2024 Class
Changes 0
C

RebarShapeParameters

Description:
Class containing functions that create and retrieve shared parameters for RebarShapes.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.Structure.RebarShapeParameters
public class RebarShapeParameters : IDisposable
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetAllRebarShapeParameters(Document) IList<ElementId> List all shape parameters used by all the existing RebarShapes in the specified document.
M GetElementIdForExternalDefinition(Document, ExternalDefinition) ElementId Retrieve the ElementId corresponding to an external rebar shape parameter in the document, if it exists; otherwise, return InvalidElementId.
M GetExternalDefinitionForElementId(Document, ElementId, DefinitionFile) ExternalDefinition Seach a DefinitionFile for the ExternalDefinition corresponding to a parameter in a document.
M GetOrCreateElementIdForExternalDefinition(Document, ExternalDefinition) ElementId 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.
M IsValidExternalDefinition(ExternalDefinition) bool Checks that an ExternalDefinition (shared parameter) may be used as a Rebar Shape parameter.
Name Return Type Description
P IsValidObject bool Specifies whether the .NET object represents a valid Revit entity.