<?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: bug: pattr graphics problems with scripts inside bpatchers</title>
		<atom:link href="http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/feed" rel="self" type="application/rss+xml" />
		<link>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/feed</link>
		<description></description>
		<pubDate>Tue, 18 Jun 2013 16:55:21 +0000</pubDate>
		<generator>http://bbpress.org/?v=2.2.4</generator>
		<language></language>

		
														
					
				<item>
					<guid>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-33055</guid>
					<title><![CDATA[bug: pattr graphics problems with scripts inside bpatchers]]></title>
					<link>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-33055</link>
					<pubDate>Fri, 27 Jul 2007 06:07:41 +0000</pubDate>
					<dc:creator>Philip Curtis</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>I&#8217;m having a problem with the pattr system when using scripts that connect objects inside bpatchers. Even though the objects inside the bpatchers that are being connected via script are not within the visible area of the bpatcher on the top-level patch, where the pattrstorage is, the cables being drawn inside the bpatcher seem to disrupt the graphics of the top-level patch.</p>
<p>It&#8217;s a little hard to explain, so I&#8217;ve tried to make it clear inside the patch. If my instructions don&#8217;t make sense, just start clicking and saving and recalling presets, and you&#8217;ll see the problem.</p>
<p>Here is the bpatcher. Save this with the name &#8220;GraphicsProblemBpatcher.pat&#8221;:</p>
<p>max v2;<br />
#N vpatcher 47 45 1189 855;<br />
#P origin 1 0;<br />
#P window setfont &#8220;Sans Serif&#8221; 14.;<br />
#P comment 358 332 118 196622 bpatcher $1;<br />
#B frgb 255 255 255;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P newex 612 691 53 196617 autopattr;<br />
#X prestore numbox1 1 0 0.;<br />
#X prestore numbox2 1 0 0.;<br />
#X prestore toggle 1 0 0;<br />
#P objectname u015000037;<br />
#P newex 204 226 32 196617 sel 0;<br />
#P toggle 383 294 31 0;<br />
#P objectname toggle;<br />
#P message 135 140 191 196617 script disconnect numbox1 0 numbox2 0;<br />
#P message 132 104 178 196617 script connect numbox1 0 numbox2 0;<br />
#P flonum 643 454 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P objectname numbox2;<br />
#P flonum 292 503 35 9 0. 1. 3 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P objectname numbox1;<br />
#N thispatcher;<br />
#Q end;<br />
#P newobj 263 649 61 196617 thispatcher;<br />
#P number -21 -20 10 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P number -21 -20 10 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P number -21 -20 10 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;<br />
#P user panel 311 244 230 205;<br />
#X brgb 0 60 60;<br />
#X frgb 0 0 0;<br />
#X border 1;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P connect 10 1 7 0;<br />
#P connect 10 0 8 0;<br />
#P hidden connect 9 0 10 0;<br />
#P connect 8 0 4 0;<br />
#P connect 7 0 4 0;<br />
#P pop;</p>
<p>&#8212;&#8211;</p>
<p>Here is the top-level patch. Open it after saving the above patch with the name give above:</p>
<p>max v2;<br />
#N vpatcher 10 60 1180 831;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P comment 154 559 922 196626 I&#8217;m also getting some coloration of the recall messages (sometimes the numbers turn a reddish color)&#8230;;<br />
#B frgb 255 255 255;<br />
#P comment 279 36 588 196626 [The toggles you see are inside two separate bpatchers];<br />
#P window linecount 4;<br />
#P comment 102 641 863 196626 Inside the bpatchers are scripts that are connecting offscreen objects. These objects are not within the visible area of the bpatcher , but the dark green panel in the top level is disrupted by the cables that are drawn by these scripts inside each bpatcher. Any other object in this patch will be similarly disrupted.;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P message 1009 703 78 196617 storagewindow;<br />
#P window setfont &#8220;Sans Serif&#8221; 18.;<br />
#P window linecount 2;<br />
#P comment 86 85 1028 196626 1. store various combinations of the two bpatchers&#8217; toggle states into the pattr system by configuring the toggles and clicking on the &#8220;store&#8221; messages.;<br />
#B frgb 255 255 255;<br />
#P window linecount 1;<br />
#P comment 614 428 412 196626 < << [click on messages to recall presets];<br />
#B frgb 255 255 255;<br />
#P message 585 428 20 196626 3;<br />
#P message 552 428 20 196626 2;<br />
#P message 518 428 20 196626 1;<br />
#P comment 246 428 264 196626 2. recall stored presets >>>;<br />
#B frgb 255 255 255;<br />
#P window linecount 2;<br />
#P comment 703 265 338 196626 < << [click on store messages to save into preset slots 1 , 2 and 3];<br />
#B frgb 255 255 255;<br />
#P window linecount 3;<br />
#P comment 640 140 465 196626 [for example , in preset 1 you might store bpatcher 1 on and bpatcher 2 off. In preset 2 you would have both on. In preset 3 you might have both off.];<br />
#B frgb 255 255 255;<br />
#P window linecount 1;<br />
#P comment 499 172 66 196626 >>>>>;<br />
#B frgb 255 255 255;<br />
#P comment 158 162 66 196626 < <<<<;<br />
#B frgb 255 255 255;<br />
#P message 619 268 75 196626 store 3;<br />
#P message 538 268 75 196626 store 2;<br />
#P message 453 268 76 196626 store 1;<br />
#P window linecount 2;<br />
#P comment 156 493 863 196626 When recalling presets , lines are drawn across the dark green panel in the space above the recall messages. The only way to make the lines go away is to unlock and relock the patch.;<br />
#B frgb 255 255 255;<br />
#P window setfont &#8220;Sans Serif&#8221; 9.;<br />
#P window linecount 1;<br />
#P newex 1010 722 67 196617 pattrstorage;<br />
#X client_rect 0 0 640 240;<br />
#X storage_rect 10 59 650 299;<br />
#P objectname u642000039;<br />
#P bpatcher 544 144 88 95 -357 -269 GraphicsProblemBpatcher.pat 0 2;<br />
#P objectname GraphicsProblemBpatcher.pat[1];<br />
#P bpatcher 96 144 84 81 -357 -280 GraphicsProblemBpatcher.pat 0 1;<br />
#P objectname GraphicsProblemBpatcher.pat;<br />
#P user panel 29 72 1100 531;<br />
#X brgb 0 60 60;<br />
#X frgb 0 0 0;<br />
#X border 1;<br />
#X rounded 0;<br />
#X shadow 0;<br />
#X done;<br />
#P hidden connect 15 0 3 0;<br />
#P hidden connect 14 0 3 0;<br />
#P hidden connect 13 0 3 0;<br />
#P hidden connect 5 0 3 0;<br />
#P hidden connect 6 0 3 0;<br />
#P hidden connect 7 0 3 0;<br />
#P hidden connect 18 0 3 0;<br />
#P pop;</p>
<p>&#8212;-</p>
<p>I don&#8217;t know if this has come up on the list before &#8211; I looked but couldn&#8217;t find anything.</p>
<p>Any fixes for this?</p>
<p>thanks,<br />
Phil</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-109566</guid>
					<title><![CDATA[Re: bug: pattr graphics problems with scripts inside bpatchers]]></title>
					<link>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-109566</link>
					<pubDate>Fri, 27 Jul 2007 06:20:59 +0000</pubDate>
					<dc:creator>Philip Curtis</dc:creator>

					<description>
						<![CDATA[
						<p>PS&#8230;</p>
<p>In my current patch it&#8217;s actually the discoloration that I mention (in the comments in the toplevel patch) that is bothering me the the most. I have various ui objects turning various colors (mostly green) for no apparent reason as I recall presets.</p>
<p>I only illustrated the problems with the cables and the scripts inside the bpatchers because it was the easiest one for me to figure out what was going on and how to reproduce it.</p>
<p>Obviously, this isn&#8217;t really stopping me from working, but it is really kind of annoying to have random lines being drawn inside your patch, and objects turning various colors&#8230;</p>
<p>thanks,<br />
Phil</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-109567</guid>
					<title><![CDATA[Re: bug: pattr graphics problems with scripts inside bpatchers]]></title>
					<link>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-109567</link>
					<pubDate>Fri, 27 Jul 2007 11:41:06 +0000</pubDate>
					<dc:creator>gusanomaxlist</dc:creator>

					<description>
						<![CDATA[
						<p>Hi, the &#8220;line drawing&#8221; problem seems to disappear if you use &#8220;scipt hide<br />
connect &#8230;.&#8221; inside your Bpatcher.<br />
You also have the message to max &#8220;;max refresh&#8221; but it&#8217;s not super<br />
elegant&#8230;<br />
Hope that helps.</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-109568</guid>
					<title><![CDATA[Re: bug: pattr graphics problems with scripts inside bpatchers]]></title>
					<link>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-109568</link>
					<pubDate>Fri, 27 Jul 2007 18:58:58 +0000</pubDate>
					<dc:creator>Philip Curtis</dc:creator>

					<description>
						<![CDATA[
						<p>Thanks! I was unaware of the &#8220;hidden connect&#8221; script. That works great.</p>
<p>It&#8217;s a little odd (a bug?) that these graphics issues exist only when recalling with pattr. They don&#8217;t show up with normal patch use.</p>
<p>It got much worse when I switched from 4.5 on an older mac to 4.6 on an intel machine, incidentally. That&#8217;s when it started to cause ui objects to change colors.</p>
<p>Phil</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-109569</guid>
					<title><![CDATA[Re: bug: pattr graphics problems with scripts inside bpatchers]]></title>
					<link>http://cycling74.com/forums/topic/bug-pattr-graphics-problems-with-scripts-inside-bpatchers/#post-109569</link>
					<pubDate>Fri, 27 Jul 2007 19:16:51 +0000</pubDate>
					<dc:creator>dobyhal</dc:creator>

					<description>
						<![CDATA[
						<p>hi, list</p>
<p>has anybody here had any success in getting the phidgets InterfaceKit 8/8/8 to work with <br />
MAX/MSP Runtime 4.5.7 ?</p>
<p>I&#8217;m on a PPC G4 (1.5 Ghz) and OSX 10.4.</p>
<p>i tried both the phidget20 and phidget21 libraries and MAX/MSP externals. all with clean <br />
uninstall beforehand. no success whatsoever. the funny thing is that the <br />
&#8220;PhidgetInterfaceKit.help&#8221; patch displays a dotted object called &#8220;PhidgetInterfaceKit&#8221; <br />
(that usually means, an external is not found or can&#8217;t be loaded, right ?) but doesn&#8217;t <br />
print any error message on the Max console</p>
<p>i also tried the &#8220;fidget&#8221; external but apart from being recognized by MAX it doesn&#8217;t seem <br />
to do anything. maybe it&#8217;s outdated since last revisal seems to have been in 2003.</p>
<p>please, if anybody here got their phidgets to work with MAX, tell me your secret.<br />
even if it&#8217;s not exactly the same setup, any experiences are appreciated.</p>
<p>i&#8217;m now past several hours of sheer frustration trying to make it work ;-)</p>
<p>thanks</p>
<p>oliver</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

