<?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: I am working with Automation for dimensions in a drawing. in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13378150#M1359</link>
    <description>&lt;P&gt;You can use&amp;nbsp;&lt;/P&gt;&lt;P&gt;ComponentOccurrenceProxy.&lt;FONT color="#000000"&gt;&lt;STRONG&gt;OccurrencePath&lt;/STRONG&gt;&lt;/FONT&gt;() As &lt;A href="mk:@MSITStore:C:\Users\Public\Documents\Autodesk\Inventor%202025\Local%20Help\ADMAPI_29_0.chm::/HTML/ComponentOccurrencesEnumerator.htm" target="_blank" rel="noopener"&gt;ComponentOccurrencesEnumerator&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ComponentOccurrence.&lt;FONT color="#000000"&gt;&lt;STRONG&gt;OccurrencePath&lt;/STRONG&gt;&lt;/FONT&gt;() As &lt;A href="mk:@MSITStore:C:\Users\Public\Documents\Autodesk\Inventor%202025\Local%20Help\ADMAPI_29_0.chm::/HTML/ComponentOccurrencesEnumerator.htm" target="_blank" rel="noopener"&gt;ComponentOccurrencesEnumerator&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ComponentOccurrenceProxy.&lt;FONT color="#000000"&gt;&lt;STRONG&gt;OccurrencePath.Cast(of String).ToArray&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;ComponentOccurrence.OccurrencePath.Cast(of String).ToArray&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;will return&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;{&lt;SPAN&gt;"1 PIPE SLEEVE"&lt;/SPAN&gt;,&lt;SPAN&gt;"1 PIPE SLIDE GASKET"&lt;/SPAN&gt;}&lt;/PRE&gt;</description>
    <pubDate>Tue, 18 Mar 2025 23:51:00 GMT</pubDate>
    <dc:creator>Stakin</dc:creator>
    <dc:date>2025-03-18T23:51:00Z</dc:date>
    <item>
      <title>I am working with Automation for dimensions in a drawing.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13377157#M1355</link>
      <description>&lt;P&gt;I am using iLogic to place dimension's in a drawing and this all works good as long as the part is in the assembly or placed by itself.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I am having is that the part I'm trying to get the intent from is in a sub assembly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't know how I can get down down one more level to get the surface intent I'm looking for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the rule I have so far.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;'-----THIS RULE IS FOR THE DIMENSIONS, CENTER MARKS &amp;amp; BALLOONS FOR SHEET SINGLE SLEEVE GASKET:4&lt;/SPAN&gt;

&lt;SPAN&gt;'---THIS IS TO DEFINE THE SHEET THE RULES APPLY TO. &lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;SSGSheet&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDrawing&lt;/SPAN&gt;.&lt;SPAN&gt;Sheets&lt;/SPAN&gt;.&lt;SPAN&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN&gt;"SINGLE SLEEVE GASKET:4"&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;genDims&lt;/SPAN&gt; = &lt;SPAN&gt;SSGSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN&gt;GeneralDimensions&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;holeThreadNotes&lt;/SPAN&gt; = &lt;SPAN&gt;SSGSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingNotes&lt;/SPAN&gt;.&lt;SPAN&gt;HoleThreadNotes&lt;/SPAN&gt;
	
&lt;SPAN&gt;'-----THIS IS TO DEFINE THE DIMENSIONS NAMES AND NUMBERS&lt;/SPAN&gt;
&lt;SPAN&gt;'[&lt;/SPAN&gt;
&lt;SPAN&gt;'---IT'S DEFINED BY A TEXT WITH AN AUTOMATIC NUMBER. &lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;LDIMNAME&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = (&lt;SPAN&gt;"STP LINDIM "&lt;/SPAN&gt;)  	&lt;SPAN&gt;'---THIS IS THE NAME OF THE LINEAR DIMENSIONS&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;LDIMNUMBER&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Integer&lt;/SPAN&gt; = 0				&lt;SPAN&gt;'---THIS IS THE COUNTER FOR THE LINEAR DIMENSION NUMBER&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;HDIMNAME&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = (&lt;SPAN&gt;"STP HDIM"&lt;/SPAN&gt;)		&lt;SPAN&gt;'---THIS IS THE NAME OF THE HOLE DIMENSIONS&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;HDIMNUMBER&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Integer&lt;/SPAN&gt; = 0				&lt;SPAN&gt;'---THIS IS THE COUNTER FOR THE HOLE DIMENSION NUMBER&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;RDIMNAME&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = (&lt;SPAN&gt;"STP RDIM"&lt;/SPAN&gt;)		&lt;SPAN&gt;'---THIS IS THE NAME OF THE RADIUS DIMENSIONS&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;RDIMNUMBER&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Integer&lt;/SPAN&gt; = 0				&lt;SPAN&gt;'---THIS IS THE COUNTER FOR THE RADIUS DIMENSION NUMBER&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;HTNNAME&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = (&lt;SPAN&gt;"STP HTNDIM"&lt;/SPAN&gt;)		&lt;SPAN&gt;'---THIS IS THE NAME OF THE HOLE THREAD NOTE DIMENSIONS&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;HTNNUMBER&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Integer&lt;/SPAN&gt; = 0				&lt;SPAN&gt;'---THIS IS THE COUNTER FOR THE HOLE THREAD NOTE NUMBER&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;ADIMNAME&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = (&lt;SPAN&gt;"STP AINDIM "&lt;/SPAN&gt;)  	&lt;SPAN&gt;'---THIS IS THE NAME OF THE ANGULAR DIMENSIONS&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;ADIMNUMBER&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Integer&lt;/SPAN&gt; = 0				&lt;SPAN&gt;'---THIS IS THE COUNTER FOR THE ANGULAR DIMENSION NUMBER&lt;/SPAN&gt;
&lt;SPAN&gt;']&lt;/SPAN&gt;

