Advanced Support



August 2014

Sun Mon Tue Wed Thu Fri Sat
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31            

Facebook

Revit Solutions

Revit Architecture Forums

Related Posts with Thumbnails

« The Case of the Disappearing Parts and Floors | Main | Revit Server 2012 Stops Working after Installing Vault Server 2012 »

May 03, 2011

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e5540194f08834014e8833be95970d

Listed below are links to weblogs that reference Deploying Revit 2012 with a Customized Revit.ini file:

Comments

Jrostar

Thank you very much for this great post! Autodesk really dropped the ball on the content packs and various paths with the 2012 deployment creation tool...

Could you elaborate a bit on some of this? While I'm not scared by computer speak, I don't read it fluently. You mention you can replace this:

[RVT_DEFAULTTEMPLATE_ARCHITECTURAL]

with this:

to point to a custom network location for your project template. Is this same step true for any of the library paths as well such the Library=[RVT_PATH_LIBRARIES],[RVT_UNITSTANDARD] Detail Library=[RVT_PATH_DETAILS] line?

Why is the

Final question... Do any of the line items in this xml file control the downloading and installing on content packs? This setting is broken in the deployment creation and it would be great if we could avoid downloading / installing the Revit content everytime a deploy is installed on a client machine.

Thanks!

Harlan Brumm

For your first question, yes, the same is true for other paths that you want to add for other items. You will need to use the same formating as explained in the post to replace the items in brackets.

For the second question, there isn't a way within the inifile.xml to control downloading and installing content packs. It only controls the creation of the Revit.ini file.

Chris Hubbard

Also Harlan,

you only documented a bit of the syntax. Where is all of this fully documented?

Finally I am looking through mine now and do not see any of the Data Keys you listed above. Do We need to manually add them for proper INI setup?

Chris Hubbard

OH yeah I forgot the Rant

Why all the complexity? It was much easier to just add the proper settings to the deployment and be done with it, and or edit the deployment ini file. We gave up and are batch copying the ini file to the workstations when we deploy 2012. Still testing to make sure the new cache works. (also not a good move on ADESK)

Harlan Brumm

Hi Chris,

I appreciate the concerns. This post is an attempt to start to document how this works. Your inifile.xml may be different depending on how you created the deployment, but the syntax for all the Revit.ini items should be similar to this. If you are missing items, you can add them, but its not required. You only need to add items that you want to make sure are set for all users. If it is not set in the ini, Revit will use the default. Again, when modifying this file, make sure to test the results to make sure Revit is working as expected.

Jrostar

Thanks for the reply! I am going to be tweaking our xml file this afternoon and giving it a test run. Right now we're doing the batch copy as Chris mentioned above.

Does changing this xml file adjust where the content gets installed or only adjusts the actual INI file? I Guess what I'm getting at is if the deploy install will install the content based on the path in this xml file or will it still install in the default path?

If there was a way to fix the Content Pack issue, that would be amazing and make my IT staff very happy! They are not happy about the unnecessary bandwidth drain and extra time to install the deploy

Harlan Brumm

It only adjusts the actual INI file. It doesn't have any effect on where content actually gets installed. This xml does not control content installation.

Jrostar

Thanks for the clarification!

Chris Hubbard

Harlan,

Thanks for the response. Are you going to actually document this officially or do we have to guess till we get it right. Seems a bit wierd to release these new installers with no real documentation?

I would really like a list of the available keys and the proper syntax for each key so we dont have to install it 5000000000000 times till we get it right.
Anaing you use the word "Similar" did autodesk not develop this? Is it not part of our subscription? Should I start filing support requests to get all of my paths correct?

Exaggerating a bit but you see my point. BTW there ate at least 10 BIM managers here in seattle asking the same question and pulling their hair out.

BTW so far the batch file method is not working for 12. Works for 11. The cache is not copying the ini on the initial launch.

Back to the drawing board

Gordon Price

Harlan,
this is great stuff!
Any chance there is an XML file in the deployment that builds the Revit Places content? We would love to add the local user's Links folder to Places, as well as rename the Families Library stuff.
An XML that supported this would be a godsend, as doing via script after the fact is proving problematic, and asking users to do it manually isn't going to work.

Jrostar

It seems there is a semi-solution to the content-installation-during-deployment problem.

Here is a link to my original AUGI Thread:

http://forums.augi.com/showthread.php?p=1126197

By clearing out the ContentPacks fields in the master.rac.xml file in the Deployment folder, Revit will skip the content installation. I will be testing this out, along with the changes I made to my inifile.xml file (with above tips / changes) tomorrow

Chris Hubbard

Gordon,

I suspect we need to add the keys to the xml file to build the places, but no syntax was made available. I am guessing quite a bit here

Harlan Brumm

Thanks all for the comments. I should clarify what I mean by the syntax being similar. The syntax will always be in the File->Section->Data format as described. The examples are intended to show the two formats that you will see in the file. The first, for Press and Drag, is for any section and piece of data in the ini file and you can apply that to any ini file change with settings like this - that would result in a 1 or 0 after the equal sign in the ini.

