change all osc target of objects in an existing template

Discuss Lemur and share techniques.
Post Reply
Eric
Newbie
Posts: 24
Joined: 23 Oct 2013 10:15

change all osc target of objects in an existing template

Post by Eric »

Hi,

for some reason, i need to change all osc target of a template. Instead of going through all object (i have like a lot), is there a way to automatically change or load another target at the opening of the project - like with a script for instance?

thanks in advance!
eric
Macciza
Regular
Posts: 1315
Joined: 07 Dec 2011 04:57
Location: Sydney, Australia.

Re: change all osc target of objects in an existing template

Post by Macciza »

Hi
It can be done easily but requires it to be first set up a particular way.
Check out the Parent and Project settings. That's the key.
Set the project to a particular target say Osc 0 (highlight Project in list and set target) then set objects to follow Project and all will change if you change project setting. You can also use Parent to set up hierarchies. You may have a Container that you want to be able to change so set its target as needed, and then objects within it follow the Parent as you change the target for the container.
Hope that makes sense.
Cheers
MM
iMac 2.8G i7 12G 10.6.8/10.7.2, Legacy Dexter/Lemur, Liine Lemur/iPad2, KMI SoftStep, 12Step & QuNeo , B-Controls, Mackie C4 etc
MaxMSP, Live Suite, Native Instrument stuff, etc Modified Virtual Guitar System etc All Projects/Modules © CC-BY-NC-SA[*][/b]
zvukofor
Newbie
Posts: 9
Joined: 26 Feb 2012 08:24
Location: Saint-Petersburg, RF
Contact:

Re: change all osc target of objects in an existing template

Post by zvukofor »

Also, you can try this:
open jzml in xml/text editor and search and replace "osc_target=" arguments. It becomes very simple if you have to change all objects )
Post Reply