auto connect objects when deleting the one in between? or empty object?
i wanna delete the delay without having to reconnect the two bangs together.
can this be done? or maybe paste replace with an ’empty object’ or something?
otherwise i’m going to have to rewire more than 300 objects in about 100 sub patches..
i’d like to know if there’s an easier way to accomplish this…
i could always paste replace all the delays with bangs, but then i’d have about 300 unnecessary bangs in my patch…
i know . its not the coolest situation . you can do it with thispatcher . wait few minutes i will post you a little starter and description
-- Pasted Max Patch, click to expand. --Copy all of the following text. Then, in Max, select New From Clipboard.----------begin_max5_patcher---------- 1129.3oc0ZsziSqCEdcQh+CQAwJFFE+JO.1fXEBDRHc2cEBk1Z5XTqSUh6v. H9uiejzFl1YhCX6zYi83Gwy46ymywmic+4iezr34U2PahidQz+GMa1Ok8LS2 mpmYccLKdS4MKVW1nmX7hpManbQ7EsCJn2HzC7pmG8l2+127tn29e6G7KUbA ubCUOgWWyJWueH9tML9ZpPupftdYK0SsZ9WedZ+oVsSzM2j9KdC6G5EG.ube +aKEKthwW84Z5BgAbo4xgi.XcIIQUAkkQeZ+ZUuZtdwuLQ2yud7iT0xpKrlY 3zuIk6iIlmEQFMg.OAgPtCBALDgXlq36aoF1HlI2+Nf8SvWvTflpPDUEBdIo ivbN6r6GLGwOn6fePilelWxWEewg5g4KjV0p.oJwoGzubNc0rsVJMeIpYQMa qHZQEmKkhn46DOkEkzUu+6VyjCWsiq+XhKXYnyzBGfRgYZZDqqHZ9MiblqBl lLc5ffL3znCtjJkbpp5orSq3gcw4Ajh.o40RjsZdlxTXHXRt3JCMpJK+dzcw moN43j7PwmIj9Vx5SeyKNysjIYSnkbRQnrjkltxSO.tgxtqH1f+0T18ySXCA oIKBzAzj7zSQEeDtj.CYBcZjcunJEqOqqMjBXxDfKbtGvEo0s5ThKnOvURxT iKTgGvEFVnC6eJwUlGvEhL83h3O+F.Lb5vExe9MlTbA7meioDWvb+42XRwUp +7a3RbMhzBLI1aHB+lW.HKP4Efx6mV.vAoEHpVsZM0d8Dv3sqGL3cSPofiNb 4vmTK2XDz5OS4kyWqW2DujHDHwIg0WLcIBY3x.jGjIcaPhaXLryLfr+T+BcN 1onGLjDHfjTWHDAfjDWwZzR.s1IuBBl3rjpGNgZiGYTg4JuJN14US40cq1S9 fZ89C3FE+RUwS9npjxWZ5472bMKjphsQ88fydEmFPVpKFxGdrTH882EQ5frj YUzwJd6W6UurpAtE20TsqdQmnzFFPD3f3rj1HX7RASFW9gIoBnJpm+hqXKWR 4+wq1tgsbak7j+VAIUerN.pEdTxQM5tbOh9O68+m0nhdZ4.gO4V3otT3+J3g Lm+j.OtUlYFfbEDUM7KFgCtENZLl0+9TjQy203b.Hf6EHtVtTO+2vBl5grFG CCSx6QwfbP.3XMVFzh.MVnz5rB.MI+AAG2xXQ.kA+6cKhauUbZPphAajnzrE gx6YSna3Qnj6InHSkMzPIyFUOsB53fRqi21iY59MtzuUVVOKLUCOixgcVjOZ ThI8cVX197ryhQfkv5QV8ljCaULrCYmKW1HVvfSW3Lqbh.CNegsZeDE9MRU. +VHXYgWvrQtHffKWHqT8wgWtP1HWS.eArhuBuBFxJW9mmhEbzQfmknS0t6Gk XaVq8aAQlKLCkZNv0qoqBsKZuzfS+PqbTiCu8MzOgG2tcGxviAYNBJNWvrxU EI7Jk14BM+eRtZuisxsaulV2ztzFQJdS4WqpO7.sRcHtosYkiqoWy59jbYO5 UUV7aNIL1lA -----------end_max5_patcher-----------
what it does :
1 . thispatcher is searching for BUTTONS to assign scripting name to them (unfortunatelly the order in which uve created these objects is crucial in here , also if there will be additional BUTTON you will meet some problems ) .
2 . thispatcher is searching for delays (previous creation order is crucial) and assign scripting name to them .
3 . thispatcher deletes your delays .
4 . thispatcher connects your buttons
You could use an empty subpatcher (ie. input connected to output) to paste replace the delays and then de-encapsulate where both can be done with key commands.
You can do it with scripting, but in a lot of cases you just need to reconnect manually. there’s no "delete object in chain and keep connections" option.
Max Toolbox could help you a lot here. If your bangs are lined up, you can connect any number of them to those below it by selecting and using a single keystroke. voila!
BROC’s solution was spot on! thanks so much!
i created a "p temp" sub patcher with an inlet and outlet inside which were connected.
Then i used cmd-f to select all my delays at once, paste replaced those with "p temp" and then de-encapsulated them.
hmm on second thought that only works for the delays in the main patch, i can’t select all delays in sub patches at the same time, or can i?
oh that toolbox is a really nice addition! thanks
That was a cool idea from Broc as well…never thought of that!
That’s a nice idea, I’ll put it on the todo list for the Max ToolBox!
I’ll be taking a look at the Max Toolbox later today..
I really wish blank objects were deleted if empty. Can’t count the minutes wasted having to delete boxes I didn’t need.
Forums > MaxMSP