explorer, autocompletion and basic attributes in Max6

    Oct 01 2012 | 12:07 pm
    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 https://cycling74.com/forums/custom-object-palette-max5-not-working-in-max6
    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?
    Cheers aa

    • Oct 24 2012 | 3:39 pm
      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": [
      	  "MSP Filters"
        "tap.verb~": {
          "digest": "Reverb in a box",
          "module": "msp",
          "category": [
      	  "MSP Effects"
        "tap.dragwindow": {
          "digest": "Define a region of a window as a handle for dragging the window",
          "module": "max",
          "category": [
          "palette": {
            "category": [
            "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
    • Oct 25 2012 | 12:35 pm
      Thank you very much Tim - for the other answers as well! aa
    • Oct 25 2012 | 3:11 pm
      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
    • Oct 25 2012 | 3:20 pm
      ... 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
    • Oct 26 2012 | 11:07 am
      Same problem for me.. It's really important for us to add our objects in the max6 explorer window. related post : https://cycling74.com/forums/reference-xml-not-compatible-with-max-6-anymore Please Tim, tell us what's your tricks to make it work? Thanks in advance ! eliott.
    • Oct 29 2012 | 2:24 pm
      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
    • Oct 31 2012 | 3:13 pm
      Thank you for your reply.
      Will it also be possible adding custom modules, besides Max, Msp, Jit, etc.?
      Cheers aa
    • Nov 06 2012 | 9:41 pm
      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
    • Nov 07 2012 | 9:36 am
      Great ! Thanks.
    • Nov 09 2012 | 1:06 pm
      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.
    • Nov 12 2012 | 1:21 pm
      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
    • Feb 17 2013 | 10:20 am
      Hello Tim, what's the current situation now that Max 6.1 has been beta-testing?
    • Feb 18 2013 | 3:16 pm
      The information will be included in the new Max 6.1 SDK, to be released when Max 6.1 is no longer in beta.