Announcement

Collapse
No announcement yet.

Clear Memory Command

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

  • Clear Memory Command

    I think to remember there was a maxscript command to clear the memory
    but I can“t find it in the help.
    I need to attach several thousand CAD imported objects.. and max crashes
    after ~100. This will be great fun

  • #2
    Better to do it scripted for many objects in order to avoid crashes for attaching.

    use disableSceneRedraw to stop redrawing
    use undoOff() to turn off undos
    and use gc() (garbage collect) to clear unneeded memory

    Regards,
    Thorsten

    Comment


    • #3
      i had this same thing importing a revit file once.
      The quickest and easiest thing to do is attach 20-30 objects at a time. Its a very tedious process but its the quickest way of doing it.
      Chris Jackson
      Shiftmedia
      www.shiftmedia.sydney

      Comment


      • #4
        If you are attaching mesh, try to convert to Edit Poly and then attach. Edit Poly seems much more efficient at memory handling than Edit Mesh.

        I used that trick a few years back when dealing with some very high poly trees from onyx.
        Ben Steinert
        pb2ae.com

        Comment


        • #5
          Thank You for the Tips !!

          Comment


          • #6
            the big one though is

            Code:
            freeSceneBitmaps()
            Colin Senner

            Comment

            Working...
            X