Author Topic: Writing back into elements with Dynamo  (Read 5303 times)

0 Members and 1 Guest are viewing this topic.

Offline PipeFitter72

  • Full Member
  • ***
  • Posts: 148
  • Country: us
  • Gender: Male
Re: Writing back into elements with Dynamo
« Reply #15 on: Oct 03, 2022, 18:19:22 PM »
it should work with any CID.
You just need the correct index number. Make sure the dim you want to change is unlocked.
And your profile cannot be round or it may have to unhost form the fabrication part it is on to change the width.

I am using 838 for my 2 tier Unistrut hangers.
I was planning on making a Dynamo to adjust the the spread between the 2 levels.
I will update you if I get it to work right.
Union CADD Database Administrator

Offline bitterfitterTopic starter

  • Senior Member
  • ****
  • Posts: 451
  • Country: us
  • Gender: Male
Re: Writing back into elements with Dynamo
« Reply #16 on: Oct 03, 2022, 18:42:29 PM »
I must have something wrong then as my Dimensions and Options don't appear to be locked anywhere.  But i still can't get the value to update in Dynamo
I am trying to update my Duct Width which I am using index number 0.  I have tried 1 also but nothing changes...   :(
"If you think education is expensive, you should see what ignorance costs you"

Offline bitterfitterTopic starter

  • Senior Member
  • ****
  • Posts: 451
  • Country: us
  • Gender: Male
Re: Writing back into elements with Dynamo
« Reply #17 on: Oct 03, 2022, 18:46:17 PM »
Not sure if this is anything but I notice that when I select the hanger in Revit, I do not see the Duct Width or any of the Dimensions listed in my properties.  I thought it used to ?  Could this parameter have an issue in our parameter file?  Maybe unwriteable possibly?  Just trying to look for answers here that might be off the wall....
"If you think education is expensive, you should see what ignorance costs you"

Offline bitterfitterTopic starter

  • Senior Member
  • ****
  • Posts: 451
  • Country: us
  • Gender: Male
Re: Writing back into elements with Dynamo
« Reply #18 on: Oct 03, 2022, 19:00:14 PM »
I do see that the Duct Width Dimension exists in my hangers in Revit, I just seem to have an issue changing it.
"If you think education is expensive, you should see what ignorance costs you"

Offline PipeFitter72

  • Full Member
  • ***
  • Posts: 148
  • Country: us
  • Gender: Male
Re: Writing back into elements with Dynamo
« Reply #19 on: Oct 03, 2022, 19:02:57 PM »
you might try hard code a specific width like 4'. and try one hanger.
If that works then look at the rest of you graph
Union CADD Database Administrator

Offline bitterfitterTopic starter

  • Senior Member
  • ****
  • Posts: 451
  • Country: us
  • Gender: Male
Re: Writing back into elements with Dynamo
« Reply #20 on: Oct 03, 2022, 19:17:55 PM »
I will try it again on one hanger and see if I can figure it out.  Thanks so much for all your time.
"If you think education is expensive, you should see what ignorance costs you"

Offline bitterfitterTopic starter

  • Senior Member
  • ****
  • Posts: 451
  • Country: us
  • Gender: Male
Re: Writing back into elements with Dynamo
« Reply #21 on: Oct 04, 2022, 13:54:48 PM »
Update: First of all my graph does not like to run on one hanger.  Not a huge deal as I am trying to use this on multiple hangers so I can deal with this later.  I notice that when I have trapeze associated with the pipe, they will not change width based on the dimension I am feeding them.  If I draw a couple hangers off in space then they will update when I run my graph.
 Pipefitter72 - Do you have this same issue by chance?  The dimension I am altering is the "Duct Width" which is making the trapeze wider than it started. I hate to have to detach the trapeze to alter them  :(
 
"If you think education is expensive, you should see what ignorance costs you"

Offline PipeFitter72

  • Full Member
  • ***
  • Posts: 148
  • Country: us
  • Gender: Male
Re: Writing back into elements with Dynamo
« Reply #22 on: Oct 04, 2022, 13:59:46 PM »
I do not alter the width with a Dynamo. If we need to make them wider, we stretch them with the grips.
For reporting purposes, I have a project parameter, and I have the width of the hanger round up to the next even 2" (so we are not cutting into a unistrut slot) and populate the project parameter with the rounded up number.
Union CADD Database Administrator

Offline bitterfitterTopic starter

  • Senior Member
  • ****
  • Posts: 451
  • Country: us
  • Gender: Male
Re: Writing back into elements with Dynamo
« Reply #23 on: Oct 04, 2022, 14:13:31 PM »
It sounds like we are on the same page here.  I am able to round the widths after they have been stretched.  The same as you stated.  I also write out that rounded width to a parameter for reporting.  Here is where I am being asked to go a step further.  The folks here would like the geometry of the strut to actually be altered to the new length also for automated cutting .. ::)  It seems at this point that the only way I can accomplish this is to unhost the trapeze from the pipe.  I can not seem to alter it when it is still hosted.  >:(
"If you think education is expensive, you should see what ignorance costs you"