
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good day.
I am currently porting an old MAX project to a new MAX project (in VS). Part of the code is a script to be run using ExecuteMAXScriptScript(). The MaxScript basically creates a section using matrix3. Here is the snippet of the script:
s = section transform:(matrix3 [p1.x,p1.y,p1.z] [p2.x,p2.y,p2.z] [p3.x,p3.y,p3.z] [p4.x,p4.y.p4.z])
Now when I run the old MAX project containing this script, it creates the Section (I check this through the Scene Explorer) with certain dimensions, vertices, curves, etc.
My issue is when I run this using the new MAX project, it also creates the Section but when I check its Properties, the dimensions, vertices, etc are all set to 0. I am expecting the same output as the one from the old MAX project.
I also checked that ExecuteMAXScriptScript() returned true which shows that the script ran successfully. Before running the script, I also double check that p1 to p4 are non-zero values. Both projects are in VS2015 and both generated plugins are loaded and tested in 3dsMax 2019.
Any leads regarding this issue would be very helpful. Thank you very much.
Solved! Go to Solution.