Notifications
Clear all
[Closed] Custom Attributes led to the carsh of max5?
Apr 15, 2006 9:43 am
This is a subscript, “totime”,“fromtime”,“interim”,“starttime”,“steptime” are global variables.After i run this subscript max5 will crash later. Waht’s going on here ?
Thx …
catemp=dummy()
custom = attributes "VA data"
(
parameters main
(
totime type:#integer
fromtime type:#integer
interim type:#integer
steptime type:#integer
starttime type:#integer
)
)
custAttributes.add catemp custom
catemp.totime=totime
catemp.fromtime=fromtime
catemp.interim=interim
catemp.steptime=steptime
catemp.starttime=starttime
4 Replies
Apr 15, 2006 9:43 am
I haven’t looked at your code but Max 5 had lots of issues with custom attributes. Actualy Max 5 was just about the buggiest software that I have ever used. 6,7 and 8 are far far far better, is there no way that you can upgrade?
Apr 15, 2006 9:43 am
thx PEN,I have no doubt that you are right.Max 5 had lots of issues with custom attributes.When i run this script in max8,all is ok.
Apr 15, 2006 9:43 am
Adding a rollout to your custom attribute definition should fix this problem, even if the rollout is not used:
custom = attributes "VA data"
(
parameters main rollout:params
(
totime type:#integer
fromtime type:#integer
interim type:#integer
steptime type:#integer
starttime type:#integer
)
rollout params "Parameters"
(
)
)
custAttributes.add catemp custom
Martijn