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