Create more elements in Revit from the same dynamo file


#1

I designed a file dynamo to create a truss in Revit selecting model lines in Revit .

When I select other model lines and restart the program trusses moving on new lines selected but are deleted from the old.

Can I create different trusses by the same file dynamo?

Is There a command for doing this?

Thanks!


#2

Hi Daniel,

Dynamo tries to update elements it has placed whenever possible rather than create new ones. This is almost always the case for most users, but you are right, sometimes you want to reuse an old graph and break the existing associations. (Issue tracked internally as MAGN-1581.)

Think of the association between the Dynamo graph and the Revit elements as being contained in the node that places the elements. In the case of the truss, it’s probably something like Beam.ByCurve. Your quickest option to reuse your graph by simply replacing the Beam.ByCurve node with a new Beam.ByCurve node when you want to “break” Dynamo’s association with what it made.


#3

Thanks Colin, it’s clear what you tell me! There are few days that use Dynamo and I thought there was a special command to break the connection.
I’ll try to do as you say.


#4

Well, in all honesty, there are a few bugs we’re working that break the connection when it shouldn’t be broken. Maybe you saw some of those. Otherwise, Dynamo isn’t supposed to forget :slight_smile:


#5

Collin,

It would be very useful. For example, sometimes i need to create some walls but it’s necessary to create new ones with the same graph, and the existing association delete the old ones… very frustrating. Maybe a node which stores Revit Elements or something…

Saludos.


#6

I agree, it would be useful to be able to switch off the associativity between Dynamo and Revit whenever we don’t need it.


#7

Andreas,

How can i store Revit Elements (Walls) in Dynamo? Is that possible using Python?

Thanks


#8

What do you mean by “store”?


#9

Andreas,

Sorry for my bad English… I want to create new walls and I need to “store” the old ones but the existing association delete them.

Thanks


#10

I think we are all talking about the same functionality request–that you want to be able to switch off the association between a node that places Revit elements and those elements that it has placed in the past (therefore the node would place new elements). Did I miss anything?