The other example, attempts to explain template path ini settings that is available and that the extra product and condition statements can be ignored or deleted. The key here is really the bracketed text. Changing the bracketed text using the CDATA syntax in red above sets the INI to that path.

I recommend opening your inifile.xml in NotePad++ with the color coding, it is a big help in understanding how this works and working with the file. Testing is important because if the syntax is incorrect, the resulting ini file will be blank. If its not blank, you are probably good.

If you'd like to see an example of the items in a ini file and what the ini file stores, check out the Revit ini wikihelp page at http://wikihelp.autodesk.com/index.php?title=Revit/enu/Community/Tips_%26_Tricks/The_Revit.INI_file.

As for the "Places" panel in the open dialog, places is stored the Windows Registry currently in HKEY_CURRENT_USER\Software\Autodesk\Revit\Autodesk Revit Architecture 2012\Profiles\AllAnavDialogs. You could roll changes out to this location using a regfile.

Gordon Price

Harlan,
I can get close with a REG file, or some VBS in my case. But there is still some weirdness. In my script I delete the entire AllAnavDialogs then build new values from scratch. I don't put the My Network key back in at all, as in our office there is 100% never a time when this is the appropriate behavior. I also don't include Imperial Library, as at the top I have an Office Library that points to the network resource. In that folder is a link to the OOTB content.
The problem is that Places still shows My Network, right above History, and then has Imperial Library right below, but it actually points at the folder on the network with the office library. And yet, those two keys don't even exist in the Registry, as if they are hard coded into Revit. BUT, if I move anything, those two get pushed into the registry.
They show up at the bottom of the list, where you have to scroll to get to them, so they can easily be ignored, but still some strange behavior I think.

Thanks!
Gordon

Gordon Price

Harlan,
while on the topic of Revit.ini, can I throw a question out? It may be something that would be good for another helpful post like this one.

In working on our new Revit.ini, I notice that in 2011 we had a couple of [PerformanceOptimizations] turned on. Namely
ParallelWallJoins=On
ParallelPrintProcessing=ON
I am wondering if these are still needed in 2012, or is this handled automatically. And are there any new optimizations we should be aware of. At this point all of our machines are quad core, so I would hate to roll out 2012 and not be taking advantage of all the new speed tweaks.
Any info you might have on any of the Supress...Warning stuff under [Messages] would also be great stuff to publish.

Thanks!
Gordon

Harlan Brumm

HI Gordon,
Those do not need to be enabled and are on by default in 2012. If you want to turn them off you can set them in the ini with OFF. There are not other optimizations for performance in 2012 that are in the ini that I am currently aware of. Thanks for the topic suggestions as well, we will look into them.

Dave Plumb

I'm giving this a shot today.
Two questions:
1.) I don't supposed there's an app that runs through the inifile.xml and actually creates a Revit.INI file is there? Would it be possible to pull that chunk out an let us run it against our file to test? That would be a whole lot easier than a half-hour full install just to see if you edited the xml file right.

2.) Could you post an example of the Library Locations section? That one has some formatting that's different than the others you've shown.
[RVT_UNITSTANDARD] Library=[RVT_PATH_LIBRARIES],[RVT_UNITSTANDARD] Detail Library=[RVT_PATH_DETAILS]
Can I add my own locations? What does [RVT_UNITSTANDARD] do?

Thanks

Dave Baldacchino

Hi Harlan,

This probably should be posted in the other blog post dealing with Revit.ini customizations but a) it's closed for comments and 2) now we really have to do customizations in the xml so it should be ok!

What does MaterialLibraryFiles=..\Data\Rendering do? This key exists in 2011 too but I have no idea what it's actually controlling. The Material library path cannot be changed and there is no "Rendering" folder that I could find on the C Drive. In 2012 we can create custom material library files but this defaults to the My Documents folder despite of the above setting. Any clues? Thanks!

Tsolsen

Hi,

I have one question, that I hope you can help me with. I want to direct my users to access family and detail library to folders on our server. How do I change/add the syntax?
I have tried


This adds only one folder, but it has a wrong name, and goes to a folder on the C drive. I'm pretty sure I'm missing something obvious error in my code :) But what?

I know about the new tool, but had all my other costum settings done and working in the xml file, before the tool was released. A hassle to start using it now.

Tsolsen

Well.. typepad won't let me post the code. But I hope the question makes sence anyway..

Jdmacdaddy

Thanks for the post Harlan. We're using the inifile.xml to create a custom Revit.ini with great success. However, whenever we apply Revit Update 1, it erases the contents of the [COLORS] section of the Revit.ini in the \UserDataCache folder. Any idea what might be going on? Is there an automated way to edit the Revit.ini so we can correct the machines?

The comments to this entry are closed.

RSS Feed

  •  Subscribe

Twitter Updates

    follow me on Twitter