<?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: Curve Length as Reference Parameters in Rectangular Pattern in Inventor Programming Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645485#M28769</link>
    <description>&lt;P&gt;Ok it would probably look something more like this&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&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;Document&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oRPF&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;RectangularPatternFeature&lt;/SPAN&gt; = _
&lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;Features&lt;/SPAN&gt;.&lt;SPAN&gt;RectangularPatternFeatures&lt;/SPAN&gt;(1)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oPath&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Path&lt;/SPAN&gt; = &lt;SPAN&gt;oRPF&lt;/SPAN&gt;.&lt;SPAN&gt;Definition&lt;/SPAN&gt;.&lt;SPAN&gt;XDirectionEntity&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oLine&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;LineSegment&lt;/SPAN&gt; = &lt;SPAN&gt;oPath&lt;/SPAN&gt;(1).&lt;SPAN&gt;Curve&lt;/SPAN&gt;

&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;MeasureTools&lt;/SPAN&gt;.&lt;SPAN&gt;GetMinimumDistance&lt;/SPAN&gt;(&lt;SPAN&gt;oLine&lt;/SPAN&gt;.&lt;SPAN&gt;StartPoint&lt;/SPAN&gt;, &lt;SPAN&gt;oLine&lt;/SPAN&gt;.&lt;SPAN&gt;EndPoint&lt;/SPAN&gt;))

&lt;SPAN&gt;'oLine.Evaluator.GetParamExtents(MinParam, MaxParam)&lt;/SPAN&gt;
&lt;SPAN&gt;'oLine.Evaluator.GetLengthAtParam(MinParam, MaxParam, oLength)&lt;/SPAN&gt;
&lt;SPAN&gt;'MessageBox.Show(oLength)&lt;/SPAN&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 28 Dec 2022 17:57:57 GMT</pubDate>
    <dc:creator>dalton98</dc:creator>
    <dc:date>2022-12-28T17:57:57Z</dc:date>
    <item>
      <title>Curve Length as Reference Parameters in Rectangular Pattern</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11644764#M28765</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I first tried to solve this problem on the general discussion forum, but I was instructed to try here anyway.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have an adaptive part.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how I can use curve Length value from the Pattern feature for some other feature or as a linked value?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This value does not exist in Reference Parameters, nor is it in Model Parameters and User Parameters, but that curve length exists, the value is also displayed in gray.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to use that length with iLogic?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="curveL.jpg" style="width: 422px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1156632i15093801A758AAC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="curveL.jpg" alt="curveL.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 08:39:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11644764#M28765</guid>
      <dc:creator>kresh.bell</dc:creator>
      <dc:date>2022-12-28T08:39:14Z</dc:date>
    </item>
    <item>
      <title>Re: Curve Length as Reference Parameters in Rectangular Pattern</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645168#M28766</link>
      <description>&lt;P&gt;Hello. I messed around with it for a bit and what I think your after is the X/Y 'DirectionEntity'. The problem however is the edge can be overridden if it is part of the pattern. In that case you will have half the value. So ideally you would need to create a separate sketch to pattern off of.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&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;Document&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oRPF&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;RectangularPatternFeature&lt;/SPAN&gt; = _
&lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;Features&lt;/SPAN&gt;.&lt;SPAN&gt;RectangularPatternFeatures&lt;/SPAN&gt;(1)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oEdge&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Edge&lt;/SPAN&gt; = &lt;SPAN&gt;oRPF&lt;/SPAN&gt;.&lt;SPAN&gt;Definition&lt;/SPAN&gt;.&lt;SPAN&gt;XDirectionEntity&lt;/SPAN&gt;

&lt;SPAN&gt;oEdge&lt;/SPAN&gt;.&lt;SPAN&gt;Evaluator&lt;/SPAN&gt;.&lt;SPAN&gt;GetParamExtents&lt;/SPAN&gt;(&lt;SPAN&gt;MinParam&lt;/SPAN&gt;, &lt;SPAN&gt;MaxParam&lt;/SPAN&gt;)

&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;MaxParam&lt;/SPAN&gt; - &lt;SPAN&gt;MinParam&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 14:17:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645168#M28766</guid>
      <dc:creator>dalton98</dc:creator>
      <dc:date>2022-12-28T14:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: Curve Length as Reference Parameters in Rectangular Pattern</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645380#M28767</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I didn't quite understand you, but when I run your iLogic I get this&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="iLogic rule 01.jpg" style="width: 392px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1156721i4278EC638CB43D1A/image-size/large?v=v2&amp;amp;px=999" role="button" title="iLogic rule 01.jpg" alt="iLogic rule 01.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 16:47:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645380#M28767</guid>
      <dc:creator>kresh.bell</dc:creator>
      <dc:date>2022-12-28T16:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: Curve Length as Reference Parameters in Rectangular Pattern</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645465#M28768</link>
      <description>&lt;P&gt;What is the Direction or 'Curve Length' based off of? I was assuming it was an Edge. It is some kind of GeometryIntent then since the other options dont have a 'Curve Length'&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="daltonparrish_1-1672249312302.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1156731iE11017DB5811D3C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="daltonparrish_1-1672249312302.png" alt="daltonparrish_1-1672249312302.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe try searching for its ObjectType&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;oRPF&lt;/SPAN&gt;.&lt;SPAN&gt;Definition&lt;/SPAN&gt;.&lt;SPAN&gt;XDirectionEntity&lt;/SPAN&gt;.&lt;SPAN&gt;Type&lt;/SPAN&gt;.&lt;SPAN&gt;ToString&lt;/SPAN&gt;)&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 17:45:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645465#M28768</guid>
      <dc:creator>dalton98</dc:creator>
      <dc:date>2022-12-28T17:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Curve Length as Reference Parameters in Rectangular Pattern</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645485#M28769</link>
      <description>&lt;P&gt;Ok it would probably look something more like this&lt;/P&gt;&lt;PRE&gt;&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oDoc&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;Document&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oRPF&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;RectangularPatternFeature&lt;/SPAN&gt; = _