&lt;SPAN&gt;'---THIS IS TO DEFINE THE DIMENSION STYLES USED WHEN PLACING DIMENSIONS. &lt;/SPAN&gt;
&lt;SPAN&gt;'[&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Sheet&lt;/SPAN&gt; = &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oStylesMgr&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingStylesManager&lt;/SPAN&gt; = &lt;SPAN&gt;oDrawDoc&lt;/SPAN&gt;.&lt;SPAN&gt;StylesManager&lt;/SPAN&gt;    

&lt;SPAN&gt;'get the reference to the target dimension style (by name)&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oNewStyle&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DimensionStyle&lt;/SPAN&gt; = &lt;SPAN&gt;oStylesMgr&lt;/SPAN&gt;.&lt;SPAN&gt;DimensionStyles&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"HMT DEFAULT"&lt;/SPAN&gt;)			&lt;SPAN&gt;'---THIS IS THE NORMAL DIM STYLE&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oNewStyle01&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DimensionStyle&lt;/SPAN&gt; = &lt;SPAN&gt;oStylesMgr&lt;/SPAN&gt;.&lt;SPAN&gt;DimensionStyles&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(&lt;SPAN&gt;"RAD 2x"&lt;/SPAN&gt;)				&lt;SPAN&gt;'---THIS HAS THE PREFIX 2x &lt;/SPAN&gt;

&lt;SPAN&gt;']&lt;/SPAN&gt;

