Revit.ini location and using

Revit.ini location and using

Anonymous
Not applicable
3,501 Views
1 Reply
Message 1 of 2

Revit.ini location and using

Anonymous
Not applicable

Revit 2017.1.1 SDK

 

From the Getting Started with the Revit API.docx file:

 

> Each example file has a sample revit.ini file with the information that you will need to edit and place into the revit.ini file located in your Autodesk Revit Program folder, which Autodesk Revit will access on launch.

 

But I didn't find the revit.ini file neither in the "%ProgramFiles%\Autodesk\Revit 2017\" nor in the "<Revit 2017.1 SDK directory>\Samples\**\".

 

Is this info obsolete and this DOCX-file wasn't edited according to this change?

 

Also, I see this file in the "%ProgramData%\Autodesk\RVT 2017\UserDataCache\" directory. Was revit.ini file moved into this directory for Revit 2017.1.1? But at this case why this file was removed from the examples folders?

 

Thank you.

0 Likes
Accepted solutions (1)
3,502 Views
1 Reply
Reply (1)
Message 2 of 2

jeremytammik
Autodesk
Autodesk
Accepted solution

Dear Andrey,

 

Thank you for your query.

 

I believe that information is simply (very, very, very) obsolete.

 

Maybe the mention of revit.ini files pre-dates the introduction of the add-in manifest files.

 

Oh, yes, it sounds like that is the case, reading the first few lines in this old blog post on the add-in manifest from April 2010:

 

http://thebuildingcoder.typepad.com/blog/2010/04/addin-manifest-and-guidize.html

 

Developers have always had a lot of complaints about the Revit.ini add-in registration facility. It was hard to access and modify the file in the Revit installation directory and the same file is shared by all users. Revit 2011 offers a completely new and vastly improved add-in registration facility using add-in manifest files...

 

So you can safely ignore that information.

 

I do not believe anything relevant changed at all regarding add-in registration between Revit 2017 and 2017.1.

 

All changes that I am aware of are listed in What's New in the Revit 2017.1 API:

 

http://thebuildingcoder.typepad.com/blog/2016/11/whats-new-in-the-revit-20171-api.html

 

I hope this helps.

 

Best regards,

 

Jeremy



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