<?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: iLogic create dimension using named geometry in idw in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9491422#M75051</link>
    <description>&lt;P&gt;Sorry, set oAsmDoc as the assembly document you are referencing in the IDW:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;oAsmDoc =&amp;nbsp;&lt;FONT&gt;Doc.ReferencedDocuments&lt;/FONT&gt;.Item(1)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(If you have more than one referenced doc, then point to the correct one)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;oCompDef (not well named, sorry... sloppy code) = oAsmDoc.Definition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To drill down through subassemblies, I think you will need to create more proxy objects for referencing each subassembly... if your having trouble, let me know, I will dig out some code where I have done this before&lt;/P&gt;</description>
    <pubDate>Mon, 04 May 2020 21:49:03 GMT</pubDate>
    <dc:creator>Paul1084</dc:creator>
    <dc:date>2020-05-04T21:49:03Z</dc:date>
    <item>
      <title>iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/8838703#M75047</link>
      <description>&lt;P&gt;With the addition of named geometry, I thought it would be nice to be able to use named faces to create automatic dimensions in an idw, potentially as a cleaner or more robust alternative to using work points.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is some code I am having difficulty with, I am trying to get the drawing curve that corresponds to the named face, when looking at it in a side view and then dimension using the extents of the line as my dimension points, see attached screenshot. My end goal is to dimension a named face in a section view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My curve0 count is returning 1 so it seems to be finding a drawing curve but I cannot generate a dimension of it.&lt;/P&gt;&lt;P&gt;i am getting an error on the last line when trying to create the actual dimension.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is this possible to dimension to a face?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;partDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ModelDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;namedEntities&lt;/SPAN&gt; = &lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;Automation&lt;/SPAN&gt;.&lt;SPAN&gt;GetNamedEntities&lt;/SPAN&gt;(&lt;SPAN&gt;partDoc&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;face0&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Face&lt;/SPAN&gt; = &lt;SPAN&gt;namedEntities&lt;/SPAN&gt;.&lt;SPAN&gt;FindEntity&lt;/SPAN&gt;(&lt;SPAN&gt;"Face0"&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oView&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;.&lt;SPAN&gt;View&lt;/SPAN&gt;(&lt;SPAN&gt;"VIEW1"&lt;/SPAN&gt;).&lt;SPAN&gt;View&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;curve0&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingCurvesEnumerator&lt;/SPAN&gt;

&lt;SPAN&gt;curve0&lt;/SPAN&gt; = &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingCurves&lt;/SPAN&gt;(&lt;SPAN&gt;face0&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;finalCurve&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingCurve&lt;/SPAN&gt;

&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;curve0&lt;/SPAN&gt;.&lt;SPAN&gt;Count&lt;/SPAN&gt;.&lt;SPAN&gt;ToString&lt;/SPAN&gt;)

&lt;SPAN&gt;finalCurve&lt;/SPAN&gt; = &lt;SPAN&gt;curve0&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1)

&lt;SPAN&gt;'MessageBox.Show(finalCurve.ToString)&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oGeomIntent1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;GeometryIntent&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oGeomIntent2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;GeometryIntent&lt;/SPAN&gt;

&lt;SPAN&gt;oGeomIntent1&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN&gt;finalCurve&lt;/SPAN&gt;.&lt;SPAN&gt;StartPoint&lt;/SPAN&gt;, &lt;SPAN&gt;kStartPointIntent&lt;/SPAN&gt;)
&lt;SPAN&gt;oGeomIntent2&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN&gt;finalCurve&lt;/SPAN&gt;.&lt;SPAN&gt;EndPoint&lt;/SPAN&gt;, &lt;SPAN&gt;kEndPointIntent&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;textPoint&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN&gt;ThisServer&lt;/SPAN&gt;.&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Center&lt;/SPAN&gt;.&lt;SPAN&gt;X&lt;/SPAN&gt;,&lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Top&lt;/SPAN&gt;)&lt;BR /&gt;'Error on this line below
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDim&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;GeneralDimension&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN&gt;GeneralDimensions&lt;/SPAN&gt;.&lt;SPAN&gt;AddLinear&lt;/SPAN&gt;(&lt;SPAN&gt;textPoint&lt;/SPAN&gt;, &lt;SPAN&gt;oGeomIntent1&lt;/SPAN&gt;, &lt;SPAN&gt;oGeomIntent2&lt;/SPAN&gt;, &lt;SPAN&gt;DimensionTypeEnum&lt;/SPAN&gt;.&lt;SPAN&gt;kHorizontalDimensionType&lt;/SPAN&gt;)&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 07 Jun 2019 12:43:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/8838703#M75047</guid>
      <dc:creator>jdasilvaS39UQ</dc:creator>
      <dc:date>2019-06-07T12:43:43Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/8843053#M75048</link>
      <description>&lt;P&gt;I figured it out, I got rid of "As GeneralDimension" in the last line.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Working code if anyones interested&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;partDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;PartDocument&lt;/SPAN&gt; = &lt;SPAN&gt;ThisDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ModelDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;namedEntities&lt;/SPAN&gt; = &lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;Automation&lt;/SPAN&gt;.&lt;SPAN&gt;GetNamedEntities&lt;/SPAN&gt;(&lt;SPAN&gt;partDoc&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;face0&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Face&lt;/SPAN&gt; = &lt;SPAN&gt;namedEntities&lt;/SPAN&gt;.&lt;SPAN&gt;FindEntity&lt;/SPAN&gt;(&lt;SPAN&gt;"Face0"&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;face1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Face&lt;/SPAN&gt; = &lt;SPAN&gt;namedEntities&lt;/SPAN&gt;.&lt;SPAN&gt;FindEntity&lt;/SPAN&gt;(&lt;SPAN&gt;"Face1"&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oView&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;.&lt;SPAN&gt;View&lt;/SPAN&gt;(&lt;SPAN&gt;"VIEW1"&lt;/SPAN&gt;).&lt;SPAN&gt;View&lt;/SPAN&gt;

&lt;SPAN&gt;'Dim curve0 As DrawingCurvesEnumerator&lt;/SPAN&gt;

&lt;SPAN&gt;curve0&lt;/SPAN&gt; = &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingCurves&lt;/SPAN&gt;(&lt;SPAN&gt;face0&lt;/SPAN&gt;)
&lt;SPAN&gt;curve1&lt;/SPAN&gt; = &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingCurves&lt;/SPAN&gt;(&lt;SPAN&gt;face1&lt;/SPAN&gt;)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;finalCurve&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingCurve&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;finalCurve1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingCurve&lt;/SPAN&gt;

&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;curve0&lt;/SPAN&gt;.&lt;SPAN&gt;Count&lt;/SPAN&gt;.&lt;SPAN&gt;ToString&lt;/SPAN&gt;)

&lt;SPAN&gt;finalCurve&lt;/SPAN&gt; = &lt;SPAN&gt;curve0&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1)
&lt;SPAN&gt;finalCurve1&lt;/SPAN&gt; = &lt;SPAN&gt;curve1&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1)