&lt;SPAN&gt;'-----THIS IS TO DEFINE ALL THE DIMENSIONS, CENTER MARK &amp;amp; BALLONS FOR VIEW A06.001.004&lt;/SPAN&gt;
&lt;SPAN&gt;'[&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;VIEW&lt;/SPAN&gt; = &lt;SPAN&gt;SSGSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;.&lt;SPAN&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN&gt;"GASKET"&lt;/SPAN&gt;)	&lt;SPAN&gt;'---THIS IS THE VIEW NAME IN THE SHEET&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;PART&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = (&lt;SPAN&gt;"1 PIPE SLIDE GASKET"&lt;/SPAN&gt;)			&lt;SPAN&gt;'---THIS IS THE INSTANT NAME OF THE PART IN THE VIEW&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;SUBASS&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = (&lt;SPAN&gt;"1 PIPE SLEEVE"&lt;/SPAN&gt;)				&lt;SPAN&gt;'---THIS IS THE SUBASSEMBLY INSTANCE NAME&lt;/SPAN&gt;

	&lt;SPAN&gt;'---THIS IS ALL THE LINEAR DIMENSIONS ON THE VIEW A06.001.004&lt;/SPAN&gt;
	&lt;SPAN&gt;'[&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;SP01&lt;/SPAN&gt; = &lt;SPAN&gt;VIEW&lt;/SPAN&gt;.&lt;SPAN&gt;GetIntent&lt;/SPAN&gt;(PART, &lt;SPAN&gt;"OD"&lt;/SPAN&gt;)
		&lt;SPAN&gt;HDIMNUMBER&lt;/SPAN&gt; = &lt;SPAN&gt;HDIMNUMBER&lt;/SPAN&gt; + 1
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;linDim&lt;/SPAN&gt; = &lt;SPAN&gt;genDims&lt;/SPAN&gt;.&lt;SPAN&gt;AddDiameter&lt;/SPAN&gt;(&lt;SPAN&gt;HDIMNAME&lt;/SPAN&gt; &amp;amp; &lt;SPAN&gt;HDIMNUMBER&lt;/SPAN&gt;, &lt;SPAN&gt;VIEW&lt;/SPAN&gt;.&lt;SPAN&gt;SheetPoint&lt;/SPAN&gt;(1.0, 1.0), &lt;SPAN&gt;SP01&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;The issue is when I'm getting the INTENT. I can only reference a part. I am referring to the part by it's instant name in the model tree. This works great normally but as this part is in a sub-assembly I can not get to it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone has some tips or tricks to solve this the help would be highly appreciated.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jarle&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 13:27:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13377157#M1355</guid>
      <dc:creator>jarle_oudalstoelEN4BR</dc:creator>
      <dc:date>2025-03-18T13:27:39Z</dc:date>
    </item>
    <item>
      <title>Re: I am working with Automation for dimensions in a drawing.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13377530#M1356</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15830311"&gt;@jarle_oudalstoelEN4BR&lt;/a&gt;.&amp;nbsp; I don't really do much dimensioning in drawings by code, but generally understand the process.&amp;nbsp; It sounds to me like you will need to first get that lower level component occurrence object directly, then use that to get access to the 'proxy' of some geometry of that part.&amp;nbsp; That first proxy you get will still be in the context of the sub assembly though, instead of in the context of the 'main' assembly, so that proxy portion of the code will need two steps.&amp;nbsp; The second step will use that proxy in the sub assembly to get the proxy that is then in the context of the main assembly, so you can use it for geometry intent purposes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I will post some example code below that is just for describing the process needed in a case like this, using some generic component names, and just the first face found in the bottom part, as an example.&amp;nbsp; It first uses an iLogic tool called 'MakePath', which lets you specify the 'path' of the lower level component occurrence that you want to target.&amp;nbsp; Then uses that 'path' to get that occurrence object.&amp;nbsp; Then uses that occurrence object to get a Face from, and later to get the 'proxy' of that face that is in the sub-assembly.&amp;nbsp; Then gets the sub assembly occurrence, so we can use that to get access to the 'proxy' of that first proxy that will be in the context of the 'main' assembly.&amp;nbsp; Once we have that top level proxy, we can use that for out 'intent', for the dimension.&amp;nbsp; You will of course have to take that 'code plan/process' and adapt it into your own as you see fit though.&amp;nbsp; I hope you understand what is going on there, and hope this helps some.&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;'specify top level sub assembly occurrence name (as seen in model browser) first
'then specify next lower occurrence name after a comma separator,
'until the lowest level occurrens name that you want to specify is included
Dim sOcc1Path As ArrayList = MakePath("SubAssem1:1", "Part2:1")
'then use that 'sCompPath' variable to specify which component you want to work with
Dim oOcc1 As ComponentOccurrence = Component.InventorComponent(sOcc1Path)
'now get a proxy from that lower level occurrence that is in the sub assembly
'in this case a specific Face (which will be a FaceProxy)
Dim oOcc1Face1 As Face = oOcc1.Definition.SurfaceBodies.Faces.Item(1)
'prepare a variable to hold the face proxy
Dim oOcc1Face1ProxyInSubAsm As Object = Nothing 'or As FaceProxy, if original was a Face
'now use this method of the 'owning' occurrence to get the proxy
oOcc1.CreateGeometryProxy(oOcc1Face1, oOcc1Face1ProxyInSubAsm)
'now get the proxy of that proxy that is in the 'main' assembly
Dim oSubAsm1Occ As ComponentOccurrence = Component.InventorComponent("SubAssem1:1")
'same scenario as before, but using this sub assembly occurrence
Dim oOcc1Face1ProxyInMainAsm As Object = Nothing
oSubAsm1Occ.CreateGeometryProxy(oOcc1Face1ProxyInSubAsm, oOcc1Face1ProxyInMainAsm)
'now you can use that FaceProxy that is in the context of the main assembly 'oOcc1Face1ProxyInMainAsm'
'for getting the needed GeometryIntent for your dimension&lt;/LI-CODE&gt;
&lt;P&gt;If this solved your problem, or answered your question, please click &lt;SPAN&gt;&lt;STRONG&gt; ACCEPT SOLUTION &lt;/STRONG&gt;&lt;/SPAN&gt;.&lt;BR /&gt;Or, if this helped you, please click (LIKE or KUDOS) &lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 16:25:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13377530#M1356</guid>
      <dc:creator>WCrihfield</dc:creator>
      <dc:date>2025-03-18T16:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: I am working with Automation for dimensions in a drawing.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13377900#M1357</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can write this code with {} too get path too subassemblies&amp;nbsp;&lt;/P&gt;&lt;P&gt;see example&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;JM Gunnar&lt;/P&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15830311"&gt;@jarle_oudalstoelEN4BR&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Dim SP01 = VIEW.GetIntent({&lt;SPAN&gt;"1 PIPE SLEEVE"&lt;/SPAN&gt;,&lt;SPAN&gt;"1 PIPE SLIDE GASKET"&lt;/SPAN&gt;},&lt;SPAN&gt;"OD"&lt;/SPAN&gt;)&lt;/PRE&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;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;VIEW&lt;/SPAN&gt; = &lt;SPAN&gt;SSGSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingViews&lt;/SPAN&gt;.&lt;SPAN&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN&gt;"GASKET"&lt;/SPAN&gt;)	&lt;SPAN&gt;'---THIS IS THE VIEW NAME IN THE SHEET&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;PART&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = (&lt;SPAN&gt;"1 PIPE SLIDE GASKET"&lt;/SPAN&gt;)			&lt;SPAN&gt;'---THIS IS THE INSTANT NAME OF THE PART IN THE VIEW&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;SUBASS&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;String&lt;/SPAN&gt; = (&lt;SPAN&gt;"1 PIPE SLEEVE"&lt;/SPAN&gt;)				&lt;SPAN&gt;'---THIS IS THE SUBASSEMBLY INSTANCE NAME&lt;/SPAN&gt;

	&lt;SPAN&gt;'---THIS IS ALL THE LINEAR DIMENSIONS ON THE VIEW A06.001.004&lt;/SPAN&gt;
	&lt;SPAN&gt;'[&lt;/SPAN&gt;
	&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;SP01&lt;/SPAN&gt; = &lt;SPAN&gt;VIEW&lt;/SPAN&gt;.&lt;SPAN&gt;GetIntent&lt;/SPAN&gt;(PART, &lt;SPAN&gt;"OD"&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 20:08:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13377900#M1357</guid>
      <dc:creator>JMGunnar</dc:creator>
      <dc:date>2025-03-18T20:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: I am working with Automation for dimensions in a drawing.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13378140#M1358</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4141055"&gt;@JMGunnar&lt;/a&gt;&amp;nbsp;thank you for helping me with this. That worked great.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jarle&lt;/P&gt;</description>
      <pubDate>Tue, 18 Mar 2025 23:16:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13378140#M1358</guid>
      <dc:creator>jarle_oudalstoelEN4BR</dc:creator>
      <dc:date>2025-03-18T23:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: I am working with Automation for dimensions in a drawing.</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13378150#M1359</link>
      <description>&lt;P&gt;You can use&amp;nbsp;&lt;/P&gt;&lt;P&gt;ComponentOccurrenceProxy.&lt;FONT color="#000000"&gt;&lt;STRONG&gt;OccurrencePath&lt;/STRONG&gt;&lt;/FONT&gt;() As &lt;A href="mk:@MSITStore:C:\Users\Public\Documents\Autodesk\Inventor%202025\Local%20Help\ADMAPI_29_0.chm::/HTML/ComponentOccurrencesEnumerator.htm" target="_blank" rel="noopener"&gt;ComponentOccurrencesEnumerator&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ComponentOccurrence.&lt;FONT color="#000000"&gt;&lt;STRONG&gt;OccurrencePath&lt;/STRONG&gt;&lt;/FONT&gt;() As &lt;A href="mk:@MSITStore:C:\Users\Public\Documents\Autodesk\Inventor%202025\Local%20Help\ADMAPI_29_0.chm::/HTML/ComponentOccurrencesEnumerator.htm" target="_blank" rel="noopener"&gt;ComponentOccurrencesEnumerator&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ComponentOccurrenceProxy.&lt;FONT color="#000000"&gt;&lt;STRONG&gt;OccurrencePath.Cast(of String).ToArray&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;ComponentOccurrence.OccurrencePath.Cast(of String).ToArray&lt;BR /&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000"&gt;&lt;STRONG&gt;will return&amp;nbsp;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;PRE&gt;{&lt;SPAN&gt;"1 PIPE SLEEVE"&lt;/SPAN&gt;,&lt;SPAN&gt;"1 PIPE SLIDE GASKET"&lt;/SPAN&gt;}&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Mar 2025 23:51:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/i-am-working-with-automation-for-dimensions-in-a-drawing/m-p/13378150#M1359</guid>
      <dc:creator>Stakin</dc:creator>
      <dc:date>2025-03-18T23:51:00Z</dc:date>
    </item>
  </channel>
</rss>

