Hi everyone!
I’m trying to run the example Maxscript for Babylon.js, here is the link:
But after carefully updating the paths (as requested in the comments) and running the script, Maxscript reports this:
– Error occurred in anonymous codeblock; filename: C:\test.ms; position: 1251; line: 35
– Runtime error: No ‘Export’ method found which matched argument list
– MAXScript callstack:
– thread data: threadID:6436
– [stack level: 0]
– In top-level
The manual Export through the Babylon-menu works fine.
By the way, I’m using Max2018, and the dotNetObject works, the ‘showproperties param’ shows all the properties correctly.
What am I doing wrong? Thank you for any feedback!
Fernando
1 Like
Pinging the master of Exporters @Drigax
Drigax
January 9, 2020, 5:43pm
3
Strange. I’m not sure what may be happening off hand. I’ll try to test the sample script to see if it needs to be updated
Great, thank you Drigax!
And thanks for the ping Deltakosh
Drigax
January 9, 2020, 8:18pm
5
Looks like not too long ago, we added another parameter to the MaxScriptManager.Export() functions that add a flag for enabling logging. This seems to have broken the sample script since it’s missing that parameter.
Here’s a fix, it should be available to the installer shortly:
BabylonJS:master ← BabylonJS:drigax/FixMaxscriptManager
opened 08:16PM - 09 Jan 20 UTC
1 Like
Awesome! Thanks so much Drigax for the quick fix, 5-star support! Works like a charm now.