&lt;SPAN&gt;'MessageBox.Show(finalCurve.ToString)&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oGeomIntent1&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;GeometryIntent&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oGeomIntent2&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;GeometryIntent&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oGeneralDims&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;GeneralDimensions&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN&gt;GeneralDimensions&lt;/SPAN&gt;

&lt;SPAN&gt;oGeomIntent1&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN&gt;finalCurve&lt;/SPAN&gt;)
&lt;SPAN&gt;oGeomIntent2&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN&gt;finalCurve&lt;/SPAN&gt;.&lt;SPAN&gt;EndPoint&lt;/SPAN&gt;)
&lt;SPAN&gt;'oGeomIntent1 = oSheet.CreateGeometryIntent(finalCurve)&lt;/SPAN&gt;
&lt;SPAN&gt;'oGeomIntent2 = oSheet.CreateGeometryIntent(finalCurve1)&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;textPoint&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Inventor&lt;/SPAN&gt;.&lt;SPAN&gt;Point2d&lt;/SPAN&gt; = &lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Center&lt;/SPAN&gt;.&lt;SPAN&gt;X&lt;/SPAN&gt;,&lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Top&lt;/SPAN&gt; + .10)
&lt;SPAN&gt;'Error on this line below&lt;/SPAN&gt;
&lt;SPAN&gt;oDim&lt;/SPAN&gt; = &lt;SPAN&gt;oGeneralDims&lt;/SPAN&gt;.&lt;SPAN&gt;AddLinear&lt;/SPAN&gt;(&lt;SPAN&gt;textPoint&lt;/SPAN&gt;, &lt;SPAN&gt;oGeomIntent1&lt;/SPAN&gt;)&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Jun 2019 19:28:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/8843053#M75048</guid>
      <dc:creator>jdasilvaS39UQ</dc:creator>
      <dc:date>2019-06-10T19:28:49Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9184361#M75049</link>
      <description>&lt;P&gt;Excellent! thanks for the code... I got this to work on an assembly document referencing named faces within assembly components by creating geometry proxy objects... for those that are interested code below for dimensioning off named faces in assembly components:&lt;/P&gt;&lt;PRE&gt;Dim Doc As DrawingDocument
