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!
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:
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
connection = ModelConnection(“localhost”, 8080)
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: