MaxScript SDK

MaxScript SDK

Anonymous
Not applicable
757 Views
4 Replies
Message 1 of 5

MaxScript SDK

Anonymous
Not applicable
A) I see that the DLX creation is not documented in the 2012SDK. What does this mean? Shall we not use it anymore? What is the replacement?

B) The Max9SDK doc says something like "build as hybrid but w/o debug". Does this mean that I cannot debug my code with the debugversion of Max?

Istan
0 Likes
758 Views
4 Replies
Replies (4)
Message 2 of 5

akira.kudo
Alumni
Alumni
Hi,

>A) I see that the DLX creation is not documented in the 2012SDK. What does this mean? Shall we not use it anymore? What is the replacement?

I think that we can use DLX extension. (See attached jpgs)

>B) The Max9SDK doc says something like “build as hybrid but w/o debug”. Does this mean that I cannot debug my code with the debugversion of Max?

We have to use 3ds Max debug build version that are publised on ADN web site, if we need to build your plugin with debug build.

I hope this helps.

Best REgards,
Akira Kudo





Akira Kudo

Developer Technical Services

Autodesk Developer Network


0 Likes
Message 3 of 5

spacefrog_
Advisor
Advisor

A) I see that the DLX creation is not documented in the 2012SDK. What does this mean? Shall we not use it anymore? What is the replacement?
Istan

Indeed using a DLX is no longer recommended as the best way to build maxscript extension plugins. The new way would be using a global utility plugin (GPU) and the function publishing mechanism. See Chris Diggins blog entry on that matter - take a look at the comments too. Using function publishing the learning curve is a bit easier than going for the classic DLX route ...
But you are wrong - the DLX path is in the SDK documents and especially in the Samples directory of the SDK - just dig a little deeper



B) The Max9SDK doc says something like "build as hybrid but w/o debug". Does this mean that I cannot debug my code with the debugversion of Max?
Istan


There is no public access to a "Debug" build of Max or the debug info for 3ds Max. You have to test your plugins with the standard release build ( without debug info) of 3ds Max.
Of course you have debug info for your own plugin, hence the term "hybrid" because essentially you debug a mix of your plugin ( inlcuding debug info) and 3ds Max ( without debug info).
This means you can step/debug-run through your plugins sourcecode, but as soon the execution returns to 3ds Max inside functions you only get a dissassembly of the code, no ( 3ds max ) source listing ) of course

Josef Wienerroither
Software Developer & 3d Artist Hybrid
0 Likes
Message 4 of 5

Anonymous
Not applicable
Akira,
concerning A) the Max9 doc is probably better structured - finding information seem to be easier
concerning B) of course I have to use a debug version when I want to debug. But why is there an extra information about compiling maxscript code without debug symbols?
Nevermind, everything is working as expected!
Istan
0 Likes
Message 5 of 5

Anonymous
Not applicable

Indeed using a DLX is no longer recommended as the best way to build maxscript extension plugins. The new way would be using a global utility plugin (GPU) and the function publishing mechanism. See Chris Diggins blog entry on that matter - take a look at the comments too.


This hint was very useful! Thanks.
0 Likes