explorer, autocompletion and basic attributes in Max6

Oct 1, 2012 at 12:07pm

explorer, autocompletion and basic attributes in Max6

Hi.

Some (hopefully easy) questions about how to make the bach library more Max6-friendly:

1 – How can I have my objects and patches appearing in their own custom palettes as tabs in the Object Explorer, along with their SVG icons? It worked flawlessly in Max5, and we can’t figure out how to achieve it in Max6 – the issue has already been raised in http://cycling74.com/forums/topic.php?id=36103

2 – The smart autocompletion is very cool, but I wish it to show bach.* instead of bach.times. I have both this
max db.addvirtual alias bach.* bach.times;
and this
max objectfile bach.* bach.times;
but the autocompletion still shows me bach.times… what should I do?

3- If I add the line
CLASS_ATTR_ATTR_PARSE(c,”foo”,”basic”,_sym_long,flags,”1″)
for my basic attributes, will it do bad things in Max 5, as long as I build everything against the SDK 5.1.7?

Thanks for your patience… and btw
bump http://cycling74.com/forums/topic.php?id=41800
and bump http://cycling74.com/forums/topic.php?id=42661

Cheers
aa

#64449
Oct 24, 2012 at 3:39pm

I’ll approach in reverse order:

3. You should be fine.

2. If you start typing, you’ll find that “times~” is in the autocompletion from MSP too. *~ is added in addition to times~ but doesn’t replace it. At this time that’s the way the system works — there is no way “unlist” the times~ object. The same applies to your bach.times object.

1. You need a qlookup file to define the metadata for your external. The qlookup file must be named such that it ends with “obj-qlookup.json” and is placed in the Cycling '74/interfaces folder. For TapTools I have named the file taptools-obj-qlookup.json. Here is an abridged version of that file’s contents, including a UI object:

{
  "tap.comb~": {
    "digest": "Sweet sounding comb filter",
    "module": "msp",
    "category": [
      "Tap.Tools",
	  "MSP Filters"
    ]
  },
  "tap.verb~": {
    "digest": "Reverb in a box",
    "module": "msp",
    "category": [
      "Tap.Tools",
	  "MSP Effects"
    ]
  },
  "tap.dragwindow": {
    "digest": "Define a region of a window as a handle for dragging the window",
    "module": "max",
    "category": [
      "U/I"
    ],
    "palette": {
      "category": [
        "Interface"
      ],
      "action": "dropfile",
      "pic": "dropfile.svg"
    }
  }
}

As you can see, it references an SVG file which is then used for the icon.

Hope this helps!
Tim

#232472
Oct 25, 2012 at 12:35pm

Thank you very much Tim – for the other answers as well!
aa

#232473
Oct 25, 2012 at 3:11pm

Hi Tim

sorry to annoy you again… 3. and 2. work perfectly, but 1 doesn’t.

I have downloaded the latest trial version of TapTools (great work btw, I’ll definitely take advantage of the birthday offer!) but they don’t show up in the Object Explorer either… I’m on Max 6.0.7, OSX 10.6.8… Does it make any sense to you? What can I be doing wrong?

Thank you
aa

#232474
Oct 25, 2012 at 3:20pm

… if I add stuff to the original obj-qlookup.json file it works, but frankly this is not what I want to do…
and, btw, is there a way to add my own module to the explorer? (I guess not…)

Thanks again!
aa

#232475
Oct 26, 2012 at 11:07am

Same problem for me..
It’s really important for us to add our objects in the max6 explorer window.
related post : http://cycling74.com/forums/topic.php?id=36019
Please Tim, tell us what’s your tricks to make it work?
Thanks in advance !
eliott.

#232476
Oct 29, 2012 at 2:24pm

Well, this is embarrassing. It appears that I never checked-in the code for the multiple-qlookup! Ugh. We’ll try to get it into a future version.

best,
Tim

#232477
Oct 31, 2012 at 3:13pm

Thank you for your reply.

Will it also be possible adding custom modules, besides Max, Msp, Jit, etc.?

Cheers
aa

#232478
Nov 6, 2012 at 9:41pm

Yes, this will possible. It will not be in Max 6.0.8 but should (can’t promise, but fingers-crossed…) be in Max 6.1.

best,
Tim

#232479
Nov 7, 2012 at 9:36am

Great ! Thanks.

#232480
Nov 9, 2012 at 1:06pm

Hi,
Multiple obj-qlookup.json file support doesn’t seem to be added to the new Max 6.0.8 Version,
I’m wrong ?
Thanks.

#232481
Nov 12, 2012 at 1:21pm

You are correct. It will not be in Max 6.0.8 but should (can’t promise, but fingers-crossed…) be in Max 6.1.

Cheers,
Tim

#232482
Feb 17, 2013 at 10:20am

Hello Tim, what’s the current situation now that Max 6.1 has been beta-testing?

#232483
Feb 18, 2013 at 3:16pm

The information will be included in the new Max 6.1 SDK, to be released when Max 6.1 is no longer in beta.

#232484

You must be logged in to reply to this topic.