<?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 Re: Linked Part Causing Inventor To Crash in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5606202#M55525</link>
    <description>&lt;P&gt;Hi Aaron,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are still looking into this then the best thing would be to create a set of minimal and non-confidential documents that can be used by others to reproduce the issue. While creating them you might actually spot something as well that can help figure out the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Apr 2015 00:24:22 GMT</pubDate>
    <dc:creator>adam.nagy</dc:creator>
    <dc:date>2015-04-24T00:24:22Z</dc:date>
    <item>
      <title>Linked Part Causing Inventor To Crash</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5575533#M55148</link>
      <description>&lt;P&gt;I'm sorry but I can't use my parts to show you what I mean because they are for work and I can't post or share them..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a part called "&lt;STRONG&gt;Leg&lt;/STRONG&gt;", it's in my assembly. "&lt;STRONG&gt;Leg&lt;/STRONG&gt;" is driven by a parameter that's in the assembly called "&lt;STRONG&gt;Height&lt;/STRONG&gt;". In the leg itself it uses "&lt;STRONG&gt;Height&lt;/STRONG&gt;" to control a hole pattern.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This all works just fine, when I change "&lt;STRONG&gt;Height&lt;/STRONG&gt;" the "&lt;STRONG&gt;Leg&lt;/STRONG&gt;" updates and changes its parameters and hole pattern no problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now here's where my problem comes in, I need to make a bolt pattern to the holes in "&lt;STRONG&gt;Leg&lt;/STRONG&gt;" in the assembly. The top hole is my base hole for the patterning of the holes to I can place a bolt in that and use that bolt to pattern off of.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No matter what way I try to get the bolts to pattern as soon as I change "&lt;STRONG&gt;Height&lt;/STRONG&gt;" Inventor will always crash.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;U&gt;Ways I've tried to make it work so far that have failed are:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;-I've made new parameters in the assembly for distance and qty of the pattern and linked that through iLogic to the values in "&lt;STRONG&gt;Leg&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;-I've made new parameters in the assembly for distance and qty of the pattern and linked them in the parameters table to the values in "&lt;STRONG&gt;Leg&lt;/STRONG&gt;".&lt;/P&gt;&lt;P&gt;-I've used basically the same rule I used to create the pattern depending on "&lt;STRONG&gt;Height&lt;/STRONG&gt;" in "&lt;STRONG&gt;Leg&lt;/STRONG&gt;" and put that into the assembly trying to make it control two parameters that I created that aren't linked to anything.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I could understnad why the first two options might make it crash because they are linking a part in a circular way. But&amp;nbsp;I don't understand why the third option would make it crash, I'm not linking anything new. I'm simply pulling a value from the assembly to control two other values by using a rule. Everything there is in the assembly and has nothing to do with linked values. I don't see why it would crash. Here's the rule I use for the hole pattern. And to change it to apply to the bolt pattern all I need to do is change parameter names. Which proves the rule works just fine.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;If Height = 33.625 Then
	HoleQty = 5
	HoleSpacing = 7.5
	
Else If Height = 39.625 Then
	HoleQty = 5
	HoleSpacing = 9
	
Else If Height = 45.625 Then
	HoleQty = 6
	HoleSpacing = 8
	
Else If Height = 51.625 Then
	HoleQty = 6
	HoleSpacing = 9

Else If Height = 57.625 Then
	HoleQty = 7
	HoleSpacing = 8.5

Else If Height = 63.625 Then
	HoleQty = 7
	HoleSpacing = 9.5

Else If Height = 69.625 Then
	HoleQty = 8
	HoleSpacing = 9

