FabricationPart
Description:
Represents a fabrication component in the Autodesk Revit MEP product.
Represents a fabrication component in the Autodesk Revit MEP product.
public class FabricationPart : Element
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| AddPartCustomData(Int32) | Boolean | Add custom data type to the fabrication part. The new data gets the default value defined by the fabrication configuration. | |
| AdjustEndLength(Connector, Double, Boolean) | Double | Adjusts the length for the specified connector. | |
| AlignPartByConnector(Document, Connector, XYZ, Double, Double, Double, FabricationPartJustification, Transform) | Boolean | Align the part by its connector to a point and rotation in free space. | |
| AlignPartByConnectors(Document, Connector, Connector, Double) | Boolean | Moves fabrication part by one of its connectors and aligns it to another connector. | |
| AlignPartByConnectorToConnector(Document, Connector, Connector, Double, Double, FabricationPartJustification) | Boolean | Align a part by its connector to another connector. This will replace the FabricationPart::AlignPartByConnectors method. | |
| AlignPartByInsertionPoint(Document, ElementId, XYZ, Double, Double, Double, FabricationPartJustification, Transform) | Boolean | Align the part by its insertion point to a point and rotation in free space. | |
| AlignPartByInsertionPointAndCutInToStraight(Document, ElementId, ElementId, XYZ, Double, Double, Boolean) | Boolean | Align the part by its insertion point to a point and rotation on a straight. This will automatically size and connect the part being cut into, if possible. | |
| ArePhasesModifiable() | Boolean | Returns true if the properties CreatedPhaseId and DemolishedPhaseId can be modified for this Element. (Inherited from Element ) | Element |
| CanAdjustEndLength(Connector) | Boolean | Checks if the end of fabrication part can be adjusted. | |
| CanASlopeBeApplied() | Boolean | This will test if a slope can be applied to the part and maintain connections with any connected parts. | |
| CanBeHidden(View) | Boolean | Indicates if the element can be hidden in the view. (Inherited from Element ) | Element |
| CanBeLocked() | Boolean | Identifies if the element can be locked. (Inherited from Element ) | Element |
| CanDeleteSubelement(Subelement) | Boolean | Checks if given subelement can be removed from the element. (Inherited from Element ) | Element |
| CanFlipPart() | Boolean | Validates if the fabrication part is one of the supported fabrication part types that can be flipped. | |
| CanHaveTypeAssigned() | Boolean | Identifies if the element can have a type assigned. (Inherited from Element ) | Element |
| CanSplitStraight(XYZ) | Boolean | Validates if the straight can be split into two at the passed in point. | |
| ChangeTypeId(ElementId) | ElementId | Changes the type of the element. (Inherited from Element ) | Element |
| ConnectAndCouple(Document, Connector, Connector) | Boolean | Makes a connection between the specified connectors and adds coupling if necessary. | |
| Create(Document, FabricationItemFile, ElementId) | FabricationPart | Creates a fabrication part element from a fabrication item file. | |
| Create(Document, FabricationServiceButton, Int32, ElementId) | FabricationPart | Creates a fabrication part element based on button. | |
| Create(Document, FabricationServiceButton, Double, Double, ElementId) | FabricationPart | Creates a fabrication part element based on button and size. | |
| CreateHanger(Document, FabricationServiceButton, Int32, ElementId) | FabricationPart | Creates a free placed hanger. | |
| CreateHanger(Document, FabricationServiceButton, ElementId, Connector, Double, Boolean) | FabricationPart | Creates a hanger on the fabrication part. | |
| CreateHanger(Document, FabricationServiceButton, Int32, ElementId, Connector, Double, Boolean) | FabricationPart | Creates a hanger on the fabrication part. | |
| DeleteEntity(Schema) | Boolean | Deletes the existing entity created by %schema% in the element (Inherited from Element ) | Element |
| DeleteSubelement(Subelement) | Boolean | Removes a subelement from the element. (Inherited from Element ) | Element |
| DeleteSubelements(IList<Subelement>) | Boolean | Removes the subelements from the element. (Inherited from Element ) | Element |
| Dispose() | None | (Inherited from Element ) | Element |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| EvaluateAllParameterValues() | IList<EvaluatedParameter> | Evaluates all the parameters' values of the element. (Inherited from Element ) | Element |
| EvaluateParameterValues(ISet<ElementId>) | IList<EvaluatedParameter> | Evaluate the parameters' values of the element on the given parameter ID set. (Inherited from Element ) | Element |
| Flip() | Boolean | Flips the fabrication part that is directionally oriented (tees, crosses, valves, dampers, etc.) to the opposite direction. | |
| GetAirturnCount() | Int32 | Gets the number of air turns for the fabrication part. | |
| GetAirturnInfo(Int32, Boolean%) | Int32 | Gets the air turn information for the fabrication part. | |
| GetAllFabricationBodyConnectorDefinitions(Connector) | IList<Int32> | Gets all connectors that are valid to be assigned to the part for a specified body connector | |
| GetAllFabricationDoubleWallConnectorDefinitions(Connector) | IList<Int32> | Gets all connectors that are valid to be assigned to the part for a specified double wall connector | |
| GetCalculatedDimensionValue(FabricationDimensionDefinition) | String | Gets the calculated dimension value. | |
| GetDependentElements(ElementFilter) | IList<ElementId> | Get all elements that, from a logical point of view, are the children of this Element. (Inherited from Element ) | Element |
| GetDimensionCalculatedOptions(FabricationDimensionDefinition) | IList<String> | Gets the calculated options of the fabrication dimension. | |
| GetDimensionDefinitions() | IList<FabricationDimensionDefinition> | Gets a copy of current fabrication dimension definitions. | |
| GetDimensions() | IList<FabricationDimensionDefinition> | Obsolete. Gets all fabrication dimensions. | |
| GetDimensionValue(FabricationDimensionDefinition) | Double | Gets the value of the fabrication dimension, returns value in Revit internal units. | |
| GetEntity(Schema) | Entity | Returns the existing entity corresponding to the Schema if it has been saved in the Element, or an invalid entity otherwise. (Inherited from Element ) | Element |
| GetEntitySchemaGuids() | IList<Guid> | Returns the Schema guids of any Entities stored in this element. (Inherited from Element ) | Element |
| GetExternalFileReference() | ExternalFileReference | Gets information pertaining to the external file referenced by the element. (Inherited from Element ) | Element |
| GetExternalResourceReference(ExternalResourceType) | ExternalResourceReference | Gets the ExternalResourceReference associated with a specified external resource type. (Inherited from Element ) | Element |
| GetExternalResourceReferenceExpanded(ExternalResourceType) | IList<ExternalResourceReference> | Gets the collection of ExternalResourceReference associated with a specified external resource type. (Inherited from Element ) | Element |
| GetExternalResourceReferences() | IDictionary<ExternalResourceType,ExternalResourceReference> | Gets the map of the external resource references referenced by the element. (Inherited from Element ) | Element |
| GetExternalResourceReferencesExpanded() | ExternalResourceType | Gets the expanded map of the external resource references referenced by the element. (Inherited from Element ) | Element |
| GetGeneratingElementIds(GeometryObject) | ICollection<ElementId> | Returns the ids of the element(s) that generated the input geometry object. (Inherited from Element ) | Element |
| GetGeometryObjectFromReference(Reference) | GeometryObject | Retrieve one geometric primitive contained in the element given a reference. (Inherited from Element ) | Element |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetHostedInfo() | FabricationHostedInfo | Gets the fabrication hosted element information. | |
| GetInsulationLiningGeometry() | GeometryElement | Gets insulation and lining geometry for this fabrication part. | |
| GetMaterialArea(ElementId, Boolean) | Double | Gets the area of the material with the given id. (Inherited from Element ) | Element |
| GetMaterialIds(Boolean) | ICollection<ElementId> | Gets the element ids of all materials present in the element. (Inherited from Element ) | Element |
| GetMaterialVolume(ElementId) | Double | Gets the volume of the material with the given id. (Inherited from Element ) | Element |
| GetMonitoredLinkElementIds() | IList<ElementId> | Provides the link instance IDs when the element is monitoring. (Inherited from Element ) | Element |
| GetMonitoredLocalElementIds() | IList<ElementId> | Provides the local element IDs when the element is monitoring. (Inherited from Element ) | Element |
| GetOptionCount() | Int32 | Gets the number of fabrication options for this part. | |
| GetOptionDefinitions() | IList<FabricationOptionDefinition> | Gets a copy of current fabrication option definitions. | |
| GetOptionValue(FabricationOptionDefinition) | Double | Gets the value of specified fabrication option definition. | |
| GetOrderedParameters() | IList<Parameter> | Gets the parameters associated to the element in order. (Inherited from Element ) | Element |
| GetParameter(ForgeTypeId) | Parameter | Retrieves a parameter from the element given identifier. (Inherited from Element ) | Element |
| GetParameterFormatOptions(ElementId) | FormatOptions | Returns a FormatOptions override for the element Parameter, or a default FormatOptions if no override exists. (Inherited from Element ) | Element |
| GetParameters(String) | IList<Parameter> | Retrieves the parameters from the element via the given name. (Inherited from Element ) | Element |
| GetPartAncillaryUsage() | IList<FabricationAncillaryUsage> | Gets a list of all ancillary usage information for the part. | |
| GetPartCustomDataInteger(Int32) | Int32 | Get custom data integer value for the specified custom data. | |
| GetPartCustomDataReal(Int32) | Double | Get custom data real value for the specified custom data. | |
| GetPartCustomDataText(Int32) | String | Get custom data text for the specified custom data. | |
| GetPhaseStatus(ElementId) | ElementOnPhaseStatus | Gets the status of a given element in the input phase (Inherited from Element ) | Element |
| GetProductListEntryCount() | Int32 | Gets the number of product entries for this part. | |
| GetProductListEntryName(Int32) | String | Gets the specified product list entry name. | |
| GetRodInfo() | FabricationRodInfo | Gets the fabrication rod information. | |
| GetSeamCount() | Int32 | Gets the number of seams for the fabrication part. | |
| GetSeamInfo(Int32, Boolean%) | Int32 | Gets the seam information for the fabrication part. | |
| GetStiffenerCount() | Int32 | Gets the number of stiffeners for the fabrication part. | |
| GetStiffenerInfo(Int32, Boolean%) | Int32 | Gets the stiffener information for the fabrication part. | |
| GetSubelements() | IList<Subelement> | Returns the collection of element subelements. (Inherited from Element ) | Element |
| GetTransform() | Transform | Gets the transformation matrix of the fabrication part element. | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| GetTypeId() | ElementId | Returns the identifier of this element's type. (Inherited from Element ) | Element |
| GetValidTypes() | ICollection<ElementId> | Obtains a set of types that are valid for this element. (Inherited from Element ) | Element |
| GetVersionHistory() | IList<FabricationVersionInfo> | Gets a history of version change information about the current part. | |
| HasCustomData(Int32) | Boolean | Check if fabrication part contains custom data already. | |
| HasNoConnections() | Boolean | Checks to see if all the fabrication part's connectors are open. | |
| HasPhases() | Boolean | Returns true if this Element has the properties CreatedPhaseId and DemolishedPhaseId. (Inherited from Element ) | Element |
| IsAHanger() | Boolean | Checks whether it is a hanger. | |
| IsAStraight() | Boolean | Checks whether it is a straight part. | |
| IsATap() | Boolean | Checks if it is any sort of tap. | |
| IsCreatedPhaseOrderValid(ElementId) | Boolean | Returns true if createdPhaseId and demolishedPhaseId are in order. (Inherited from Element ) | Element |
| IsDemolishedPhaseOrderValid(ElementId) | Boolean | Returns true if createdPhaseId and demolishedPhaseId are in order. (Inherited from Element ) | Element |
| IsDimensionCalculated(FabricationDimensionDefinition) | Boolean | Checks if the fabrication dimension is calculated. | |
| IsExternalFileReference() | Boolean | Determines whether this Element represents an external file. (Inherited from Element ) | Element |
| IsHidden(View) | Boolean | Identifies if the element has been permanently hidden in the view. (Inherited from Element ) | Element |
| IsMonitoringLinkElement() | Boolean | Indicate whether an element is monitoring any elements in any linked models. (Inherited from Element ) | Element |
| IsMonitoringLocalElement() | Boolean | Indicate whether an element is monitoring other local elements. (Inherited from Element ) | Element |
| IsPhaseCreatedValid(ElementId) | Boolean | Returns true if createdPhaseId is an allowed value for the property CreatedPhaseId in this Element. (Inherited from Element ) | Element |
| IsPhaseDemolishedValid(ElementId) | Boolean | Returns true if demolishedPhaseId is an allowed value for the property DemolishedPhaseId in this Element. (Inherited from Element ) | Element |
| IsProductList() | Boolean | Gets whether or not the fabrication part is a product list. | |
| IsProductListEntryCompatibleSize(Int32) | Boolean | Checks to see if this part can be changed to the specified product entry without altering any connected dimensions. | |
| IsSameAs(FabricationPart, IList<FabricationPartCompareType>) | Boolean | Compare this fabrication part with the part passed and checks the pattern dimensions and options. A list of fields that can be ignored in the comparison check can be specified. | |
| IsValidType(ElementId) | Boolean | Checks if given type is valid for this element. (Inherited from Element ) | Element |
| LookupParameter(String) | Parameter | Attempts to find a parameter on the element which has the given name. (Inherited from Element ) | Element |
| OptimizeLengths(Document, ISet<ElementId>) | ISet<ElementId> | Optimizes the length fabrication straight parts. | |
| PlaceAsTap(Document, Connector, Connector, Double, Double, Double) | None | Places the part by its connector to a specific position on the straight part at the specified distance from the host part connector. | |
| PlaceFittingAsCutIn(Document, ElementId, ElementId, XYZ, Connector, Double) | Boolean | Places the fitting on the straight part by cut in, use the fitting's focal point as the insertion position. | |
| RefersToExternalResourceReference(ExternalResourceType) | Boolean | Determines whether this Element uses external resources associated with a specified external resource type. (Inherited from Element ) | Element |
| RefersToExternalResourceReferences() | Boolean | Determines whether this Element uses external resources. (Inherited from Element ) | Element |
| RemovePartCustomData(Int32) | Boolean | Remove custom data from the fabrication part. | |
| Reposition(Document, ElementId) | None | Repositions the fabrication straight part to another end of the run. | |
| RotateConnectedPartByConnector(Document, Connector, Double) | None | Rotates a connected fabrication part around the axis of the specified connector. | |
| RotateConnectedTap(Document, FabricationPart, Double, Double) | None | Rotates a connected fabrication tap by the specified angles about the primary and secondary axis. | |
| SaveAsFabricationJob(Document, ISet<ElementId>, String, FabricationSaveJobOptions) | ISet<ElementId> | Save fabrication parts to an MEP job that can be opened in the fabrication software. | |
| SetAirturnInfo(Int32, Int32, Boolean) | None | Sets the air turn information for the fabrication part. | |
| SetCalculatedDimensionValue(FabricationDimensionDefinition, String) | None | Sets the calculated dimension value. | |
| SetDimensionValue(FabricationDimensionDefinition, Double) | None | Sets the fabrication dimension value. The value is in Revit internal units. | |
| SetEntity(Entity) | None | Stores the entity in the element. If an Entity described by the same Schema already exists, it is overwritten. (Inherited from Element ) | Element |
| SetOptionValue(FabricationOptionDefinition, Double) | None | Sets the fabrication option to the specified value. | |
| SetPartCustomDataInteger(Int32, Int32) | None | Set the custom data integer value for the specified custom data. | |
| SetPartCustomDataReal(Int32, Double) | None | Set the custom data real value for the specified custom data. | |
| SetPartCustomDataText(Int32, String) | None | Set the custom data real value for the specified custom data. | |
| SetPositionByEnd(Connector, XYZ) | None | Positions the connector of the fabrication part element by the passed point. | |
| SetSeamInfo(Int32, Int32, Boolean) | None | Sets the seam information for the fabrication part. | |
| SetStiffenerInfo(Int32, Int32, Boolean) | None | Sets the stiffener information for the fabrication part. | |
| SplitStraight(XYZ) | ElementId | Splits the straight into two at the passed in point. | |
| SplitStraight(Document, ElementId, XYZ) | ElementId | Splits the straight into two at the passed in point. | |
| StretchAndFit(Document, Connector, FabricationPartRouteEnd, ISet<ElementId>) | FabricationPartFitResult | Stretch the fabrication part from the specified connector and fit to the target routing end. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Alias | string | The alias of the fabrication part. | |
| AssemblyInstanceId | ElementId | The id of the assembly instance to which the element belongs. (Inherited from Element ) | Element |
| BottomOfPartElevation | double | The associated elevation to the bottom of fabrication part off of the current level. | |
| BoundingBox | BoundingBoxXYZ | Retrieves a box that circumscribes all geometry of the element. (Inherited from Element ) | Element |
| Category | Category | Retrieves a Category object that represents the category or sub category in which the element resides. (Inherited from Element ) | Element |
| CenterlineLength | double | The centerline length of the fabrication part. | |
| ConnectorManager | ConnectorManager | The connector manager of the fabrication part. | |
| CreatedPhaseId | ElementId | Id of a Phase at which the Element was created. (Inherited from Element ) | Element |
| CutType | int | The cut type of the fabrication part. | |
| DemolishedPhaseId | ElementId | Id of a Phase at which the Element was demolished. (Inherited from Element ) | Element |
| DesignOption | DesignOption | Returns the design option to which the element belongs. (Inherited from Element ) | Element |
| Document | Document | Returns the Document in which the Element resides. (Inherited from Element ) | Element |
| DomainType | ConnectorDomainType | The domain type for the fabrication part. | |
| DoubleWallMaterial | int | The double wall material identifier of the fabrication part. | |
| DoubleWallMaterialArea | double | The double wall material area of the fabrication part. If the fabrication part is not double walled, returns zero. | |
| DoubleWallMaterialThickness | double | The double wall material thickness of the fabrication part. If the fabrication part is not double walled, returns zero. | |
| FreeSize | string | The inner size of the fabrication part. | |
| Geometry | GeometryElement | Retrieves the geometric representation of the element. (Inherited from Element ) | Element |
| GeometryChecksum | AssetPropertyUInt64 | Gets the geometry checksum of the fabrication part symbol, and it does nothing with the fabrication part instance position. | |
| GroupId | ElementId | The id of the group to which an element belongs. (Inherited from Element ) | Element |
| HandlePosition | FabricationHandlePosition | Position of the handle of the fabrication part. | |
| HangerRodKit | int | Specifies whether an ancillary kit is being used to override support rods, bolts and clips, if any. A value of 0 indicates no override is being used. | |
| HasDoubleWall | bool | True if the fabrication part is double walled. | |
| HasHandle | bool | Indicates whether fabrication part has a handle. | |
| HasInsulation | bool | True if the fabrication part is insulated. | |
| HasLining | bool | True if the fabrication part is lined. | |
| Id | ElementId | A unique identifier for an Element in an Autodesk Revit project. (Inherited from Element ) | Element |
| InsulationArea | double | The insulation area of the fabrication part. If the fabrication part is not insulated, returns zero. | |
| InsulationLiningElementId | ElementId | The Revit element id of the fabrication insulation or lining, or invalidElementId if the part has no insulation or lining. | |
| InsulationSpecification | int | The fabrication part insulation specification identifier. | |
| InsulationThickness | double | The insulation thickness of the fabrication part. If the fabrication part is not insulated, returns zero. | |
| InsulationType | string | The insulation type of the fabrication part. | |
| IsBoughtOut | bool | True if the fabrication part is bought out. | |
| IsModifiable | bool | Identifies if the element is modifiable. (Inherited from Element ) | Element |
| IsTransient | bool | Indicates whether an element is transient or permanent. (Inherited from Element ) | Element |
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. (Inherited from Element ) | Element |
| ItemCustomId | int | The item custom identifier for the fabrication part. | |
| ItemNumber | string | The item number that is used for identification, re-ordering from shop. | |
| LevelId | ElementId | The id of the level associated with the element. (Inherited from Element ) | Element |
| LevelOffset | double | The associated level offset that indicates the distance from the center of the fabrication part to the current level. | |
| LiningArea | double | The lining area of the fabrication part. If the fabrication part is not lined, returns zero. | |
| LiningThickness | double | The lining thickness of the fabrication part. If the fabrication part is not lined, returns zero. | |
| LiningType | string | The lining type of the fabrication part. | |
| Location | Location | This property is used to find the physical location of an element within a project. (Inherited from Element ) | Element |
| Material | int | The fabrication material identifier. | |
| MaterialGauge | int | The fabrication material gauge identifier. | |
| MaterialThickness | double | The material thickness of the fabrication part. | |
| Name | string | A human readable name for the Element. (Inherited from Element ) | Element |
| Notes | string | The notes of the fabrication part. | |
| Origin | XYZ | The origin of the fabrication part element. | |
| OverallSize | string | The overall size of the fabrication part. | |
| OwnerViewId | ElementId | The id of the view that owns the element. (Inherited from Element ) | Element |
| Parameter[BuiltInParameter] | Parameter | Retrieves a parameter from the element given a parameter id. (Inherited from Element ) | Element |
| Parameter[Definition] | Parameter | Retrieves a parameter from the element based on its definition. (Inherited from Element ) | Element |
| Parameter[Guid] | Parameter | Retrieves a parameter from the element given a GUID for a shared parameter. (Inherited from Element ) | Element |
| Parameters | ParameterSet | Retrieves a set containing all of the parameters that are contained within the element. (Inherited from Element ) | Element |
| ParametersMap | ParameterMap | Retrieves a map containing all of the parameters that are contained within the element. (Inherited from Element ) | Element |
| PartGuid | Guid | The fabrication part's globally unique identifier. | |
| PartStatus | int | The status identifier for the fabrication part. | |
| Pinned | bool | Identifies if the element has been pinned to prevent changes. (Inherited from Element ) | Element |
| ProductCode | string | The current database id of the part within the fabrication database. | |
| ProductDataRange | string | The product data range of the fabrication part. | |
| ProductFinishDescription | string | The product finish description of the fabrication part. | |
| ProductInstallType | string | The product install type of the fabrication part. | |
| ProductListEntry | int | The product entry index of the fabrication part. A value of -1 indicates the fabrication part is not a product list. | |
| ProductLongDescription | string | The product long description of the fabrication part. | |
| ProductMaterialDescription | string | The product material description of the fabrication part. | |
| ProductName | string | The product name of the fabrication part. | |
| ProductOriginalEquipmentManufacture | string | The product original equipment manufacture (OEM) of the fabrication part. | |
| ProductShortDescription | string | The product short description of the fabrication part. | |
| ProductSizeDescription | string | The product size description of the fabrication part. | |
| ProductSpecificationDescription | string | The product specification description of the fabrication part. | |
| ServiceAbbreviation | string | The associated service abbreviation for the fabrication service. | |
| ServiceId | int | The fabrication part service identifier. The service can only be changed to compatible services. | |
| ServiceName | string | The name of the service associated with the fabrication part. | |
| ServiceType | int | The service type identifier of the fabrication part. | |
| SheetMetalArea | double | The sheet metal area of the fabrication part. | |
| Size | string | The size of the fabrication part. | |
| Slope | double | The slope for the straight fabrication part. | |
| Specification | int | The fabrication part specification identifier. | |
| SpoolName | string | The spool name of the fabrication part. | |
| TopOfPartElevation | double | The associated elevation to the top of fabrication part off of the current level. | |
| UniqueId | string | A stable unique identifier for an element within the document. (Inherited from Element ) | Element |
| ValidationStatus | ValidationStatus | The validation status of the fabrication part. | |
| Vendor | string | The vendor of the fabrication part. | |
| VendorCode | string | The vendor code of the fabrication part. | |
| VersionGuid | Guid | Get the element version Guid. (Inherited from Element ) | Element |
| ViewSpecific | bool | Identifies if the element is owned by a view. (Inherited from Element ) | Element |
| Weight | double | The weight of the fabrication part. | |
| WorksetId | WorksetId | Get Id of the Workset which owns the element. (Inherited from Element ) | Element |