I need a little script to delete last MatID(Mesh)
Hello, i spent a lot of time on making this stuff and first time i release it, but second i couldn't make it again,
to delete last MatID(mesh) by 1 click, can someone help me with this ?
IT's a simple script when you select a mesh and press button - it deletes last MaTID(mesh).
P.S.
And if it possible http://dfiles.ru/files/owsepv1vr to modifie this script(its .psk file importer) and add to it a possibility to insert special mesh(On the importing model), while importing the file, with position controlling rulers.
Comments
it works
Thx! it works,
Second question, http://dfiles.ru/files/owsepv1vr is it possible to modifie this script, it is importing psk files(that have mesh, bones and skin data)
I need a little modification, to attach a mesh(from folder - in 3ds format or obj) on import and to be able to change it's position using script ?
I'm in need of this for a long time, 3-6 months.
Thx guys anyway! for your time and work its helps me a lot.
Hey Artemie
Why don't you ask the author to add new features that you suggested
bga
i did
I did asked him, he doesn't have 3ds max anymore and he won't install it, if this future will be available it would save a lot of time,
or is to hard ?
Skin problem
--Update guys,
this script works perfectly even for meshes with skin modifier applied on!
Hey thx guys for helping me out, but seems script won't work with skin modifier applied on mesh http://i.imgur.com/ZOMKUIL.png
Is it possible to add little support - with skin applied ?
I tested anubis script on max 9 and its didn't work =(.
try now
bga
the script from the PNG is not mine ;-)
it was made by Branko and he already update and fixed it, so it works too now in Max 9, but the script you post above is mine, with some additional optimization mades by Branko, and if it works fine, then where is the problem?
my recent MAXScripts RSS (archive here)
This is my test. Based on
This is my test. Based on your solution I fixed memory lecking
First test scene (10 collapsed boxes)
Now your original code #1 solution
This is recreation of your code #2 solution
And now the result
#1 solution
time:0.064 memory:1485368L
#2 solution
time:time:0.048 memory:129824L
#2 solution is 10 time memory efficient and 1/3 time faster
bga
thanks for testing
Interesting, I always thought that Collect is more faster than Append. Maybe I s'd test them again.
my recent MAXScripts RSS (archive here)
This is the replacement for
This is the replacement for "appendIfUnique"
and the final code will be
bga
...
Did you tested my example function I post below?
I'm just curious is it worth :)
my recent MAXScripts RSS (archive here)