Announcement

Collapse
No announcement yet.

MaxScript: Compress On Save

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

  • MaxScript: Compress On Save

    For you coders out there:

    What is the code for setting Compress On Save for the saving current scene only ? If possible at all.
    It can be done by accessing the INI-files but this requires Max to restart, so this is not what I want.

    Thanks

  • #2
    Click image for larger version

Name:	Capture.JPG
Views:	1
Size:	65.0 KB
ID:	866561 What is the difference between the one you need and the native 3ds max compress on save?
    Regards,
    Ledian

    Comment


    • #3
      Originally posted by idnok View Post
      [ATTACH=CONFIG]36052[/ATTACH] What is the difference between the one you need and the native 3ds max compress on save?
      I think he wants to be able to choose when to compress on save, instead of it compressing everytime he saves, because if it does it every time it takes much longer to save and that affects the autobackup speed as well.

      Cheers.

      Comment


      • #4
        Thanks for the replies.

        Thing is I need to be able to set compress on save based on certain conditions in maxscript, while for normal max use compress on save is off. As Chad said

        Comment


        • #5
          This will switch it on for you:
          Code:
          setINISetting (getMAXIniFile()) "Performance" "WriteCompressed" "1"
          You shouldnt need to restart max, but may need admin rights...
          Kind Regards,
          Morne

          Comment


          • #6
            Originally posted by Morne View Post
            This will switch it on for you:
            Code:
            setINISetting (getMAXIniFile()) "Performance" "WriteCompressed" "1"
            You shouldnt need to restart max, but may need admin rights...
            Hmm, tried that but didn't work on the fly without a restart, while being admin. Will look into it and report back. Thanks

            Comment


            • #7
              Not sure this is a way to do this...

              Comment

              Working...
              X