Revit API code without user interaction in application

Anonymous

Revit API code without user interaction in application

Anonymous
Not applicable

Hi,

 

I browsed and followed some post and learned few basic Revit API code as JeremyTammik advice on my previous post. 

 

What I learned and done is this, creating some addin to Revit API from C# and include into REVIT, my code will be called while user interaction is takes place in Revit Application.

 

But What I need is to access the Revit project properties without the user interaction on REVIT. I mean my C# code should work independently.

 

Note: All I need is to access the Revit project properties(FileName and location which is opened in Revit)

 

Please let me know what should I learn for this. And kindly share your better ideas. (Any links or Sample code will be better).

 

 

Thanks & Regards,

Jayahar

0 Likes
Reply
5,230 Views
20 Replies
Replies (20)

jeremy_tammik
Autodesk
Autodesk

No, not directly. But here is a workaround:

  

https://thebuildingcoder.typepad.com/blog/2018/04/standalone-basicfileinfo-and-extractpartatom-metho...

  

P.S. In the land of the blind, the one-eyed man is king. In the land of the people who ask questions, the man who can perform an Internet search is king.

  

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