Forums > MaxMSP

how can i find coordinates for all objects in my patcher at the same time ?

Jul 07 2010 | 3:16 am

i want with a bang to have coordinates for all objects in my patcher as a list(and much better for all objects of the same class-for example buttons)

i am trying to create a patch like x.ceremony example
but instead of random walk positions of the comment boxes
i want to have predetermined coordinates.

i have tried some solutions like mousestate-coll but it is loss of time..

also there is the external "posit"(from jech library) who does this job but in OS windows-max5 does not work(a warning message appears "could not be located in the dynamic link library MaxApi.dll")

i have spend a lot of time for this so any help will be very valuable :>

Jul 07 2010 | 8:41 am

The best bet is to use javascript. You can query all objects, and then ask for the box attribute. There should be some examples in the Max distribution which could get you going…

Jul 07 2010 | 8:51 am

thanks.. luke covered this issue in a previous question

Jul 07 2010 | 8:55 am

Here is a javascript version of the [posit] external. It doesn’t do everything the original does but it should cover the things you need it for.


Viewing 4 posts - 1 through 4 (of 4 total)

Forums > MaxMSP