Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't address objects in tabs with the command prompt/shell #7

Open
jamesb93 opened this issue Sep 16, 2021 · 4 comments
Open

can't address objects in tabs with the command prompt/shell #7

jamesb93 opened this issue Sep 16, 2021 · 4 comments

Comments

@jamesb93
Copy link

As the title suggests you cannot address objects within tabs with the shell (Shift + R). It fails silently, on any object embedded into a tab but works with sub patchers to an arbitrary degree. Is this perhaps something broken on cyclings end for traversing patchers that are tabbed?

@tmhglnd
Copy link
Contributor

tmhglnd commented Sep 27, 2021

I have looked into this and as far as I can tell the problem is that when opening a subpatcher in seperate window view max.frontpatcher returns the actual subpatcher instance. But when working with tabs the frontpatcher stays the parent patcher. So I guess this is indeed a "bug" in the scripting api. There is an option to traverse all subpatchers and collect all select by using:

max.frontpatcher.applydeep(applycollect)

but this will result in a new bug, because if you have objects selected in both parent patcher and subpatcher it will connect them all.

Screen Shot 2021-09-27 at 14 33 31

Here objects were connect when in tab view, then opened seperately to show the problem side by side

@natcl
Copy link
Owner

natcl commented Sep 27, 2021

I remember this being a problem when the tabs feature got out, I reported it but it never got fixed :/

@jamesb93
Copy link
Author

Ah that's a shame. I did have a dig with @tmhglnd's solution but hit the same wall. Maybe one day it will be fixed

@tmhglnd
Copy link
Contributor

tmhglnd commented Sep 28, 2021

You could file a new bug-report since they are currently busy with the 8.2 beta fixing a lot of bugs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants