Notifications
Clear all

[Closed] Need help translating a little maxscript to c++

well…


  trackViewNodes[#Max_MotionClip_Manager].track = copy trackViewNodes[#Max_MotionClip_Manager].track
-- and of course
gc()

 does do the trick.

there is no any other note tracks in the scene.

but i still don’t understand the mechanics of notes number growing.
does it happen on save, or merge, or load a new file?

It’s not very very clear, but Autodesk was aware of these bugs:
http://forums.cgarchitect.com/35748-max-file-grew-too-big-pls-help-2.html#post317594

they had other solution,[don’t know if it would work in this case though]:

for i = 1 to theMixer.numMaxMixers() do
(
theMixer.removeMaxMixer 1 false 1

)

thanks denist ,this solves our problem!
and it took a fraction of a second to “clean” the scene!

If I ever meet you I’ll buy a beer.

1 Reply
(@denist)
Joined: 11 months ago

Posts: 0

and your favorite Norwegian food for beer. What is it? Some sort of dry and salt fish?

I’ll change the topic to reflect the replies, and tag this as solved.

Thank you all for helping with this!

thank you very much mate ! you saved my life

1 Reply
(@neohaus)
Joined: 11 months ago

Posts: 0

Thanks very much ! This script saved me from dispair.

Page 2 / 2