<?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: iProperties Dialog Box - Display &amp;quot;Physical&amp;quot; Tab Using a VBA Macro in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8537069#M93441</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ofcourse this is possible, you need to use Execute2 and then you can send keys to any dialog with vba&lt;/P&gt;
&lt;PRE&gt;Sub ActivatePhysicalTab()

ThisApplication.CommandManager.ControlDefinitions.Item("AppiPropertiesWrapperCmd").Execute2 (False)
Call SendKeys("{%}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")

End Sub
&lt;/PRE&gt;</description>
    <pubDate>Mon, 21 Jan 2019 11:01:12 GMT</pubDate>
    <dc:creator>frederic.vandenplas</dc:creator>
    <dc:date>2019-01-21T11:01:12Z</dc:date>
    <item>
      <title>iProperties Dialog Box - Display "Physical" Tab Using a VBA Macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8534575#M93412</link>
      <description>&lt;P&gt;Can&amp;nbsp; anybody help?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following line of code in a VBA macro to display the iProperties dialog box&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ThisApplication.CommandManager.ControlDefinitions.Item("AppiPropertiesWrapperCmd").Execute&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is it possible to open the iProperties dialog box and automatically show the "Physical" Tab without having to select it manually?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Many thanks in advance!&lt;/P&gt;
&lt;P&gt;Darren&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 09:32:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8534575#M93412</guid>
      <dc:creator>isocam</dc:creator>
      <dc:date>2019-01-19T09:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: iProperties Dialog Box - Display "Physical" Tab Using a VBA Macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8534858#M93417</link>
      <description>&lt;P&gt;Unfortunately think it is not.&lt;/P&gt;
&lt;P&gt;Why not creating your own dialog with the physical properties on it?&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 15:11:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8534858#M93417</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-01-19T15:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: iProperties Dialog Box - Display "Physical" Tab Using a VBA Macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8535059#M93418</link>
      <description>&lt;P&gt;The Inventor API does not support this.&amp;nbsp; It should be possible to do using the Windows API, but it wouldn't be trivial to do.&lt;/P&gt;</description>
      <pubDate>Sat, 19 Jan 2019 19:12:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8535059#M93418</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2019-01-19T19:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: iProperties Dialog Box - Display "Physical" Tab Using a VBA Macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8535464#M93420</link>
      <description>&lt;P&gt;I have added some Vba code:&lt;/P&gt;
&lt;P&gt;For a userform.&lt;/P&gt;
&lt;PRE&gt;Private Sub UserForm_Activate()

Dim a As Application
Set a = ThisApplication

Dim b As PartDocument
Set b = a.ActiveDocument

Dim Mass As MassProperties
Set Mass = b.ComponentDefinition.MassProperties

TextBox1.Text = Mass.Accuracy
'TextBox2.Text = Mass.AchievedAccuracy(
TextBox3.Text = Mass.Area
TextBox4.Text = Mass.AvailableAccuracy
TextBox5.Text = Mass.CacheResultsOnCompute
TextBox6.Text = Mass.CenterOfMass.X &amp;amp; " " &amp;amp; Mass.CenterOfMass.Y &amp;amp; " " &amp;amp; Mass.CenterOfMass.Z
TextBox7.Text = Mass.IncludeCosmeticWelds
'TextBox8.Text = Mass.IncludeQuantityOverrides
TextBox9.Text = Mass.Mass
TextBox10.Text = Mass.MassOverridden
'TextBox11.Text = Mass.PrincipalMomentsOfInertial
'TextBox12.Text = Mass.RadiusOfGyration
'TextBox13.Text = Mass.RotationToPrincipal
TextBox14.Text = Mass.Type
TextBox15.Text = Mass.Volume
TextBox16.Text = Mass.VolumeOverridden
'TextBox17.Text = Mass.XYZMomentsOfInertia

'LABELS
Label1.Caption = "Mass.Accuracy"
'Label2.Caption = "Mass.AchievedAccuracy"
Label3.Caption = "Mass.Area"
Label4.Caption = "Mass.AvailableAccuracy"
Label5.Caption = "Mass.CacheResultsOnCompute"
Label6.Caption = "Mass.CenterOfMass" ' &amp;amp; " " &amp;amp; Mass.CenterOfMass.Y &amp;amp; " " &amp;amp; Mass.CenterOfMass.Z"""
Label7.Caption = "Mass.IncludeCosmeticWelds"
'Label8.Caption = Mass.IncludeQuantityOverrides
Label9.Caption = "Mass.Mass"
Label10.Caption = "Mass.MassOverridden"
'Label11.Caption = Mass.PrincipalMomentsOfInertial
'Label12.Caption = Mass.RadiusOfGyration
'Label13.Caption = Mass.RotationToPrincipal
Label14.Caption = "Mass.Type"
Label15.Caption = "Mass.Volume"
Label16.Caption = "Mass.VolumeOverridden"
'Label17.Caption = Mass.XYZMomentsOfInertia

End Sub

