Insert RVT to coordinates

Insert RVT to coordinates

rapoport.3d
Explorer Explorer
615 Views
4 Replies
Message 1 of 5

Insert RVT to coordinates

rapoport.3d
Explorer
Explorer

My apologies for a novice’s question. How do I write a program to link an RVT file in given coordinates relative to project base point?

0 Likes
616 Views
4 Replies
Replies (4)
Message 2 of 5

bhprest
Advocate
Advocate

Have you worked through the My First Revit Plug-in tutorial, or read through the documentation about macros ?

 

I would start there if you haven't. After that, you'll need to look through the API documentation to find which functions need to be called. Here is the documentation on the RevitLinkType class, and the RevitLinkInstance class, which I think would be good starting points for what you're looking to achieve.

 

good luck!

0 Likes
Message 3 of 5

rapoport.3d
Explorer
Explorer

Thanks so much for your reply. Actually, I am not a programmer and I do not intend to delve into the Revit API.  I am planning an application for my architecture firm, and I would like to be sure that I can do two actions automatically: 1. Link Revit files into specified coordinates. 2. Move named reference planes by specified distances. Once I know that these actions are feasible I will assign the job to a programmer. Thanks again.

0 Likes
Message 4 of 5

jeremy_tammik
Alumni
Alumni

Sorry for the late reply, just noticed your open question. Yes, I can confirm that these two tasks can be achieved programmatically via the Revit API.

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes
Message 5 of 5

jeremy_tammik
Alumni
Alumni

A more complete answer is provided in the new discussion of the same question:

  

https://forums.autodesk.com/t5/revit-api-forum/insert-revit-link-to-a-specified-coordinates/m-p/1247...

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes