Batch / Open projects or families with Dynamo

I wanted to batch edit families and have already prepared my graph that can make the changes that I want and save the file. The problem is that I can just make it with the “Current Document”. Is there a way to do it in Dynamo? In order to use DynamoAutomation I need Dynamo Studio, isn’t it?

Actually, what I want to achieve is to change the font in all the Revit families? Any ideas? Should I just use DynamoAutomation?

Thanks

If you want to interact with Revit, studio is a no go :slight_smile:

There is a third Dynamo, called Dynamo Sandbox, which is what you are looking for.

C:\Program Files\Dynamo\Dynamo Core\2\DynamoSandbox.exe is the default install location. That is, of course, if you are using Dynamo 2.0. Sandbox is installed with all build versions of Dynamo. So, if you are on 1.3, then replace the 2 with 1.3 and you are good to go.

Also, there is a good deal of information for DynamoAutomation here: https://github.com/andydandy74/DynamoAutomation

Background open functions found in Rhythm may also be of use here.

Thanks, I’ll give it a try. I thought it had been replaced with (and was the same as) Dynamo Studio.

Just to clarify: In my computer it was in C:\Program Files\Dynamo\ Dynamo Revit \1.3\DynamoSandbox.exe

@JacobSmall I can’t use Background open in the normal Dynamo because it is in “Background” and not as Current.Document and the changes are only in the current file made.

1 Like

I made little progress, but I am stock again. I can’t run DynamoAutomation :frowning:

Post your .dyn graph and any sample input data that would be going through those nodes.

As I said it also happend with the examples. I have to say that I have by the slave example a component that cannot be resolved.

I am don’t know if it is somehow related.

And here the graphs that I am trying to use:
Master:
Scenario_S2AN.dyn (20.4 KB)
Slave:
Font2ArialNarrow.dyn (13.5 KB)
Test File:
BeschriftungDtail.rfa (232 KB)

Thanks!

Over in your packages list, it looks like Dynamo.Automation is not installed in the Sandbox environment. Go to Settings > Manage Node and Packages Paths and repath Sandbox to either your server or local location to your packages, just like you would with Dynamo Revit. That should make your Process.KilleCurrentProcess visible to Sandbox.

Run again and see if that fixes it. Report back.

1 Like

It was actually the normal Dynamo where it was missing, i fixed it and linked the Packages Path in the Sandbox as you said. We don’t have the Unresolved anymore :slight_smile: . But “Journal file could not be run…” keeps poping up :frowning:

Post both journals here (the one generated by DynamoAutomation and the one generated by Revit during journal playback).

The problem was probably caused by VRay add-in. Thanks all for your help.

1 Like

If anyone else runs into similar issues: some addins perform operations on the model when it is loaded. These operations may interfere with journal playback (if the model is altered by those addins). In cases like these you can try setting the debug input of the Journal.ByWorkspacePath node to true (which took care of the issue in this particular case).

2 Likes