3dsMax variable generator