<?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 Show FeatureDimensions on multiple features in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/show-featuredimensions-on-multiple-features/m-p/8149761#M86925</link>
    <description>&lt;P&gt;Has anyone discovered a method to show all feature dimensions for multiple features?&amp;nbsp; Ideally it would behave similar to the snippet shown below.&amp;nbsp; Currently have my code making the dimensions from sketches available, but unfortunately there are times when the necessary dimension are associated only with the 3D feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;foreach (PartFeature feature in partdocument.ComponentDefinition.Features)
{
    feature.FeatureDimensions.Show();
}&lt;/PRE&gt;</description>
    <pubDate>Mon, 23 Jul 2018 20:31:36 GMT</pubDate>
    <dc:creator>wgraham</dc:creator>
    <dc:date>2018-07-23T20:31:36Z</dc:date>
    <item>
      <title>Show FeatureDimensions on multiple features</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/show-featuredimensions-on-multiple-features/m-p/8149761#M86925</link>
      <description>&lt;P&gt;Has anyone discovered a method to show all feature dimensions for multiple features?&amp;nbsp; Ideally it would behave similar to the snippet shown below.&amp;nbsp; Currently have my code making the dimensions from sketches available, but unfortunately there are times when the necessary dimension are associated only with the 3D feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;foreach (PartFeature feature in partdocument.ComponentDefinition.Features)
{
    feature.FeatureDimensions.Show();
}&lt;/PRE&gt;</description>
      <pubDate>Mon, 23 Jul 2018 20:31:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/show-featuredimensions-on-multiple-features/m-p/8149761#M86925</guid>
      <dc:creator>wgraham</dc:creator>
      <dc:date>2018-07-23T20:31:36Z</dc:date>
    </item>
    <item>
      <title>Re: Show FeatureDimensions on multiple features</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/show-featuredimensions-on-multiple-features/m-p/8154169#M86978</link>
      <description>&lt;P&gt;Well, if you do this manually, you first need to create a selection, and then activate the command to show the dimensions, if you just loop through the feature, only the last looped shows dimensions.&lt;/P&gt;&lt;PRE&gt;Sub ShowDimensions()

Dim oDoc As PartDocument
Set oDoc = ThisApplication.ActiveDocument


Dim oCompDef As PartComponentDefinition
Set oCompDef = oDoc.ComponentDefinition

Dim oSelectSet As SelectSet

Dim oFeature As PartFeature
For Each oFeature In oCompDef.Features
Call oDoc.SelectSet.Select(oFeature)
Next oFeature

Dim oControlDef As ControlDefinition
Set oControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("PartShowDimensionsCtxCmd")
oControlDef.Execute

End Sub&lt;/PRE&gt;</description>
      <pubDate>Wed, 25 Jul 2018 12:41:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/show-featuredimensions-on-multiple-features/m-p/8154169#M86978</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2018-07-25T12:41:21Z</dc:date>
    </item>
  </channel>
</rss>

