Example: Create a Steel Connections for Dynamo Script

Review an example of creating a steel connections for Dynamo script that scans the model for connection nodes of two framing elements.

Note: A set of steel connections sample scripts is also available in the Dynamo installed packages. You can use these sample scripts as starting points for your custom scripts.
The connection nodes should meet the following criteria:

Whenever all these conditions are met, the script will place the Knee of frame, bolted, with haunch connection. The connection will have the I shape-Parallel Flange section as the primary input element and the W Shapes family, W12X26 type as the secondary input element.

The connection node marked in the following image is a connection node of four elements. Place the Knee of frame, bolted, with haunch between B1 and B2, with B1 as the main element and B2 as the secondary element.


Note that:

First step: Select and Group the Connection Input Elements