Announcement

Collapse
No announcement yet.

inifile.xml bugs?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    inifile.xml bugs?

    I have been working on customizing the deployed Revit.ini using inifile.xml as described by Harlan on Revit Clinic.

    For the most part it is working great, but I am seeing a few problems and wondering if anyone else is seeing the same things.

    So one issue is that AllowPressandDrag seems to be set on no matter what. I added
    Code:
        <Section Name="Selection">
          <Data Key="AllowPressAndDrag"><![CDATA[0]]></Data>
        </Section>
    to the XML, but the value is still 1 in the resulting ini.

    Also, I tried to point to network resource IES files using this code
    Code:
          <Data Key="IESFileLocation">
            <![CDATA[\\dowa\dfs\Software Support\Revit\2012\Data\IES]]>
          </Data>
    But I am still getting the local IES files in the INI.
    Code:
    IESFileLocation=C:\ProgramData\Autodesk\RAC 2012\IES\
    And last, I tried adding a few warning supressions.
    Code:
        <Section Name="Messages">
          <Data Key="SuppressGraphicsHardwareWarning"><![CDATA[1]]></Data>
          <Data Key="SuppressHardwareFullySupportOldDriverWarning"><![CDATA[1]]></Data>
          <Data Key="SuppressHardwareFullySupportNewDriverWarning"><![CDATA[1]]></Data>
          <Data Key="SuppressNewFeaturesWorkshop"><![CDATA[1]]></Data>
          <Data Key="SuppressForceRasterPrintingWarning"><![CDATA[1]]></Data>
          <Data Key="SuppressShowButtonMessage"><![CDATA[1]]></Data>
        </Section>
    But as you can see, only the new and old hardware warnings came over, the generic one, new features workshop and showbuttonmessage got totally ignored, and the raster print warning showed up but with the wrong data.
    Code:
    [Messages]
    SuppressHardwareFullySupportNewDriverWarning=1
    SuppressHardwareFullySupportOldDriverWarning=1
    SPLWCount=0
    AdlmCheckoutBefore=1
    SuppressForceRasterPrintingWarning=0
    So, has anyone else gotten these items working? Or know for certain that they don't actually apply in 2012?

    For what it is worth, I think the general idea here (XML to customize INI) is a great idea. Once you get into it, it isn't horribly hard, and most of it works really well. I have all of our content and template stuff mapping exactly as I want it, I added a network resource for shared render textures with no problems. And this results in each machine having a unique InstallGUID, which I am hoping makes updating INI files later a little easier. That certainly seems to be what Autodesk is aiming for.

    Gordon
    Pragmatic Praxis

    #2
    No offense, Gordon, but your geekiness is quite impressive.
    Is Autodesk paying you for all this?

    Comment


      #3
      Hardly. I am known as one of the Autodesk haters. If they offered to pay me I would suggest they instead use it to pay someone to fix bugs instead of shipping half done crap. And right now I look at the inifile.xml and think "great idea, now %@%# finish it!"

      Mostly I just believe in automating anything I can, especially stuff that isn't fun to do manually, so I can focus on more interesting tasks. I am about an hour from abandoning the xml approach for 2012 and doing what always works, VBScript.

      Gordon
      Pragmatic Praxis

      Comment


        #4
        Originally posted by Gordon Price View Post
        Or know for certain that they don't actually apply in 2012?
        New Features Workshop has not been used for a couple of releases now. (Maybe 2009? was the last time we created that item.)
        Jeff Hanson
        Sr. Subject Matter Expert
        Autodesk, Revit - User Experience

        Comment


          #5
          Thanks Jeff! I am hoping some of this stuff is leftovers that no longer apply. Perhaps SuppressGraphicsHardwareWarning has just been replaced by the two more detailed warnings? I have never known what SuppressShowButtonMessage did, but it is in Scott's list on wikihelp, so I assume it still applies to 2012.

          Gordon
          Pragmatic Praxis

          Comment


            #6
            Originally posted by Gordon Price View Post
            Thanks Jeff! I am hoping some of this stuff is leftovers that no longer apply. Perhaps SuppressGraphicsHardwareWarning has just been replaced by the two more detailed warnings? I have never known what SuppressShowButtonMessage did, but it is in Scott's list on wikihelp, so I assume it still applies to 2012.

            Gordon
            Graphics Hardware one looks old to me and is probably been replaced by the 2 more specific warnings. I have no idea what "Suppress Show Button Message" is???
            Jeff Hanson
            Sr. Subject Matter Expert
            Autodesk, Revit - User Experience

            Comment


              #7
              Funny thing is I have seen Suppress Show Button Message set to 1 in INI's for years. Never known what the heck it does. I figure, lacking any solid info, keep doing it. But would much rather know what the heck I am doing. And my Google Fu is finding years worth of references to INI files with it set to 0, and still no explanation of what it is doing. Gah!

              Gordon
              Pragmatic Praxis

              Comment


                #8
                I may be smoking something (not), but i recall seeing these in the new journals... I think the Yes and No options are different now:

                ' 1:<
                'Can use hardware=y
                'Hardware support flags:
                'FeatureLevelLow=n
                'DrvOlderThanTested=n
                'DrvNewerThanTested=n
                'CardIsNotListed=y
                'NotCertifiedEnv=n
                '3GBSwitchIsOn=n
                'SoftwareModeForced=n
                ' 0.267822 1:<<<CanUseHardware(forced)
                ' 0:< FINISH CanUseHardware(forced)
                Aaron "selfish AND petulant" Maller |P A R A L L A X T E A M | Practice Technology Implementation
                @Web | @Twitter | @LinkedIn | @Email

                Comment


                  #9
                  I too am having problems. With 2011 I just edited the revit ini file to change the autosave time to less than 15mins. I have installed 2012 and haven't changed the auto save time but yesterday forgot to save and lost some work. I went to hunt for the ini file but the one that I found doesn't seem to change when I change any of the options in Revit. I went through all the forums but all to no avail it just doesn't seem to change. I even copied the 2011 one to the same folder as the 2012 one and renamed it but it didn't use that file. If the only way to edit is using the xml file then as a non-geek I am stuffed because I wouldn't know one end of an xml from the other. I did actually change on eof the values in the xml file - country, as it was showing USA instead of AUS but this didn't seem to update the ini file. I have also done a search for ini files and it only comes up with one for 2012.

                  I am hoping that someone else has had this problem. I know it is not such a big deal but as a matter of principal, this is a pain.

                  Comment


                    #10
                    Cancel that, it's like taking your car to a mechanic and the fault that you complained about doesn't happen. I found the file, whoo hoo.

                    Comment

                    Related Topics

                    Collapse

                    Working...
                    X