2021 Class
Changes 6
C

FabricationPart

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