Doc = ThisDoc.Document 

Dim oAsmDoc As AssemblyDocument
Dim oCompDef As AssemblyComponentDefinition

Dim FPColl As ObjectCollection
Dim OverallColl As ObjectCollection
Dim oText As Point2d

Dim S1 = oCompDef.Occurrences.ItemByName("SU1")
Dim S2 = oCompDef.Occurrences.ItemByName("SU2")

FPColl = ThisServer.TransientObjects.CreateObjectCollection
OverallColl = ThisServer.TransientObjects.CreateObjectCollection

Dim namedEntities = iLogicVb.Automation.GetNamedEntities(S1.Definition.Document)
Dim S1Face As Face = namedEntities.FindEntity("InsideFace")

Call S1.CreateGeometryProxy(S1Face, oSketchProxy)
Dim S1Curve = oView.DrawingCurves(oSketchProxy)

oIntent = oSheet.CreateGeometryIntent(S1Curve.Item(1))
Call OverallColl.Add(oIntent)

namedEntities = iLogicVb.Automation.GetNamedEntities(S2.Definition.Document)
Dim S2Face As Face = namedEntities.FindEntity("InsideFace")

Call S2.CreateGeometryProxy(S2Face, oSketchProxy)
Dim S2Curve = oView.DrawingCurves(oSketchProxy)

oIntent = oSheet.CreateGeometryIntent(S2Curve.Item(1))
Call OverallColl.Add(oIntent)

oText = ThisServer.TransientGeometry.CreatePoint2d(oView.Center.X - oView.Width / 2, oView.Center.Y - oView.Height / 2)

oText.Y = oText.Y - 1

