Copying families from a .rvt model on revit server

Copying families from a .rvt model on revit server

n_mulconray
Advocate Advocate
810 Views
1 Reply
Message 1 of 2

Copying families from a .rvt model on revit server

n_mulconray
Advocate
Advocate

Is there a way to copy and paste system family types from revit server model? Can I access the model doc with this 

 

//SOURCE DOC
_source_doc = _uiApp.Application.OpenDocumentFile(revit server path); 

by providing a server path?

 

then can i use the copy and paste utilities or do I need to use the revit server api?

0 Likes
Accepted solutions (1)
811 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk
Accepted solution

Afaik, Revit Server is just a file server.

 

Revit cannot access anything that it cannot access.

 

Generally, it requires a file to open a project.

 

The file can only be accessed via the Revit Server API.

 

If OpenDocumentFile would work directly, then the Revit Server API would be built into and included in the Revit API, which it is not.

 

I am afraid you need to use the Revit Server API to retrieve the file, and then you can use the Revit API to open and process it.

 

Best regards,

 

Jeremy



Jeremy Tammik
Developer Technical Services
Autodesk Developer Network, ADN Open
The Building Coder