Wall Worm Forums

Design Tools => Wall Worm Level Design in 3ds Max => Anvil Bug Reports => Topic started by: CarbonCopyCat on August 28, 2016, 06:39:25 PM

Title: Method not found: 'Boolean Autodesk.Max.IILayer.get_IsHidden()'
Post by: CarbonCopyCat on August 28, 2016, 06:39:25 PM
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.
Title: Re: Method not found: 'Boolean Autodesk.Max.IILayer.get_IsHidden()'
Post by: wallworm on August 28, 2016, 07:58:17 PM
OK, I'll look into that in a few minutes.
Title: Re: Method not found: 'Boolean Autodesk.Max.IILayer.get_IsHidden()'
Post by: wallworm on August 28, 2016, 08:17:48 PM
OK, I updated WW Pro with the fix.
Title: Re: Method not found: 'Boolean Autodesk.Max.IILayer.get_IsHidden()'
Post by: wallworm 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 (http://dev.wallworm.com/document/170/help_there_was_an_error_and_now_max_is_frozen.html). 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.