Call oSheet.DrawingDimensions.GeneralDimensions.AddLinear(oText, OverallColl.Item(1), OverallColl.Item(2)).CenterText
						&lt;/PRE&gt;</description>
      <pubDate>Thu, 05 Dec 2019 11:08:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9184361#M75049</guid>
      <dc:creator>Paul1084</dc:creator>
      <dc:date>2019-12-05T11:08:14Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9490890#M75050</link>
      <description>&lt;P&gt;I am having trouble with this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;oCompDef is not set to anything that I can see. Not sure how to point it at the Assembly in the drawing. Also, I need to drill down into a sub assembly before finally finding a part, with a named face.&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 18:53:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9490890#M75050</guid>
      <dc:creator>jholland3XDLM</dc:creator>
      <dc:date>2020-05-04T18:53:33Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9491422#M75051</link>
      <description>&lt;P&gt;Sorry, set oAsmDoc as the assembly document you are referencing in the IDW:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;oAsmDoc =&amp;nbsp;&lt;FONT&gt;Doc.ReferencedDocuments&lt;/FONT&gt;.Item(1)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(If you have more than one referenced doc, then point to the correct one)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;oCompDef (not well named, sorry... sloppy code) = oAsmDoc.Definition&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To drill down through subassemblies, I think you will need to create more proxy objects for referencing each subassembly... if your having trouble, let me know, I will dig out some code where I have done this before&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 21:49:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9491422#M75051</guid>
      <dc:creator>Paul1084</dc:creator>
      <dc:date>2020-05-04T21:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9493718#M75052</link>
      <description>&lt;P&gt;I've not dealt with proxy before. I don't actually know what that is. Inventor Help states that a proxy object represents another object within the assembly space.&amp;nbsp; So if I am drilling down into a sub-assembly, the proxy geometry would be the sub-assembly or the part's proxy? Sorry I am not really understanding this proxy stuff. I do know that up to that point the code seems to be working, so the oCompDef is solved. I created a second set of Assembly Document and Definition for the sub-assembly as well, with the wonderfully creative name oCompDef2.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 17:41:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9493718#M75052</guid>
      <dc:creator>jholland3XDLM</dc:creator>
      <dc:date>2020-05-05T17:41:33Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9627592#M75053</link>
      <description>&lt;P&gt;Hi Paul1084&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you to all the guys who share there codes on these forums. Much appreciated. I am trying to learn as much as possible about ilogic code at the moment but its a slow process. Have been using ilogic for several years now and have created the occasional basic one myself.&lt;/P&gt;&lt;P&gt;I used the ilogic code shown above on an .iam in an .idw but am getting error messages with the code as per the attachment.&amp;nbsp; The first posted code in this thread is working on .ipt files in .idw but gives me a random dimension which is not even using the assigned faces as dimension points. Not sure what I'm doing wrong?&lt;/P&gt;&lt;P&gt;What I am trying to achieve is a few basic auto dimensions for a .idw with multiple views. Happy to use the Assign Face method but it would be awesome if an ilogic code could be made to place dims for certain parameters or User Parameters eg. B_L or G_L. This way the dims could be automatically created from CC parts. I have tried using the retrieve dims ilogic method before but that gives to many unwanted dimensions.&lt;/P&gt;&lt;P&gt;Appreciate any help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Cam&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 01:45:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9627592#M75053</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-10T01:45:27Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9628360#M75054</link>
      <description>&lt;P&gt;From those errors, it looks like you aren't successfully getting a reference to your sheet or view. Did you change the name of your drawing views?&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jul 2020 12:02:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9628360#M75054</guid>
      <dc:creator>jdasilvaS39UQ</dc:creator>
      <dc:date>2020-07-10T12:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9660563#M75055</link>
      <description>&lt;P&gt;Can you please send me the working code if possible.&lt;/P&gt;&lt;P&gt;I used code as above but getting this error: "Public member 'Definition' on type 'AssemblyDocument' not found"&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="rishabhshanker_1-1595965804354.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/800612i595870541A457FE8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="rishabhshanker_1-1595965804354.png" alt="rishabhshanker_1-1595965804354.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the code I am using. Please mark where i am wrong. Thanks in advance&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;Doc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Doc&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;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveDocument&lt;/SPAN&gt;.&lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oView&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;DrawingView&lt;/SPAN&gt; = &lt;SPAN&gt;ActiveSheet&lt;/SPAN&gt;.&lt;SPAN&gt;View&lt;/SPAN&gt;(&lt;SPAN&gt;"A"&lt;/SPAN&gt;).&lt;SPAN&gt;View&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oAsmDoc&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyDocument&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oCompDef&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;AssemblyComponentDefinition&lt;/SPAN&gt;

&lt;SPAN&gt;oAsmDoc&lt;/SPAN&gt; = &lt;SPAN&gt;Doc&lt;/SPAN&gt;.&lt;SPAN&gt;ReferencedDocuments&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1)

