<?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: Same dimensions not always used to define geometry - delete dimensions with in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6773360#M296446</link>
    <description>&lt;P&gt;Hi jrsalmon24,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More commonly we would create multiple "optional" features and suppress them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance if there is not a radius then we would suppress a fillet feature, rather than a sketch dimension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the attached Inventor 2015 file for quick iLogic example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;BR /&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A href="http://inventortrenches.blogspot.com" target="_blank"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Dec 2016 20:41:59 GMT</pubDate>
    <dc:creator>Curtis_W</dc:creator>
    <dc:date>2016-12-28T20:41:59Z</dc:date>
    <item>
      <title>Same dimensions not always used to define geometry - delete dimensions with iLog</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6773257#M296445</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am drawing a fairly simple counter-top destined for a CNC machine. I am trying to write a program so that people that don't know inventor can create a part from some basic inputs in an excel file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Often times I do not get the same dimensions from a company to define exactly what they want - therefore I can't write a program that is failproof currently.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Inputting the parameters is fine, but I want to know if there is a way to make parameters "optional?"&lt;/P&gt;&lt;P&gt;Say if they enter a 0 as a radius, it would simply delete the dimension so that a different dimension could be used to constrain the sketch. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not know syntax to use iLogic very well but (unless there is a better command) I would want it to do something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read dimension from excel file&lt;/P&gt;&lt;P&gt;if dimension ==0&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; delete dimension&lt;/P&gt;&lt;P&gt;end&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 19:41:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6773257#M296445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-28T19:41:49Z</dc:date>
    </item>
    <item>
      <title>Re: Same dimensions not always used to define geometry - delete dimensions with</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6773360#M296446</link>
      <description>&lt;P&gt;Hi jrsalmon24,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;More commonly we would create multiple "optional" features and suppress them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For instance if there is not a radius then we would suppress a fillet feature, rather than a sketch dimension.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the attached Inventor 2015 file for quick iLogic example.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope this helps.&lt;BR /&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A href="http://inventortrenches.blogspot.com" target="_blank"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 20:41:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6773360#M296446</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2016-12-28T20:41:59Z</dc:date>
    </item>
    <item>
      <title>Betreff: Same dimensions not always used to define geometry - delete dimensions</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6775849#M296447</link>
      <description>&lt;P&gt;Hi&amp;nbsp;@Anonymous,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am not the iLogic expert here, too, but just trying to use common sense... For starters,&amp;nbsp;Curtis_Waguespack's sounds reasonable.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To understand your needs, do you want the feature to disappear when entering "0" or do you want the entry to be replaced by another number?&lt;/P&gt;
&lt;P&gt;And do you want to use iLogic or just using Excel to import the parameters? I am pretty sure Excel is able to handle constraints (if 0 then....)&lt;/P&gt;
&lt;P&gt;You may consider using the &lt;A href="https://www.youtube.com/watch?v=DW2ahuD9Pvc" target="_blank"&gt;Excel in combination with iParts&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 10:59:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6775849#M296447</guid>
      <dc:creator>Sofia.Xanthopoulou</dc:creator>
      <dc:date>2016-12-30T10:59:27Z</dc:date>
    </item>
    <item>
      <title>Betreff: Same dimensions not always used to define geometry - delete dimensions</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6776042#M296448</link>
      <description>&lt;P&gt;Thanks to both of you for the response, but that's not exactly what I'm looking for. When entering a zero I do not want the feature to disappear, as it is just a single dimension of the feature I am trying to create. I suppose I want it to be replaced by another number, but one that inventor comes up with, not that I have to input. &amp;nbsp;I will try to explain better with these pictures, hopefully they are clear enough - sometimes I receive the dimensions such as the angle, the short length and the inner and outer radii. This works fine and properly constrains the sketch, however sometimes they will give me a dimension such as the 'total height' instead. I want to be able to enter a zero for 'long length' and the program does not use that dimension to constrain the sketch. Is that making more sense?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 14:41:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6776042#M296448</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-30T14:41:30Z</dc:date>
    </item>
    <item>
      <title>Betreff: Same dimensions not always used to define geometry - delete dimensions</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6776280#M296449</link>
      <description>&lt;P&gt;Hi jrsalmon24,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It sounds like you want to change the dimension from driving to driven then?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here's a basic iLogic that demonstrates the syntax. I would create some true/false parameters to use as toggle. In this example the true/false parameter is called oDriveLength&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'll try to provide a simple example using an iLogic form next week if I can remember.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;'get the sketch to work with
oSketch = ThisDoc.Document.ComponentDefinition.Sketches.Item("Sketch1")

If oDriveLength = True Then
oSketch.DimensionConstraints.Item(d0).Driven = True 
Else
oSketch.DimensionConstraints.Item(d0).Driven = False
End If&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;I hope this helps.&lt;BR /&gt;Best of luck to you in all of your Inventor pursuits,&lt;BR /&gt;Curtis&lt;BR /&gt;&lt;A href="http://inventortrenches.blogspot.com" target="_blank"&gt;http://inventortrenches.blogspot.com&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 17:33:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6776280#M296449</guid>
      <dc:creator>Curtis_W</dc:creator>
      <dc:date>2016-12-30T17:33:14Z</dc:date>
    </item>
    <item>
      <title>Betreff: Same dimensions not always used to define geometry - delete dimensions</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6776347#M296450</link>
      <description>&lt;P&gt;Thank you Curtis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;</description>
      <pubDate>Fri, 30 Dec 2016 18:28:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/same-dimensions-not-always-used-to-define-geometry-delete/m-p/6776347#M296450</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-12-30T18:28:28Z</dc:date>
    </item>
  </channel>
</rss>

