File Path for file on Revit Server or BIM 360

Is there a way to gain access to ‘Revit Server’ through Dynamo? It appears that the “File Path” node will permit access to ‘BIM 360’, but not ‘Revit Server’.

Any help is greatly appreciated!

@JustinStirling did you get the solution??

Yes, there is a way to gain access to Revit Server through Dynamo. You can use the Revit Server API package, which is available on the Package Manager in Dynamo.

To use the Revit Server API package, you will need to:

  1. Install the Revit Server API package from the Package Manager.
  2. Create a new Dynamo script.
  3. Add the Revit Server API package to your script.
  4. Use the nodes in the Revit Server API package to access Revit Server.

For example, the following Dynamo script will connect to Revit Server and open a central model:

`import clr
clr.AddReference(‘RevitServerAPI’)

from Autodesk.Revit.Server.Model import ModelConnection

Connect to Revit Server

connection = ModelConnection(“localhost”, 8080)

Open the central model

model = connection.OpenCentralModel(“CentralModel.rvt”)`

Once you have connected to Revit Server and opened a central model, you can use the other nodes in the Revit Server API package to perform tasks such as:

  • Get a list of all central models on Revit Server
  • Create a new central model on Revit Server
  • Check out a central model for editing
  • Check in a central model after editing
  • Revert a central model to a previous version
  • Delete a central model from Revit Server