&lt;FONT color="#800000"&gt;&lt;STRONG&gt;&lt;EM&gt;oCompDef = oAsmDoc.Definition&lt;/EM&gt;  ----- ERROR as mentioned above&lt;/STRONG&gt;&lt;/FONT&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;FPColl&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ObjectCollection&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;OverallColl&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;ObjectCollection&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oText&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Point2d&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;S1&lt;/SPAN&gt; = &lt;SPAN&gt;oCompDef&lt;/SPAN&gt;.&lt;SPAN&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN&gt;"Box"&lt;/SPAN&gt;) ----&lt;STRONG&gt;&lt;FONT color="#800000"&gt;"Box" name of part in assembly&lt;/FONT&gt;&lt;/STRONG&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;S2&lt;/SPAN&gt; = &lt;SPAN&gt;oCompDef&lt;/SPAN&gt;.&lt;SPAN&gt;Occurrences&lt;/SPAN&gt;.&lt;SPAN&gt;ItemByName&lt;/SPAN&gt;(&lt;SPAN&gt;"Box2"&lt;/SPAN&gt;) ----"&lt;STRONG&gt;&lt;FONT color="#800000"&gt;Box2" name of part in assembly&lt;/FONT&gt;&lt;/STRONG&gt;
&lt;SPAN&gt;FPColl&lt;/SPAN&gt; = &lt;SPAN&gt;ThisServer&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateObjectCollection&lt;/SPAN&gt;
&lt;SPAN&gt;OverallColl&lt;/SPAN&gt; = &lt;SPAN&gt;ThisServer&lt;/SPAN&gt;.&lt;SPAN&gt;TransientObjects&lt;/SPAN&gt;.&lt;SPAN&gt;CreateObjectCollection&lt;/SPAN&gt;

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;namedEntities&lt;/SPAN&gt; = &lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;Automation&lt;/SPAN&gt;.&lt;SPAN&gt;GetNamedEntities&lt;/SPAN&gt;(&lt;SPAN&gt;S1&lt;/SPAN&gt;.&lt;SPAN&gt;Definition&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;S1Face&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Face&lt;/SPAN&gt; = &lt;SPAN&gt;namedEntities&lt;/SPAN&gt;.&lt;SPAN&gt;FindEntity&lt;/SPAN&gt;(&lt;SPAN&gt;"Box1Face"&lt;/SPAN&gt;)

&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;S1&lt;/SPAN&gt;.&lt;SPAN&gt;CreateGeometryProxy&lt;/SPAN&gt;(&lt;SPAN&gt;S1Face&lt;/SPAN&gt;, &lt;SPAN&gt;oSketchProxy&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;S1Curve&lt;/SPAN&gt; = &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingCurves&lt;/SPAN&gt;(&lt;SPAN&gt;oSketchProxy&lt;/SPAN&gt;)

&lt;SPAN&gt;oIntent&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN&gt;S1Curve&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1))
&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;OverallColl&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oIntent&lt;/SPAN&gt;)

&lt;SPAN&gt;namedEntities&lt;/SPAN&gt; = &lt;SPAN&gt;iLogicVb&lt;/SPAN&gt;.&lt;SPAN&gt;Automation&lt;/SPAN&gt;.&lt;SPAN&gt;GetNamedEntities&lt;/SPAN&gt;(&lt;SPAN&gt;S2&lt;/SPAN&gt;.&lt;SPAN&gt;Definition&lt;/SPAN&gt;.&lt;SPAN&gt;Document&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;S2Face&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Face&lt;/SPAN&gt; = &lt;SPAN&gt;namedEntities&lt;/SPAN&gt;.&lt;SPAN&gt;FindEntity&lt;/SPAN&gt;(&lt;SPAN&gt;"Box2Face"&lt;/SPAN&gt;)

&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;S2&lt;/SPAN&gt;.&lt;SPAN&gt;CreateGeometryProxy&lt;/SPAN&gt;(&lt;SPAN&gt;S2Face&lt;/SPAN&gt;, &lt;SPAN&gt;oSketchProxy&lt;/SPAN&gt;)
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;S2Curve&lt;/SPAN&gt; = &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingCurves&lt;/SPAN&gt;(&lt;SPAN&gt;oSketchProxy&lt;/SPAN&gt;)

&lt;SPAN&gt;oIntent&lt;/SPAN&gt; = &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;CreateGeometryIntent&lt;/SPAN&gt;(&lt;SPAN&gt;S2Curve&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1))
&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;OverallColl&lt;/SPAN&gt;.&lt;SPAN&gt;Add&lt;/SPAN&gt;(&lt;SPAN&gt;oIntent&lt;/SPAN&gt;)

