<?xml version="1.0" encoding="UTF-8"?>
	<rss version="2.0"
		xmlns:content="http://purl.org/rss/1.0/modules/content/"
		xmlns:wfw="http://wellformedweb.org/CommentAPI/"
		xmlns:dc="http://purl.org/dc/elements/1.1/"
		xmlns:atom="http://www.w3.org/2005/Atom"

			>

	<channel>
		<title>Cycling 74  &#187;  Topic: replace objects</title>
		<atom:link href="http://cycling74.com/forums/topic/replace-objects/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/replace-objects/feed</link>
		<description></description>
		<pubDate>Wed, 19 Jun 2013 05:54:56 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/replace-objects/#post-24493</guid>
					<title><![CDATA[replace objects]]></title>
					<link>http://cycling74.com/forums/topic/replace-objects/#post-24493</link>
					<pubDate>Sun, 19 Feb 2006 00:17:03 +0000</pubDate>
					<dc:creator>jln</dc:creator>

					<description>
						<![CDATA[
						<p>hi,</p>
<p>I need someone to confirm. I&#8217;d like to find and replace some objects  <br />
in my patch as with the Max &#8216;Edit&#8217; menu, but within my patch. Is  <br />
there a javascript function for that or have I to delete an object,  <br />
create another one and connect ? I searched thru the js guide and  <br />
Max&#8217; tutorials for a replace function, but can&#8217;t seem to find  <br />
something. I&#8217;m still a really beginner with js and rather confused,  <br />
so maybe I am missing it ?</p>
<p>Thanks in advance.</p>
<p>Best,</p>
<p>Julien.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/replace-objects/#post-70932</guid>
					<title><![CDATA[Re: replace objects]]></title>
					<link>http://cycling74.com/forums/topic/replace-objects/#post-70932</link>
					<pubDate>Sun, 19 Feb 2006 05:06:58 +0000</pubDate>
					<dc:creator>Nat</dc:creator>

					<description>
						<![CDATA[
						<p>This would be quite tricky as the Javascript API won&#8217;t give you information on connections, you cannot know if 2 boxes are connected or not&#8230;</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/replace-objects/#post-70933</guid>
					<title><![CDATA[Re: replace objects]]></title>
					<link>http://cycling74.com/forums/topic/replace-objects/#post-70933</link>
					<pubDate>Sun, 19 Feb 2006 10:55:26 +0000</pubDate>
					<dc:creator>jln</dc:creator>

					<description>
						<![CDATA[
						<p>Ok. Thank you for answer.<br />
That&#8217;s not the answer I was hoping for, though. ;-)</p>
<p>Maybe I&#8217;ll try to think about another way to do it. Anyway, I&#8217;m not  <br />
sure it really worth the effort, since I had a quite useless idea at  <br />
the beginning. I was thinking it could be nice for my project for  <br />
university to have one patch that could run on both PC and Mac. Then  <br />
I was thinking about making an abstraction standing for 3d party  <br />
objects (the abst would have the name of the object as argument).  <br />
Then on initialization, the patch would replace the abstractions with  <br />
appropriate objects placed on a &#8216;pclib&#8217; or &#8216;maclib&#8217; folders. But,  <br />
well. For now, I only have the js to detect what is the os&#8230; I  <br />
should probably make the whole patch before thinking about those kind  <br />
of problems, hehe.</p>
<p>Of course, I could simply make two versions in separate folders, but  <br />
it is much less fun. :-)</p>
<p>Julien.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/replace-objects/#post-70934</guid>
					<title><![CDATA[Re: replace objects]]></title>
					<link>http://cycling74.com/forums/topic/replace-objects/#post-70934</link>
					<pubDate>Sun, 05 Mar 2006 06:04:02 +0000</pubDate>
					<dc:creator>Stefan Tiedje</dc:creator>

					<description>
						<![CDATA[
						<p>Julien Rabin wrote:<br />
> Then  I was thinking about making an abstraction standing for 3d<br />
> party  objects (the abst would have the name of the object as<br />
> argument).  Then on initialization, the patch would replace the<br />
> abstractions with appropriate objects placed on a &#8216;pclib&#8217; or &#8216;maclib&#8217;<br />
> folders. But,  well. For now, I only have the js to detect what is<br />
> the os&#8230;</p>
<p>But replace works with normal scripting, it would be possible to replace<br />
one object by another without knowing anything about connections (it<br />
would keep whats connected). Though usually Mac objects and PC objects<br />
which do the same do have the same name and wouldn&#8217;t need any replacement&#8230;</p>
<p>> I  should probably make the whole patch before thinking about those<br />
> kind  of problems, hehe.</p>
<p>Thinking before patching isn&#8217;t such a bad idea as it seems&#8230;.</p>
<p>Stefan</p>
<p>&#8211; </p>
<p>  [][]  [][][]  [][]  [][][]<br />
[][][][][][][][][][][][][][][]</p>
<p>         Stefan Tiedje<br />
         Klanggestalter<br />
     Electronic Composition<br />
               &#038;<br />
         Improvisation</p>
<p>            /~~~~~<br />
     \   /|() ()|<br />
     ))))) )|  |  |( \<br />
     ///     _/)/ )))))<br />
             ___/   ///</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-x&#8212;-<br />
&#8211;_____&#8212;&#8212;&#8212;&#8211;|&#8212;&#8212;&#8212;&#8211;<br />
&#8211;(_|_ &#8212;-|&#8212;&#8211;|&#8212;&#8211;()&#8212;-<br />
&#8211; _|_)&#8212;-|&#8212;&#8211;()&#8212;&#8212;&#8212;&#8211;<br />
&#8212;&#8212;&#8212;-()&#8212;&#8212;&#8212;&#8212;x&#8212;&#8211;</p>
<p>14, Av. Pr. Franklin Roosevelt,<br />
94320 Thiais, France<br />
Phone at CCMIX +33-1-49 77 51 72</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/replace-objects/#post-70935</guid>
					<title><![CDATA[Re: replace objects]]></title>
					<link>http://cycling74.com/forums/topic/replace-objects/#post-70935</link>
					<pubDate>Tue, 07 Mar 2006 00:27:14 +0000</pubDate>
					<dc:creator>jln</dc:creator>

					<description>
						<![CDATA[
						<p>Quote: Stefan Tiedje wrote on Sun, 05 March 2006 07:04<br />
> But replace works with normal scripting, it would be possible to replace<br />
> one object by another without knowing anything about connections (it<br />
> would keep whats connected).</p>
<p>May I ask you how ? According to the Max Tutorials Manual :</p>
<p>&#8220;You can use scripting to replace objects in a patcher and re-establish their previous connections. One important step in doing this is that all objects involved should be named prior to executing the script messages.&#8221;</p>
<p>It seems that the &#8216;replace&#8217; message sent to a thispatcher no longer works. Were you refering to an other way to do it ? I&#8217;d be glad to hear since I haven&#8217;t found another way yet (although I must admit I almost forget what I wanted to do since it was more or less useless, it could be interesting in another context)</p>
<p>Julien.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/replace-objects/#post-70936</guid>
					<title><![CDATA[Re: replace objects]]></title>
					<link>http://cycling74.com/forums/topic/replace-objects/#post-70936</link>
					<pubDate>Tue, 07 Mar 2006 00:31:46 +0000</pubDate>
					<dc:creator>Jeremy Bernstein</dc:creator>

					<description>
						<![CDATA[
						<p>The &#8220;replace&#8221; message to bpatcher no longer works. You want the &#8220;script <br />
replace&#8221; message to thispatcher. Works like &#8220;script new&#8221;, but replaces <br />
an existing object with the same name (retaining connections as possible).</p>
<p>jb</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/replace-objects/#post-70937</guid>
					<title><![CDATA[Re: replace objects]]></title>
					<link>http://cycling74.com/forums/topic/replace-objects/#post-70937</link>
					<pubDate>Tue, 07 Mar 2006 00:42:05 +0000</pubDate>
					<dc:creator>jln</dc:creator>

					<description>
						<![CDATA[
						<p>ah ok. I misunderstood. I thought it no longer worked for any object  <br />
and not only for bpatchers.</p>
<p>Thanks for help. I&#8217;ll have a look at it tomorow. (Time for bed for  <br />
now. ;-)</p>
<p>Julien.</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

