• There seems to be an uptick in Political comments in recent months. Those of us who are long time members of the site know that Political and Religious content has been banned for years. Nothing has changed. Please leave all political and religious comments out of the forums.

    If you recently joined the forums you were not presented with this restriction in the terms of service. This was due to a conversion error when we went from vBulletin to Xenforo. We have updated our terms of service to reflect these corrections.

    Please note any post refering to a politician will be considered political even if it is intended to be humor. Our experience is these topics have a way of dividing the forums and causing deep resentment among members. It is a poison to the community. We appreciate compliance with the rules.

    The Staff of SOH

  • Server side Maintenance is done. We still have an update to the forum software to run but that one will have to wait for a better time.

Max Script for Gmax; Scale Overwriting.

Lionheart

SOH-CM-2014
Hey guys,


I was just wondering if its possible to write a Max script for Gmax that will cause all parts to have their scale reset?

Sometimes this cannot always be done with some parts when using 'Hierarchy/Scale/Reset'. But I am wondering if its possible to have a script 'overwrite' all Scale issues.

I know nothing about writing Scripts, so I thought I would ask.



Bill
 
Hi Bill,

that would be "reset xform" from the utilities tab.
Drawback with this one is that it also resets the pivot to world coords.
There is a more sophisticated freeware reset xform script available that keeps the pivot rotation intact, don't have the link handy though.
I had a link over at my design board at Netwings but as long as it's down you'd need to try google.
Other than that, all those tools don't like to work in hierarchies unless you make your way from the lowest part in the hierarchy up to the highest, if that makes sense.
 
Hi Bill,

that would be "reset xform" from the utilities tab.
Drawback with this one is that it also resets the pivot to world coords.
There is a more sophisticated freeware reset xform script available that keeps the pivot rotation intact, don't have the link handy though.
I had a link over at my design board at Netwings but as long as it's down you'd need to try google.
Other than that, all those tools don't like to work in hierarchies unless you make your way from the lowest part in the hierarchy up to the highest, if that makes sense.


Hey Mathias,

What this is for is FS9 models, taking the VC model and upscaling it 1600% to make it a super model, resetting scales, then exporting, adjust ASM file, and recompile with BGL9; (Wozza's famous trick for getting past the 4MM weld distance snag in FS9 SDK).

My issue is that many parts are not clearing, perhaps 8 parts. And that was alot of clearing with a model that is maxed out. So thats why I was wondering if a Script could be written that would clear all scales, but not touch the X-Form. This way, of course, all animation pivot points are retained.

Thanks though for the info.

I wonder if Max8 has a better ability of resetting scales or if all Max/Gmax systems are about the same power in resetting Scales..



Bill
 
From some reason I once had trouble getting them to clear if I had the parts parent in the hierarchy selected too. Did you try selecting just the parts one by one and then resetting?
 
So thats why I was wondering if a Script could be written that would clear all scales, but not touch the X-Form. This way, of course, all animation pivot points are retained.


Bill

Well Bill, that's what Pen Reset Xform does for you. :)
http://www.scriptspot.com/3ds-max/reset-xform

I wonder if Max8 has a better ability of resetting scales or if all Max/Gmax systems are about the same power in resetting Scales..



Bill

No improvements on this part in any Max version that I know of. That's why someone wrote the above script.
 
That also was in JJTools5 , no longer available from his site

[FONT=Arial, Helvetica, sans-serif]Resets and collapses the XForm of all selected objects whilst attempting to preserve the orientation of their pivot points. Unlike the standard 'ResetXForm' button, this tool can be undone. [/FONT]

I have a copy of JJtools4 but it dosn't contain that script, but scriptspot still lists it http://www.scriptspot.com/3ds-max/clever-reset-xform


There is no better way than doing it as you create the parts, never leaving a scaled object to start with is the best solution,
they will get you in the end as FS sees the bounding box of an object as its size , not the size of its mesh.
 
That also was in JJTools5 , no longer available from his site

[FONT=Arial, Helvetica, sans-serif]Resets and collapses the XForm of all selected objects whilst attempting to preserve the orientation of their pivot points. Unlike the standard 'ResetXForm' button, this tool can be undone. [/FONT]

I have a copy of JJtools4 but it dosn't contain that script, but scriptspot still lists it http://www.scriptspot.com/3ds-max/clever-reset-xform


There is no better way than doing it as you create the parts, never leaving a scaled object to start with is the best solution,
they will get you in the end as FS sees the bounding box of an object as its size , not the size of its mesh.


Hey Chuck,

Roger that and thanks for the heads up on that script.

From some reason I once had trouble getting them to clear if I had the parts parent in the hierarchy selected too. Did you try selecting just the parts one by one and then resetting?

Cerberus



Hey Jess,

I did. One by one, lol..
 
Back
Top