&lt;SPAN&gt;oDoc&lt;/SPAN&gt;.&lt;SPAN&gt;ComponentDefinition&lt;/SPAN&gt;.&lt;SPAN&gt;Features&lt;/SPAN&gt;.&lt;SPAN&gt;RectangularPatternFeatures&lt;/SPAN&gt;(1)

&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oPath&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;Path&lt;/SPAN&gt; = &lt;SPAN&gt;oRPF&lt;/SPAN&gt;.&lt;SPAN&gt;Definition&lt;/SPAN&gt;.&lt;SPAN&gt;XDirectionEntity&lt;/SPAN&gt;
&lt;SPAN&gt;Dim&lt;/SPAN&gt; &lt;SPAN&gt;oLine&lt;/SPAN&gt; &lt;SPAN&gt;As&lt;/SPAN&gt; &lt;SPAN&gt;LineSegment&lt;/SPAN&gt; = &lt;SPAN&gt;oPath&lt;/SPAN&gt;(1).&lt;SPAN&gt;Curve&lt;/SPAN&gt;

&lt;SPAN&gt;MessageBox&lt;/SPAN&gt;.&lt;SPAN&gt;Show&lt;/SPAN&gt;(&lt;SPAN&gt;ThisApplication&lt;/SPAN&gt;.&lt;SPAN&gt;MeasureTools&lt;/SPAN&gt;.&lt;SPAN&gt;GetMinimumDistance&lt;/SPAN&gt;(&lt;SPAN&gt;oLine&lt;/SPAN&gt;.&lt;SPAN&gt;StartPoint&lt;/SPAN&gt;, &lt;SPAN&gt;oLine&lt;/SPAN&gt;.&lt;SPAN&gt;EndPoint&lt;/SPAN&gt;))

&lt;SPAN&gt;'oLine.Evaluator.GetParamExtents(MinParam, MaxParam)&lt;/SPAN&gt;
&lt;SPAN&gt;'oLine.Evaluator.GetLengthAtParam(MinParam, MaxParam, oLength)&lt;/SPAN&gt;
&lt;SPAN&gt;'MessageBox.Show(oLength)&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Dec 2022 17:57:57 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645485#M28769</guid>
      <dc:creator>dalton98</dc:creator>
      <dc:date>2022-12-28T17:57:57Z</dc:date>
    </item>
    <item>
      <title>Re: Curve Length as Reference Parameters in Rectangular Pattern</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645510#M28770</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;something is wrong&lt;/P&gt;&lt;P&gt;Most likely, I did not explain well.&lt;/P&gt;&lt;P&gt;I have an assembly that I use as a template for iCopy (see attch). Everything works ok. But I have a "quantity" parameter. The problem starts when I want to add to that assembly parts that I want to duplicate with the pattern feature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 18:10:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645510#M28770</guid>
      <dc:creator>kresh.bell</dc:creator>
      <dc:date>2022-12-28T18:10:32Z</dc:date>
    </item>
    <item>
      <title>Re: Curve Length as Reference Parameters in Rectangular Pattern</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645667#M28771</link>
      <description>&lt;P&gt;We're still using Inventor 2022 so I cant view it. The length has to be based off something though, cant you just find that line/curve and dimension it to make a parameter then link that parameter value?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry if I'm not understanding, havn't worked with iCopy before.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2022 20:10:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/11645667#M28771</guid>
      <dc:creator>dalton98</dc:creator>
      <dc:date>2022-12-28T20:10:06Z</dc:date>
    </item>
    <item>
      <title>Re: Curve Length as Reference Parameters in Rectangular Pattern</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/13721261#M176030</link>
      <description>&lt;P&gt;This should automatically make a ref para. So you can use an equation to get the ... Qty Value. Above. Did you ever get an ilogic that actually works? Same problem or very similar here!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Jul 2025 14:34:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-forum/curve-length-as-reference-parameters-in-rectangular-pattern/m-p/13721261#M176030</guid>
      <dc:creator>t_fransman</dc:creator>
      <dc:date>2025-07-11T14:34:53Z</dc:date>
    </item>
  </channel>
</rss>

