<?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>topic Custom Feature Limitations in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/custom-feature-limitations/m-p/12954373#M980</link>
    <description>&lt;P&gt;I made an add-in to create a pocket for a threaded insert, following the custom pocket example. This turned out to mostly involve changing the code which generates the tool body used to cut the parent body.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I’d really like to do is to allow this to cut multiple pockets in a manner similar to how the standard hole feature works. &amp;nbsp;If i change the point selection input to allow multiple points to be selected I run into a morass of problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i figured that I need to add the dependencies with individual ids, e.g. ‘point0’, ‘point1’ etc. But i find that in some of the handlers the dependencies aren’t set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The custom pocket example finds the parent body using the selected point, as does my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With multiple points each point has it’s own body, although, at least in my use case those should all be the same body. I haven’t found a way to test whether those bodies are identical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m concerned that i might be running into the documented limitation:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;This re-compute functionality is currently limited to one specific case. This custom compute functionality should not be used for any other cases and will likely fail. The case where it is supported is where the custom feature consists of only base features, sketches, and combine features. Typically, a custom feature that supports custom compute will have a base feature with one or more B-Rep bodies and a combine feature that uses a Boolean operation to combine the base feature bodies into the parametric model.&lt;/LI-CODE&gt;&lt;P&gt;is there light at the end of this tunnel?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 12 Aug 2024 19:12:05 GMT</pubDate>
    <dc:creator>RubyRedRick</dc:creator>
    <dc:date>2024-08-12T19:12:05Z</dc:date>
    <item>
      <title>Custom Feature Limitations</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/custom-feature-limitations/m-p/12954373#M980</link>
      <description>&lt;P&gt;I made an add-in to create a pocket for a threaded insert, following the custom pocket example. This turned out to mostly involve changing the code which generates the tool body used to cut the parent body.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I’d really like to do is to allow this to cut multiple pockets in a manner similar to how the standard hole feature works. &amp;nbsp;If i change the point selection input to allow multiple points to be selected I run into a morass of problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i figured that I need to add the dependencies with individual ids, e.g. ‘point0’, ‘point1’ etc. But i find that in some of the handlers the dependencies aren’t set.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The custom pocket example finds the parent body using the selected point, as does my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;With multiple points each point has it’s own body, although, at least in my use case those should all be the same body. I haven’t found a way to test whether those bodies are identical.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m concerned that i might be running into the documented limitation:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;This re-compute functionality is currently limited to one specific case. This custom compute functionality should not be used for any other cases and will likely fail. The case where it is supported is where the custom feature consists of only base features, sketches, and combine features. Typically, a custom feature that supports custom compute will have a base feature with one or more B-Rep bodies and a combine feature that uses a Boolean operation to combine the base feature bodies into the parametric model.&lt;/LI-CODE&gt;&lt;P&gt;is there light at the end of this tunnel?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 19:12:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/custom-feature-limitations/m-p/12954373#M980</guid>
      <dc:creator>RubyRedRick</dc:creator>
      <dc:date>2024-08-12T19:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Feature Limitations</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/custom-feature-limitations/m-p/12957592#M981</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hi Mr&amp;nbsp;RubyRedRick,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#339966"&gt;... "is there light at the end of this tunnel? "&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;A tunnel should have an entry (&lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt;beginning&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;) and an &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt;end&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;. You might be in a cave ... where there is no end and so &lt;FONT color="#FFCC00"&gt;&lt;STRONG&gt;&lt;EM&gt;no lights&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt; ... at the &lt;FONT color="#0000FF"&gt;&lt;STRONG&gt;&lt;EM&gt;end&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;. As you seem to be exploring the place, there must be an entry; otherwise, it would be a &lt;FONT color="#993300"&gt;&lt;STRONG&gt;&lt;EM&gt;cavern&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;How do we check the uniqueness of bodies&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;# Get the value of the property.&lt;/SPAN&gt;&lt;BR /&gt;propertyValue = bRepBody_var.&lt;STRONG&gt;entityToken&lt;/STRONG&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;&lt;EM&gt;&lt;STRONG&gt;And yes,&amp;nbsp;&lt;FONT color="#000000"&gt;Speleology&lt;/FONT&gt; of &lt;FONT color="#000000"&gt;Fusion AP&lt;/FONT&gt;I ... takes some &lt;FONT color="#FF00FF"&gt;risk!&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;MichaelT&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 07:23:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/custom-feature-limitations/m-p/12957592#M981</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2024-08-14T07:23:51Z</dc:date>
    </item>
  </channel>
</rss>

