StructuralConnectionHandlerType.AddElementsToCustomConnection
Description:
Modifies StructuralConnectionHandlerType of input StructuralConnectionHandler by adding representors of input elements or subelements.
Modifies StructuralConnectionHandlerType of input StructuralConnectionHandler by adding representors of input elements or subelements.
Remarks:
Elements or subelements added to a custom connection are deleted and transformed in subelements of the connection. They could be:
Elements or subelements added to a custom connection are deleted and transformed in subelements of the connection. They could be:
- FamilyInstance (structural beams and columns).
- StructuralConnectionHandler elements associated to the connection.
- Specific steel connection elements (bolts, anchors, plates, etc). These connection elements will be of type element but with categories related to structural connections, for example:
- OST_StructConnectionWelds
- OST_StructConnectionHoles
- OST_StructConnectionModifiers
- OST_StructConnectionShearStuds
- OST_StructConnectionBolts
- OST_StructConnectionAnchors
- OST_StructConnectionPlates
[ObsoleteAttribute("This method is deprecated in Revit 2026 and may be removed in a later version of Revit. Prefer updateCustomConnectionType instead.")]
public static void AddElementsToCustomConnection(
StructuralConnectionHandler structuralConnectionHandler,
IList<Reference> references
)
-
structuralConnectionHandlerThe existing StructuralConnectionHandler having custom StructuralConnectionHandlerType which is about to be modified.
-
IList<Reference>referencesReferences to elements or subelements which are to be used to modify custom StructuralConnectionHandlerType by adding their representors.
-
Input StructuralConnectionHandler must have custom type. -or- All the input Elements should be of the following structural categories: framings, columns, profiles, plates, bolts, anchors, shear studs, welds or structural connections. -or- Total number of different input elements of input StructuralConnectionHandlers must be lower or equal to 3.
-
A non-optional argument was null
No comments yet. Start the discussion.
Loading…