function.maxdefine: Make function default to list output

Feb 1, 2011 at 5:06pm

function.maxdefine: Make function default to list output

If you’re like me, you’ve probably found that function’s default output is often not what you want. (single value, then list) Here’s a tweak to the function.maxdefine file that will set it to output as a list by default.

Cycling74 folks: is there a correct/better way to do this? Is there an easier way of making default settings (outside of color)?

Here’s my function.maxdefine file (from Cycling ’74/default-definitions/)

{
"definitions" : [
{
"attr" : "bgcolor",
"class" : "function",
"default" : [ 0.8, 0.8, 0.8, 1.0 ],
"label" : "Background Color",
"style" : "rgba"
},
{
"attr" : "pointcolor",
"class" : "function",
"default" : [ 0.32157, 0.32157, 0.32157, 1.0 ],
"label" : "Point Color",
"style" : "rgba"
},
{
"attr" : "linecolor",
"class" : "function",
"default" : [ 0.33333, 0.33333, 0.33333, 1.0 ],
"label" : "Line Color",
"style" : "rgba"
},
{
"attr" : "sustaincolor",
"class" : "function",
"default" : [ 1.0, 1.0, 1.0, 1.0 ],
"label" : "Sustain Color",
"style" : "rgba"
},
{
"attr" : "textcolor",
"class" : "function",
"default" : [ 0.0, 0.0, 0.0, 1.0 ],
"label" : "Text Color",
"style" : "rgba"
},
{
"attr" : "bordercolor",
"class" : "function",
"default" : [ 0.5, 0.5, 0.5, 1.0 ],
"label" : "Border Color",
"style" : "rgba"
},
{
"attr" : "outputmode",
"class" : "function",
"default" : 1,
"label" : "Output mode"
}
]
}

#54728
Feb 2, 2011 at 1:19am

Nope. This is hard coded in the object. I wouldn’t even count on modifying the function.maxdefine by end, this is not designed to work that way and this is an unsupported way of doing it. I would recommend creating clippings instead.

#197105

You must be logged in to reply to this topic.