2027 Members
Changes 0
M

FabricationPart Methods

Name Return Type Description Inherited From
M AddPartCustomData(Int32) Boolean 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) Double Adjusts the length for the specified connector.
M AlignPartByConnector(Document, Connector, XYZ, Double, Double, Double, FabricationPartJustification, Transform) Boolean Align the part by its connector to a point and rotation in free space.
M AlignPartByConnectors(Document, Connector, Connector, Double) Boolean Moves fabrication part by one of its connectors and aligns it to another connector.
M AlignPartByConnectorToConnector(Document, Connector, Connector, Double, Double, FabricationPartJustification) Boolean Align a part by its connector to another connector. This will replace the FabricationPart::AlignPartByConnectors method.
M 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.
M 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.
M ArePhasesModifiable() Boolean Returns true if the properties CreatedPhaseId and DemolishedPhaseId can be modified for this Element. (Inherited from Element ) Element
M CanAdjustEndLength(Connector) Boolean Checks if the end of fabrication part can be adjusted.
M CanASlopeBeApplied() Boolean This will test if a slope can be applied to the part and maintain connections with any connected parts.
M CanBeHidden(View) Boolean Indicates if the element can be hidden in the view. (Inherited from Element ) Element
M CanBeLocked() Boolean Identifies if the element can be locked. (Inherited from Element ) Element
M CanDeleteSubelement(Subelement) Boolean Checks if given subelement can be removed from the element. (Inherited from Element ) Element
M CanFlipPart() Boolean Validates if the fabrication part is one of the supported fabrication part types that can be flipped.
M CanHaveTypeAssigned() Boolean Identifies if the element can have a type assigned. (Inherited from Element ) Element
M CanSplitStraight(XYZ) Boolean Validates if the straight can be split into two at the passed in point.
M ChangeTypeId(ElementId) ElementId Changes the type of the element. (Inherited from Element ) Element
M ConnectAndCouple(Document, Connector, Connector) Boolean Makes a connection between the specified connectors and adds coupling if necessary.
M Create(Document, FabricationItemFile, ElementId) FabricationPart Creates a fabrication part element from a fabrication item file.
M Create(Document, FabricationServiceButton, Int32, ElementId) FabricationPart Creates a fabrication part element based on button.
M Create(Document, FabricationServiceButton, Double, Double, ElementId) FabricationPart Creates a fabrication part element based on button and size.
M CreateHanger(Document, FabricationServiceButton, Int32, ElementId) FabricationPart Creates a free placed hanger.
M CreateHanger(Document, FabricationServiceButton, ElementId, Connector, Double, Boolean) FabricationPart Creates a hanger on the fabrication part.
M CreateHanger(Document, FabricationServiceButton, Int32, ElementId, Connector, Double, Boolean) FabricationPart Creates a hanger on the fabrication part.
M DeleteEntity(Schema) Boolean Deletes the existing entity created by %schema% in the element (Inherited from Element ) Element
M DeleteSubelement(Subelement) Boolean Removes a subelement from the element. (Inherited from Element ) Element
M DeleteSubelements(IList<Subelement>) Boolean Removes the subelements from the element. (Inherited from Element ) Element
M Dispose() None (Inherited from Element ) Element
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M EvaluateAllParameterValues() IList<EvaluatedParameter> Evaluates all the parameters' values of the element. (Inherited from Element ) Element
M EvaluateParameterValues(ISet<ElementId>) IList<EvaluatedParameter> Evaluate the parameters' values of the element on the given parameter ID set. (Inherited from Element ) Element
M Flip() Boolean Flips the fabrication part that is directionally oriented (tees, crosses, valves, dampers, etc.) to the opposite direction.
M GetAirturnCount() Int32 Gets the number of air turns for the fabrication part.
M GetAirturnInfo(Int32, Boolean%) Int32 Gets the air turn information for the fabrication part.
M GetAllFabricationBodyConnectorDefinitions(Connector) IList<Int32> Gets all connectors that are valid to be assigned to the part for a specified body connector
M GetAllFabricationDoubleWallConnectorDefinitions(Connector) IList<Int32> Gets all connectors that are valid to be assigned to the part for a specified double wall connector
M GetCalculatedDimensionValue(FabricationDimensionDefinition) String Gets the calculated dimension value.
M GetDependentElements(ElementFilter) IList<ElementId> Get all elements that, from a logical point of view, are the children of this Element. (Inherited from Element ) Element
M GetDimensionCalculatedOptions(FabricationDimensionDefinition) IList<String> Gets the calculated options of the fabrication dimension.
M GetDimensionDefinitions() IList<FabricationDimensionDefinition> Gets a copy of current fabrication dimension definitions.
M GetDimensions() IList<FabricationDimensionDefinition> Obsolete. Gets all fabrication dimensions.
M GetDimensionValue(FabricationDimensionDefinition) Double Gets the value of the fabrication dimension, returns value in Revit internal units.
M 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
M GetEntitySchemaGuids() IList<Guid> Returns the Schema guids of any Entities stored in this element. (Inherited from Element ) Element
M GetExternalFileReference() ExternalFileReference Gets information pertaining to the external file referenced by the element. (Inherited from Element ) Element
M GetExternalResourceReference(ExternalResourceType) ExternalResourceReference Gets the ExternalResourceReference associated with a specified external resource type. (Inherited from Element ) Element
M GetExternalResourceReferenceExpanded(ExternalResourceType) IList<ExternalResourceReference> Gets the collection of ExternalResourceReference associated with a specified external resource type. (Inherited from Element ) Element
M GetExternalResourceReferences() IDictionary<ExternalResourceType,ExternalResourceReference> Gets the map of the external resource references referenced by the element. (Inherited from Element ) Element
M GetExternalResourceReferencesExpanded() ExternalResourceType Gets the expanded map of the external resource references referenced by the element. (Inherited from Element ) Element
M GetGeneratingElementIds(GeometryObject) ICollection<ElementId> Returns the ids of the element(s) that generated the input geometry object. (Inherited from Element ) Element
M GetGeometryObjectFromReference(Reference) GeometryObject Retrieve one geometric primitive contained in the element given a reference. (Inherited from Element ) Element
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetHostedInfo() FabricationHostedInfo Gets the fabrication hosted element information.
M GetInsulationLiningGeometry() GeometryElement Gets insulation and lining geometry for this fabrication part.
M GetMaterialArea(ElementId, Boolean) Double Gets the area of the material with the given id. (Inherited from Element ) Element
M GetMaterialIds(Boolean) ICollection<ElementId> Gets the element ids of all materials present in the element. (Inherited from Element ) Element
M GetMaterialVolume(ElementId) Double Gets the volume of the material with the given id. (Inherited from Element ) Element
M GetMonitoredLinkElementIds() IList<ElementId> Provides the link instance IDs when the element is monitoring. (Inherited from Element ) Element
M GetMonitoredLocalElementIds() IList<ElementId> Provides the local element IDs when the element is monitoring. (Inherited from Element ) Element
M GetOptionCount() Int32 Gets the number of fabrication options for this part.
M GetOptionDefinitions() IList<FabricationOptionDefinition> Gets a copy of current fabrication option definitions.
M GetOptionValue(FabricationOptionDefinition) Double Gets the value of specified fabrication option definition.
M GetOrderedParameters() IList<Parameter> Gets the parameters associated to the element in order. (Inherited from Element ) Element
M GetParameter(ForgeTypeId) Parameter Retrieves a parameter from the element given identifier. (Inherited from Element ) Element
M GetParameterFormatOptions(ElementId) FormatOptions Returns a FormatOptions override for the element Parameter, or a default FormatOptions if no override exists. (Inherited from Element ) Element
M GetParameters(String) IList<Parameter> Retrieves the parameters from the element via the given name. (Inherited from Element ) Element
M GetPartAncillaryUsage() IList<FabricationAncillaryUsage> Gets a list of all ancillary usage information for the part.
M GetPartCustomDataInteger(Int32) Int32 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 GetPhaseStatus(ElementId) ElementOnPhaseStatus Gets the status of a given element in the input phase (Inherited from Element ) Element
M GetProductListEntryCount() Int32 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 GetSeamCount() Int32 Gets the number of seams for the fabrication part.
M GetSeamInfo(Int32, Boolean%) Int32 Gets the seam information for the fabrication part.
M GetStiffenerCount() Int32 Gets the number of stiffeners for the fabrication part.
M GetStiffenerInfo(Int32, Boolean%) Int32 Gets the stiffener information for the fabrication part.
M GetSubelements() IList<Subelement> Returns the collection of element subelements. (Inherited from Element ) Element
M GetTransform() Transform Gets the transformation matrix of the fabrication part element.
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetTypeId() ElementId Returns the identifier of this element's type. (Inherited from Element ) Element
M GetValidTypes() ICollection<ElementId> Obtains a set of types that are valid for this element. (Inherited from Element ) Element
M GetVersionHistory() IList<FabricationVersionInfo> Gets a history of version change information about the current part.
M HasCustomData(Int32) Boolean Check if fabrication part contains custom data already.
M HasNoConnections() Boolean Checks to see if all the fabrication part's connectors are open.
M HasPhases() Boolean Returns true if this Element has the properties CreatedPhaseId and DemolishedPhaseId. (Inherited from Element ) Element
M IsAHanger() Boolean Checks whether it is a hanger.
M IsAStraight() Boolean Checks whether it is a straight part.
M IsATap() Boolean Checks if it is any sort of tap.
M IsCreatedPhaseOrderValid(ElementId) Boolean Returns true if createdPhaseId and demolishedPhaseId are in order. (Inherited from Element ) Element
M IsDemolishedPhaseOrderValid(ElementId) Boolean Returns true if createdPhaseId and demolishedPhaseId are in order. (Inherited from Element ) Element
M IsDimensionCalculated(FabricationDimensionDefinition) Boolean Checks if the fabrication dimension is calculated.
M IsExternalFileReference() Boolean Determines whether this Element represents an external file. (Inherited from Element ) Element
M IsHidden(View) Boolean Identifies if the element has been permanently hidden in the view. (Inherited from Element ) Element
M IsMonitoringLinkElement() Boolean Indicate whether an element is monitoring any elements in any linked models. (Inherited from Element ) Element
M IsMonitoringLocalElement() Boolean Indicate whether an element is monitoring other local elements. (Inherited from Element ) Element
M IsPhaseCreatedValid(ElementId) Boolean Returns true if createdPhaseId is an allowed value for the property CreatedPhaseId in this Element. (Inherited from Element ) Element
M IsPhaseDemolishedValid(ElementId) Boolean Returns true if demolishedPhaseId is an allowed value for the property DemolishedPhaseId in this Element. (Inherited from Element ) Element
M IsProductList() Boolean Gets whether or not the fabrication part is a product list.
M IsProductListEntryCompatibleSize(Int32) Boolean Checks to see if this part can be changed to the specified product entry without altering any connected dimensions.
M 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.
M IsValidType(ElementId) Boolean Checks if given type is valid for this element. (Inherited from Element ) Element
M LookupParameter(String) Parameter Attempts to find a parameter on the element which has the given name. (Inherited from Element ) Element
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) Boolean Places the fitting on the straight part by cut in, use the fitting's focal point as the insertion position.
M RefersToExternalResourceReference(ExternalResourceType) Boolean Determines whether this Element uses external resources associated with a specified external resource type. (Inherited from Element ) Element
M RefersToExternalResourceReferences() Boolean Determines whether this Element uses external resources. (Inherited from Element ) Element
M RemovePartCustomData(Int32) Boolean 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 SetAirturnInfo(Int32, Int32, Boolean) None Sets the air turn information for the fabrication part.
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 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
M SetOptionValue(FabricationOptionDefinition, Double) None Sets the fabrication option to the specified value.
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 SetSeamInfo(Int32, Int32, Boolean) None Sets the seam information for the fabrication part.
M SetStiffenerInfo(Int32, Int32, Boolean) None Sets the stiffener information for the fabrication part.
M SplitStraight(XYZ) ElementId Splits the straight into two at the passed in point.
M SplitStraight(Document, ElementId, 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 ToString None Returns a string that represents the current object. (Inherited from Object ) Object