<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>tema Re: FeatureCAM Macro - deactivation of the spot drill in existing drilling fetur en FeatureCAM Forum</title>
    <link>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7822429#M2364</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you create a video on the fm-file where you shows what you do?&lt;/P&gt;</description>
    <pubDate>Fri, 02 Mar 2018 13:14:35 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-02T13:14:35Z</dc:date>
    <item>
      <title>FeatureCAM Macro - deactivation of the spot drill in existing drilling feture</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7821802#M2362</link>
      <description>&lt;P&gt;Hi all,&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm creating small macro, purpose&amp;nbsp;of this macro is to create copy of the drilling's which are moved at the bottom of the stock, where it will drill other holes to the plate under the stock with thread.&amp;nbsp;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem is, when we have active spot drill at the original holes - these are copied into new holes which should be without spot drill.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried lot of things but I'm not able to disable spot-drill at existing hole by macro.&lt;BR /&gt;&lt;BR /&gt;Any thoughts? &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@38DF24EF580240D512020314976B5FC8/emoticons/1f642.png" alt=":cara_con_una_leve_sonrisa:" title=":cara_con_una_leve_sonrisa:" /&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jan&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 08:19:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7821802#M2362</guid>
      <dc:creator>JanNavratil</dc:creator>
      <dc:date>2018-03-02T08:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureCAM Macro - deactivation of the spot drill in existing drilling fetur</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7822429#M2364</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you create a video on the fm-file where you shows what you do?&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 13:14:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7822429#M2364</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-02T13:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureCAM Macro - deactivation of the spot drill in existing drilling fetur</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7822608#M2367</link>
      <description>&lt;P&gt;Hi Jacob,&lt;BR /&gt;&lt;BR /&gt;thank you for quick reply. Here is the video -&amp;nbsp;&lt;A href="http://autode.sk/2oOr7ke" target="_blank"&gt;http://autode.sk/2oOr7ke&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jan&lt;/P&gt;</description>
      <pubDate>Fri, 02 Mar 2018 14:27:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7822608#M2367</guid>
      <dc:creator>JanNavratil</dc:creator>
      <dc:date>2018-03-02T14:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureCAM Macro - deactivation of the spot drill in existing drilling fetur</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7827376#M2369</link>
      <description>&lt;P&gt;Have you tried going into your drill attributes and&amp;nbsp; turning off the spot drill for the drill. What I mean is telling the Feature cam the drill doesn't need a spot drill, of course this would be only temporary you'll need to change it back the next time you use the tool in a different situation.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 12:40:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7827376#M2369</guid>
      <dc:creator>AJHanson</dc:creator>
      <dc:date>2018-03-05T12:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureCAM Macro - deactivation of the spot drill in existing drilling fetur</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7837193#M2391</link>
      <description>Hi,&lt;BR /&gt;Thank you for the reply, this is not the solution, becase we still need spot drill for the upper set.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Jan</description>
      <pubDate>Thu, 08 Mar 2018 07:56:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7837193#M2391</guid>
      <dc:creator>JanNavratil</dc:creator>
      <dc:date>2018-03-08T07:56:23Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureCAM Macro - deactivation of the spot drill in existing drilling fetur</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7840506#M2408</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/2144228"&gt;@JanNavratil&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think you need to play with the function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Private Sub Application_HoleRecogAfterCreate(Doc As FeatureCAM.FMDocument, Hole As FeatureCAM.FMFeature, ByVal Color As Long)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;If Color = RGB(255,0,128) Then &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;' reddish holes&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Hole.SetAttribute ( eAID_DoReam,, True,,False)&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;End If&lt;BR /&gt;End Sub&lt;/P&gt;</description>
      <pubDate>Fri, 09 Mar 2018 08:54:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7840506#M2408</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-09T08:54:56Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureCAM Macro - deactivation of the spot drill in existing drilling fetur</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7846021#M2419</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@@jnavrat,&amp;nbsp;@Anonymous&lt;/a&gt;,&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/3976634"&gt;@AJHanson&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for posting and contributing to the Autodesk FeatureCAM forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To add/remove a spot drill operation from a hole in a pattern, you can use something similar to the code below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;    &lt;SPAN&gt;Dim&lt;/SPAN&gt; doc &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;FMDocument&lt;/SPAN&gt;
    &lt;SPAN&gt;Set&lt;/SPAN&gt; doc = &lt;SPAN&gt;Application.ActiveDocument&lt;/SPAN&gt;

    &lt;SPAN&gt;Dim&lt;/SPAN&gt; hole &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;FMHole&lt;/SPAN&gt;
    &lt;SPAN&gt;Dim&lt;/SPAN&gt; pattern &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;FMRectPattern&lt;/SPAN&gt;

    &lt;SPAN&gt;Set&lt;/SPAN&gt; pattern = doc&lt;SPAN&gt;.Features.Item&lt;/SPAN&gt;(&lt;SPAN&gt;"pattern1"&lt;/SPAN&gt;)
    &lt;SPAN&gt;Set&lt;/SPAN&gt; hole = pattern&lt;SPAN&gt;.Object&lt;/SPAN&gt;

    hole&lt;SPAN&gt;.SetAttribute&lt;/SPAN&gt;(&lt;SPAN&gt;eAID_DoSpotDrill&lt;/SPAN&gt;,,&lt;SPAN&gt;False&lt;/SPAN&gt;)&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This code applies to a document that already contains a pattern of holes. Make sure that you use the correct pattern object. In this case, I used a rectangular pattern to define my holes, so&amp;nbsp;I have used this type of pattern in my document.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps! If you feel it answers your questions, please select &lt;STRONG&gt;Accept as Solution&lt;/STRONG&gt;. If not, please reply to this thread and I would be happy to help.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;!--EndFragment --&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 13:50:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7846021#M2419</guid>
      <dc:creator>spencer.hardcastle</dc:creator>
      <dc:date>2018-03-12T13:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureCAM Macro - deactivation of the spot drill in existing drilling fetur</title>
      <link>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7846070#M2420</link>
      <description>&lt;P&gt;Hi Spencer,&lt;BR /&gt;&lt;BR /&gt;thank you for your reply ! Yea this is working solution, I'm not sure why I missed this...&lt;BR /&gt;&lt;BR /&gt;Thank you for your help,&lt;BR /&gt;Jan&lt;/P&gt;</description>
      <pubDate>Mon, 12 Mar 2018 14:01:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/featurecam-forum/featurecam-macro-deactivation-of-the-spot-drill-in-existing/m-p/7846070#M2420</guid>
      <dc:creator>JanNavratil</dc:creator>
      <dc:date>2018-03-12T14:01:50Z</dc:date>
    </item>
  </channel>
</rss>