&lt;/PRE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="FormPhysicalProps.JPG" style="width: 647px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/593043iD1435B7F1E67D58F/image-size/large?v=v2&amp;amp;px=999" role="button" title="FormPhysicalProps.JPG" alt="FormPhysicalProps.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have added the Project for VBA too:&lt;/P&gt;
&lt;P&gt;load this into your VBA environment.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Autodesk Software:&lt;/STRONG&gt; Inventor Professional 2018 | Vault Professional 2018 | Autocad Mechanical 2018&lt;BR /&gt;&lt;STRONG&gt;Programming Skills:&lt;/STRONG&gt; Vba | Vb.net (Add ins Vault / Inventor, Applications) | I-logic&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/dimension-component-part-and-assembly/idi-p/7523011" target="_blank"&gt;Dimension Component!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/export-partlist-default-configuration/idc-p/7422221#M21416" target="_blank"&gt;Partlist Export!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/derived-part-and-assembly-copy-i-properties/idi-p/6349392" target="_blank"&gt;Derive I-properties!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/inventor-vault-prompts-settings-amp-vault-prompts-settings-via/idi-p/7641767" target="_blank"&gt;Vault Prompts Via API!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/vault-ideas/vault-professional-handbook-or-manual-to-be-provided/idi-p/7653669" target="_blank"&gt;Vault Handbook/Manual!&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/drawing-toggle-sheets/idi-p/7708757" target="_blank"&gt;Drawing Toggle Sheets!&lt;/A&gt; | &lt;A href="https://forums.autodesk.com/t5/inventor-ideas/open-files-automatically-with-quot-defer-update-quot-on-read/idi-p/7762709" target="_blank"&gt;Vault Defer Update!&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;! For administrative reasons, please mark a &lt;STRONG&gt;"Solution as solved"&lt;/STRONG&gt; when the issue is solved !&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jan 2019 08:02:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8535464#M93420</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-01-20T08:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: iProperties Dialog Box - Display "Physical" Tab Using a VBA Macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8536525#M93428</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/84538"&gt;@isocam&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5741855"&gt;@BrianEkins&lt;/a&gt;&amp;nbsp;is right. Unfortunately, Inventor API does not support to display &lt;STRONG&gt;"Physical"&lt;/STRONG&gt; tab. please suggest this wish list at idea station using below link.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232" target="_blank"&gt;https://forums.autodesk.com/t5/inventor-ideas/idb-p/v1232&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks and regards,&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 04:55:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8536525#M93428</guid>
      <dc:creator>chandra.shekar.g</dc:creator>
      <dc:date>2019-01-21T04:55:03Z</dc:date>
    </item>
    <item>
      <title>Re: iProperties Dialog Box - Display "Physical" Tab Using a VBA Macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8537069#M93441</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ofcourse this is possible, you need to use Execute2 and then you can send keys to any dialog with vba&lt;/P&gt;
&lt;PRE&gt;Sub ActivatePhysicalTab()

ThisApplication.CommandManager.ControlDefinitions.Item("AppiPropertiesWrapperCmd").Execute2 (False)
Call SendKeys("{%}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")
Call SendKeys("{RIGHT}")

End Sub
&lt;/PRE&gt;</description>
      <pubDate>Mon, 21 Jan 2019 11:01:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8537069#M93441</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2019-01-21T11:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: iProperties Dialog Box - Display "Physical" Tab Using a VBA Macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8537246#M93443</link>
      <description>&lt;P&gt;Good possible solution!&lt;/P&gt;
&lt;P&gt;The only thing is that send keys are a bit tricky, regarding their possible unwanted behavior!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 12:17:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8537246#M93443</guid>
      <dc:creator>bradeneuropeArthur</dc:creator>
      <dc:date>2019-01-21T12:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: iProperties Dialog Box - Display "Physical" Tab Using a VBA Macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8537273#M93444</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/473476"&gt;@bradeneuropeArthur&lt;/a&gt;&amp;nbsp;i know, but i don't see any issues with this one here.&lt;/P&gt;
&lt;P&gt;I've done it in the past for settings in dialogs for example Detail views, and there indeed you need to watch out for unexpected behaviour.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 12:33:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8537273#M93444</guid>
      <dc:creator>frederic.vandenplas</dc:creator>
      <dc:date>2019-01-21T12:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: iProperties Dialog Box - Display "Physical" Tab Using a VBA Macro</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8541626#M93501</link>
      <description>&lt;P&gt;I had some trouble with the snippets above, and I was also trying to get it to work in iLogic rather than VBA. After experimenting, the following methods seem to work well for VBA and iLogic respectively:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;VBA:&lt;/P&gt;
&lt;PRE&gt;Sub OpenPhysicalProperties()
    ThisApplication.CommandManager.ControlDefinitions.Item("AppiPropertiesWrapperCmd").Execute2 (False)
    SendKeys ("{RIGHT 6}")
End Sub&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;iLogic&lt;/P&gt;
&lt;PRE&gt;Sub OpenPhysicalProperties()
    ThisApplication.CommandManager.ControlDefinitions.Item("AppiPropertiesWrapperCmd").Execute2(False)
    System.Windows.Forms.SendKeys.SendWait("{RIGHT 6}")
End Sub&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jan 2019 21:20:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/iproperties-dialog-box-display-quot-physical-quot-tab-using-a/m-p/8541626#M93501</guid>
      <dc:creator>DRoam</dc:creator>
      <dc:date>2019-01-22T21:20:14Z</dc:date>
    </item>
  </channel>
</rss>