End If
	&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 12:37:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5575533#M55148</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-08T12:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: Linked Part Causing Inventor To Crash</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5575991#M55159</link>
      <description>&lt;P&gt;Is the parameter "Height" in Leg linked to the parameter in the assembly the Leg part is placed in?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If so this is causing a circular dependancy. Leg can't update until the assembly has updated so it can get the new updated value of Height. The assembly can't update the pattern until the Leg part has completed updates. And back and forth causing Inventor to crash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One option for this is to use iLogic in the assembly to update a separate Height parameter in Leg part. Unlink the parameters and ceate a rule in the assembly that does this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;Parameter("Leg", "Height") = Height&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Another option and one I do quite frequently when linking parameters is to create a separate part that just has shared parameters that everything else links to. Then all the parts and assemblies can use the same parameter set that's not dependant on anything else so it can update individually.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 15:45:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5575991#M55159</guid>
      <dc:creator>rjay75</dc:creator>
      <dc:date>2015-04-08T15:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: Linked Part Causing Inventor To Crash</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5576001#M55161</link>
      <description>That was my thought and that's why I made the point of showing my third thing I tried that in no way would create a circle. I just figured out the issue but I dont know what would be causing it. When the hole pattern is ANY value greater than 6 it crashes. I remade it all so my pattern never has more than 6 and it not longer crashes. What would cause that?</description>
      <pubDate>Wed, 08 Apr 2015 15:46:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5576001#M55161</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-08T15:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: Linked Part Causing Inventor To Crash</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5576128#M55168</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Sounds like a possible issue with the part file.&amp;nbsp;As a test manually change the patterns by editing them to a value that has triggered a crash in the past. If it crashes then there may be something with the part&amp;nbsp;that&amp;nbsp;causes the pattern to be invalid. If it works then&amp;nbsp;check all the places where the parameters you are modifying are used.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2015 16:58:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5576128#M55168</guid>
      <dc:creator>rjay75</dc:creator>
      <dc:date>2015-04-08T16:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linked Part Causing Inventor To Crash</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5576137#M55169</link>
      <description>I have gone into just the part and changed it's values. It really will only function correctly if I have the pattern value be no more than 6.</description>
      <pubDate>Wed, 08 Apr 2015 17:00:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5576137#M55169</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-08T17:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Linked Part Causing Inventor To Crash</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5606202#M55525</link>
      <description>&lt;P&gt;Hi Aaron,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you are still looking into this then the best thing would be to create a set of minimal and non-confidential documents that can be used by others to reproduce the issue. While creating them you might actually spot something as well that can help figure out the issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2015 00:24:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5606202#M55525</guid>
      <dc:creator>adam.nagy</dc:creator>
      <dc:date>2015-04-24T00:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Linked Part Causing Inventor To Crash</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5606664#M55541</link>
      <description>What ened up fixing this was instead of also writing a pattern rule like the one above, I just left the part how it was and used the associative pattern command in the .iam. Just doing that made everything work.</description>
      <pubDate>Fri, 24 Apr 2015 11:01:10 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5606664#M55541</guid>
      <dc:creator>ASchlaack</dc:creator>
      <dc:date>2015-04-24T11:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Linked Part Causing Inventor To Crash</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5782377#M58181</link>
      <description>&lt;P&gt;Aaron&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;The feature causing the error was the feature pattern, deleted the feature pattern and replaced the code and like magic fixed. FYI took a while to track that down...&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;If&lt;/SPAN&gt; &lt;SPAN&gt;Chain&lt;/SPAN&gt; &lt;SPAN&gt;= 603 &amp;amp; 614 &amp;amp; 903&lt;/SPAN&gt;
 &lt;SPAN&gt;EXTRA&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;1.0625&lt;/SPAN&gt;
 &lt;SPAN&gt;LINK_WIDTH&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt; .&lt;/SPAN&gt;&lt;SPAN&gt;375&lt;/SPAN&gt; &lt;SPAN&gt;in&lt;/SPAN&gt;
 &lt;SPAN&gt;ROLLER&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;4&lt;/SPAN&gt;
 &lt;SPAN&gt;SkirtFromSide&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;7.5625&lt;/SPAN&gt;
 &lt;SPAN&gt;SkirtBracketLength&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;5.8125&lt;/SPAN&gt;
 &lt;SPAN&gt;GuardBracketWidth&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;5.3125&lt;/SPAN&gt;
 &lt;SPAN&gt;RaiseSkirtForLargeRoller&lt;/SPAN&gt; &lt;SPAN&gt;=&lt;/SPAN&gt; &lt;SPAN&gt;-&lt;/SPAN&gt;&lt;SPAN&gt;1.125&lt;BR /&gt;&lt;BR /&gt;'Etc... '&lt;BR /&gt;End IF&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;End If&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but how can i get three options to share the same conditions like above&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Aug 2015 17:10:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/linked-part-causing-inventor-to-crash/m-p/5782377#M58181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-21T17:10:12Z</dc:date>
    </item>
  </channel>
</rss>

