Author Topic: Method not found: 'Boolean Autodesk.Max.IILayer.get_IsHidden()'  (Read 766 times)

CarbonCopyCat

  • WW Pro
  • Jr. Member
  • *****
  • Posts: 59
  • Karma: 7
  • Egg(plant)head
    • View Profile
When exporting a map via Anvil, the VMF fails to export, instead outputting this in the MAXScript listener.
http://pastebin.com/FA5fV6yA (too long for a forum post)
It was last working before I updated to 2.864 (I was last using 2.851, if I remember correctly), and I'm currently using the most recent version and Max 2017.

It seems to happen no matter what, even if I'm using a single visible layer or multiple layers with some hidden.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3377
  • Karma: 95
  • Behind me?
    • View Profile
Re: Method not found: 'Boolean Autodesk.Max.IILayer.get_IsHidden()'
« Reply #1 on: August 28, 2016, 07:58:17 PM »
OK, I'll look into that in a few minutes.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3377
  • Karma: 95
  • Behind me?
    • View Profile
Re: Method not found: 'Boolean Autodesk.Max.IILayer.get_IsHidden()'
« Reply #2 on: August 28, 2016, 08:17:48 PM »
OK, I updated WW Pro with the fix.

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3377
  • Karma: 95
  • Behind me?
    • View Profile
Re: Method not found: 'Boolean Autodesk.Max.IILayer.get_IsHidden()'
« Reply #3 on: August 28, 2016, 08:31:36 PM »
Also, for future reference, if there is ever a bug in exporting a VMF, you should always immediately click Wall Worm > Wall Worm Utilities > Unfreeze UI. The reason is that WW turns off a bunch of Max functions during the VMF Exporter and doesn't use a Try/Catch block for performance reasons (Try/Catch slows down MAXScript very badly).

So this is the compromise. I try to keep it bug free... but when there is a bug I lean on you and others to let me know. And use that function to bring Max back to normal usage.