<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Pause&#x2F; Hold script for extra user input]]></title><description><![CDATA[<p dir="auto">Hello,<br />
Is it possible to hold script until user performs specific action ?</p>
<p dir="auto">I have a situation like this:</p>
<ul>
<li>2 groups that consist from one face each,</li>
<li>script is activated, user clicks first group and then second group,</li>
<li>script checks for intersection between those two, sometimes intersection is not found, then useg gets MB if he wants to pick two points that will define an intersection line(p1, p2).</li>
</ul>
<p dir="auto">Problem: After user clicks YES, script continues and then crashes because points p1 and p2 were not clicked.</p>
<p dir="auto">I apprecciate any sugestions<br />
Matt</p>
]]></description><link>https://community.sketchucation.com/topic/133579/pause-hold-script-for-extra-user-input</link><generator>RSS for Node</generator><lastBuildDate>Tue, 19 May 2026 04:22:42 GMT</lastBuildDate><atom:link href="https://community.sketchucation.com/topic/133579.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 29 Feb 2012 15:27:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Pause&#x2F; Hold script for extra user input on Thu, 01 Mar 2012 09:26:54 GMT]]></title><description><![CDATA[<p dir="auto">Ok, solved it in another way.<br />
Thanks anyway.<br />
Matt</p>
]]></description><link>https://community.sketchucation.com/post/1313604</link><guid isPermaLink="true">https://community.sketchucation.com/post/1313604</guid><dc:creator><![CDATA[MattC]]></dc:creator><pubDate>Thu, 01 Mar 2012 09:26:54 GMT</pubDate></item><item><title><![CDATA[Reply to Pause&#x2F; Hold script for extra user input on Thu, 01 Mar 2012 00:11:20 GMT]]></title><description><![CDATA[<p dir="auto">Read the <strong>linetool.rb</strong> example in the "Plugins/Examples" directory.</p>
]]></description><link>https://community.sketchucation.com/post/1313536</link><guid isPermaLink="true">https://community.sketchucation.com/post/1313536</guid><dc:creator><![CDATA[Dan Rathbun]]></dc:creator><pubDate>Thu, 01 Mar 2012 00:11:20 GMT</pubDate></item><item><title><![CDATA[Reply to Pause&#x2F; Hold script for extra user input on Wed, 29 Feb 2012 20:51:55 GMT]]></title><description><![CDATA[<p dir="auto">I was not precise, After messagebox there is a call for function that uses two groups and two points as an arguments. And it returns error in ruby console.<br />
Thanks for a tip. I was thinking about something like that.<br />
But then another questions arise:<br />
Lets say that my basic tool is Slot, and tool that will be used for picking points up will be Pointpicker. Lets say that point1 and point2 can be stored in an array : [p1,p2]<br />
Q1 - what should be the callout? [p1,p2]=Sketchup.active_model.select_tool Pointpicker.new<br />
Q2 - when the Pointpicker tool will be called from within Slot tool, will Slot tool be deactivated ? And after 2 points will be picked with the Pointpicker tool, how will it know that it should go to the Slot tool to specific line ?</p>
<p dir="auto">Thanks in advance.<br />
Matt</p>
]]></description><link>https://community.sketchucation.com/post/1313484</link><guid isPermaLink="true">https://community.sketchucation.com/post/1313484</guid><dc:creator><![CDATA[MattC]]></dc:creator><pubDate>Wed, 29 Feb 2012 20:51:55 GMT</pubDate></item><item><title><![CDATA[Reply to Pause&#x2F; Hold script for extra user input on Wed, 29 Feb 2012 16:34:40 GMT]]></title><description><![CDATA[<p dir="auto">After the messagebox, activate a Tool that asks the user to pick to points.</p>
<p dir="auto">When you say crash, does SketchUp bugsplat? Or did you mean an error was thrown in the Ruby Console?</p>
]]></description><link>https://community.sketchucation.com/post/1313435</link><guid isPermaLink="true">https://community.sketchucation.com/post/1313435</guid><dc:creator><![CDATA[thomthom]]></dc:creator><pubDate>Wed, 29 Feb 2012 16:34:40 GMT</pubDate></item></channel></rss>