Author Topic: Dynamo Script to get Fabrication Hanger Parameters  (Read 4873 times)

0 Members and 1 Guest are viewing this topic.

Offline AxlTopic starter

  • Full Member
  • ***
  • Posts: 176
  • Country: us
  • Gender: Male
Dynamo Script to get Fabrication Hanger Parameters
« on: Jan 21, 2022, 13:54:47 PM »
Hello,

I created a Dynamo script that reads a lot of parameters and dimensions from any fabrication hanger placed in Revit.
Dynamo's major flaw is the compatibility and multiple packages you have to keep updated and from version to version things break.
To fix this I used only out of the box nodes and a python node,

CAD Product Information code
Revit Unique Code
Current Document
Current user
Time Stamp
Assembly
Multiple dimensions:
Hanger size
Rod Length(s)
Rod End Position(for trimble)
Body length (for channels and Unistruts)
Diameters
More

You can use the script as is or edit it as long as you keep the credit on top of the python block

Script extracts:

I hope this is useful for someone in the community,
CADmep DB Manager
Content Manager
Scripting

Offline bitterfitter

  • Senior Member
  • ****
  • Posts: 451
  • Country: us
  • Gender: Male
Re: Dynamo Script to get Fabrication Hanger Parameters
« Reply #1 on: Jan 21, 2022, 19:27:34 PM »
Thanks for sharing the script.  I see the list output for each hanger I choose.  It looks like there are 20 items listed out there.  I figured out what 1-5 are and 20 looks like it is a set of coordinates. Maybe the rod end position?  Can you tell me what the other items are? 6-19 in the list
"If you think education is expensive, you should see what ignorance costs you"

Offline AxlTopic starter

  • Full Member
  • ***
  • Posts: 176
  • Country: us
  • Gender: Male
Re: Dynamo Script to get Fabrication Hanger Parameters
« Reply #2 on: Jan 21, 2022, 19:52:01 PM »
gimme me some time and I'll add the field name to each value in a separate node, that way it won't add it to each row (to keep it clean) yes the coordinates are the rod's end position (we use it to define concrete inserts positions)
CADmep DB Manager
Content Manager
Scripting

Offline AxlTopic starter

  • Full Member
  • ***
  • Posts: 176
  • Country: us
  • Gender: Male
Re: Dynamo Script to get Fabrication Hanger Parameters
« Reply #3 on: Jan 21, 2022, 20:33:03 PM »
This new version has a quick and dirty description included in the list, I added it as a new node so you still have a clean version of the data, each type of hanger has different fields (dimensional data) therefore the multiple lists,
CADmep DB Manager
Content Manager
Scripting