Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: cc8boy on July 27, 2016, 06:01:41 PM

Title: Why not show me these tracks in curve editor ?
Post by: cc8boy on July 27, 2016, 06:01:41 PM
I want to animate the parameters (for example, "Start" and "Length" in properties group in Base Objects tab) in the main menu of railclone pro in modify panel. But I can't find the these "Start" and "Length" curves in The Main Curve Editor of 3dsMAX. 
I only saw some tracks about RC 1.x.
But I can set some key frames in these hidden tracks when I turn on auto key mode. How can I manage to open the curve editor of these hidden parameters such as  "Start" or "Length" ?
Title: Re: Why not show me these tracks in curve editor ?
Post by: Paul Roberts on July 27, 2016, 07:26:57 PM
HI,

Those tracks are not visible by default because they are created dynamically. However as soon as you add a keyframe to any of the spinners, including parameters, they should become available in the curve editor as normal.

(http://i.imgur.com/IBFFGna.png)

I hope that helps, please let me know if you have any further questions.

Many Thanks,

Paul
Title: Re: Why not show me these tracks in curve editor ?
Post by: cc8boy on July 28, 2016, 03:22:28 AM
Thanks for your quick reply.
"Those tracks are not visible by default."  Do you mean that these tracks are accessable by MAXScript by default ? Are they just not visible but they are exist by default ?
Because I want to write a MAXSCRIPT to add new keys automatically in the "Length" tracks and etc.

I want to make sure if they are accessable by MAXScript by default.
Title: Re: Why not show me these tracks in curve editor ?
Post by: Paul Roberts on July 28, 2016, 10:21:18 AM
Hi,

There shouldn't be any problem adding keys using Maxscript. For example, to add keyframes to the Start parameter for the first spline in the base objects list you could try the following:

Code: [Select]
with animate on
(
at time 0 $.bastart[1] = 0
at time 25 $.bastart[1] = 45
at time 75 $.bastart[1] = 70
)

You'll see now that the keyframes are visible on the track bar and in the Curve editor as normal.

Thanks!

Paul