&lt;SPAN&gt;oText&lt;/SPAN&gt; = &lt;SPAN&gt;ThisServer&lt;/SPAN&gt;.&lt;SPAN&gt;TransientGeometry&lt;/SPAN&gt;.&lt;SPAN&gt;CreatePoint2d&lt;/SPAN&gt;(&lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Center&lt;/SPAN&gt;.&lt;SPAN&gt;X&lt;/SPAN&gt; - &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Width&lt;/SPAN&gt; / 2, &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Center&lt;/SPAN&gt;.&lt;SPAN&gt;Y&lt;/SPAN&gt; - &lt;SPAN&gt;oView&lt;/SPAN&gt;.&lt;SPAN&gt;Height&lt;/SPAN&gt; / 2)

&lt;SPAN&gt;oText&lt;/SPAN&gt;.&lt;SPAN&gt;Y&lt;/SPAN&gt; = &lt;SPAN&gt;oText&lt;/SPAN&gt;.&lt;SPAN&gt;Y&lt;/SPAN&gt; - 1

&lt;SPAN&gt;Call&lt;/SPAN&gt; &lt;SPAN&gt;oSheet&lt;/SPAN&gt;.&lt;SPAN&gt;DrawingDimensions&lt;/SPAN&gt;.&lt;SPAN&gt;GeneralDimensions&lt;/SPAN&gt;.&lt;SPAN&gt;AddLinear&lt;/SPAN&gt;(&lt;SPAN&gt;oText&lt;/SPAN&gt;, &lt;SPAN&gt;OverallColl&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(1), &lt;SPAN&gt;OverallColl&lt;/SPAN&gt;.&lt;SPAN&gt;Item&lt;/SPAN&gt;(2)).&lt;SPAN&gt;CenterText&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jul 2020 19:57:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/9660563#M75055</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-07-28T19:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/11600857#M75056</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;im relatively new to ilogic so I need some help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to add a balloon using ilogic and a named face as a reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;for this I use the standard balloon snippet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;but the named reference face is two assemblys deep. so inventor wont accept the code shown below. (this does work for one assembly deep). so my question is can I create a proxy for the named face in the assembly above it. and then use the proxy in the balloon code.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sjoerdvandereerden_0-1670324694265.png" style="width: 856px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1148956i56B5C1C381AA97B7/image-dimensions/856x77?v=v2" width="856" height="77" role="button" title="sjoerdvandereerden_0-1670324694265.png" alt="sjoerdvandereerden_0-1670324694265.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;inventor doesn't accept this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="sjoerdvandereerden_1-1670324792206.png" style="width: 857px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1148957i9E903D64A37D1897/image-dimensions/857x80?v=v2" width="857" height="80" role="button" title="sjoerdvandereerden_1-1670324792206.png" alt="sjoerdvandereerden_1-1670324792206.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but does accept this&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 11:07:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/11600857#M75056</guid>
      <dc:creator>sjoerd.van.der.eerden</dc:creator>
      <dc:date>2022-12-06T11:07:08Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/11601176#M75057</link>
      <description>&lt;P&gt;I don't have any exact code but you can take what&amp;nbsp;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Paul1084 posted but then recursively search through each suboccurrence of your assembly. Here's a very rough outline&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Sub Main&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Put your main code here&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;Call this function to find your sub assembly/part with the named face&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;SearchForSubassembly(mainassembly.occurrences)&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;End Sub&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;SearchForSubassembly(inputOccs As ComponentOccurrences)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; For Each oOcc In&amp;nbsp;inputOccs &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Check if this is what you're looking for&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If not, keep searching&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SearchForSubassembly(oOcc.SubOccurrences)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; Next&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;End Sub&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 13:21:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/11601176#M75057</guid>
      <dc:creator>jdasilvaS39UQ</dc:creator>
      <dc:date>2022-12-06T13:21:51Z</dc:date>
    </item>
    <item>
      <title>Re: iLogic create dimension using named geometry in idw</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/11601421#M75058</link>
      <description>&lt;P&gt;it turned out my code was fine. the problem was that i was missing two brackets {}.&lt;span class="lia-unicode-emoji" title=":persevering_face:"&gt;😣&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Dec 2022 14:54:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/ilogic-create-dimension-using-named-geometry-in-idw/m-p/11601421#M75058</guid>
      <dc:creator>sjoerd.van.der.eerden</dc:creator>
      <dc:date>2022-12-06T14:54:52Z</dc:date>
    </item>
  </channel>
</rss>

