Abstraction showing as text not UI component

diatom's icon

Hello
I created an EQ patcher.
I saved this as a separate .maxpat file.
The file is in a directory on my mac which is in max's path.
I open another patcher.
I press 'n' and type my abstraction's name. I see it come up and hit enter.
The object sets on the canvas as the name of the eq mytest.eq but I want it to show me the default UI element in the patch as though I'd just loaded a bpatcher.

I want to press 'n' and type the mytest.eq and hit enter and have the abstraction show the UI element without having to right-click and select patcher to bpatcher - is there a way to have this abstraction load from instantiation with the UI element automatically showing, or auto-convert to bpatcher on instantiation?

Wil's icon

@DIATOM - I think this is what you are looking for.
https://www.youtube.com/watch?v=K5kcNxjK6Os&t=301s

You can also read my comment (in the link) about making it draggable from the Max 8 folder - however this turned out be kind of clunky (and not working correctly)- so my final solution was to create snippets and create a unique snippets folder and put my bpatchers is there - although creating a snippets folder and moving patches to it is a bit clunky as well.

Hope this helps!

***Yeah it would be great if there was a way to create a folder of abstractions that functioned like Beap and Vizzie, and (big and) it was possible to add the folder to the menu bar!

diatom's icon

OK great thanks that worked - although the folder structure with init/patchers/help had to be a subdir in the Packages directory and not just a set of folders called that in the Max path.

Wil's icon

Yeah as mentioned it could use some sorting out by c74.
something that I think will be useful for a lot of folks if they can get it right.

diatom's icon

I note that when I hit 'n' and type mytest the bpatcher hits in presentation view in a window that is 128 square viewport onto the bpatcher. I've used the @offset message in the init/objectmappings.txt but it doesn't take dimensions - only an x y. How can I change the size of the bpatcher view? I'd like it to be specific to the 70 69 at a -10 -10 offset.

I've also tried including a loadmess presentation_rect 70 69 into thispatcher and restarting max msp each time. Neither appear to work.

diatom's icon

Solved: https://cycling74.com/forums/change-default-bpatcher-presentation-dimensions-of-128-square#reply-655e7e766c632e0013ad779b