Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Revit API code without user interaction in application

20 REPLIES 20
Reply
Message 1 of 21
Anonymous
5122 Views, 20 Replies

Revit API code without user interaction in application

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

20 REPLIES 20
Message 21 of 21
jeremy_tammik
in reply to: Jorge8CRA4

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report