<?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: Calculating with reference parameters (parametric construction) in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/calculating-with-reference-parameters-parametric-construction/m-p/6010201#M294605</link>
    <description>&lt;P&gt;Hi Kent,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your idea. But in my case it is a closed polyline with arcs. Lengthen is only possible for simpler objects.&lt;/P&gt;&lt;P&gt;Attached you see my idea:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/214241iC5379F501784CB46/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2016-01-27 21_53_28.png" title="2016-01-27 21_53_28.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is should be a parametric construction, where you need to input only the total length and the two radius, and the total length is the sum of the two lines + the radian measure (in other words "true length" or "unrolling") of the arcs (DIA * PI&amp;nbsp; / 360 * ALPHA).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The total length must be a multiple of e.g. 325. But this is a different problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? - Inventor can do it easiliy!!! (But the Autodesk Developers do not speak to each other.... thats a big pitty!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;Kay&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jan 2016 21:04:43 GMT</pubDate>
    <dc:creator>Kay_Rethmeier</dc:creator>
    <dc:date>2016-01-27T21:04:43Z</dc:date>
    <item>
      <title>Calculating with reference parameters (parametric construction)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/calculating-with-reference-parameters-parametric-construction/m-p/6008629#M294603</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm doing a parametric construction creating a path for a chain. Therefore I need the calculate with a radian dimension to calculate the pathlength.&lt;/P&gt;&lt;P&gt;So I need to calculate with a reference paramter. Inventor can do this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way in AutoCAD I don't to enable calculating with these refence values?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;Kay&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 13:06:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/calculating-with-reference-parameters-parametric-construction/m-p/6008629#M294603</guid>
      <dc:creator>Kay_Rethmeier</dc:creator>
      <dc:date>2016-01-27T13:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating with reference parameters (parametric construction)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/calculating-with-reference-parameters-parametric-construction/m-p/6008766#M294604</link>
      <description>&lt;P&gt;What kind of object is the path? &amp;nbsp;Because of your mention of radians, I assume something like an Arc. &amp;nbsp;If that's what it is, can you use &lt;STRONG&gt;Lengthen&lt;/STRONG&gt; with its &lt;STRONG&gt;T&lt;/STRONG&gt;otal-length option? &amp;nbsp;No calculations required, no reference of the current length to determine how much to change it for the desired length, etc. &amp;nbsp;The length of any object type that &lt;EM&gt;has&lt;/EM&gt; length can be found with (vlax-curve-...) functions without dealing with radians, and whether straight or curved or a combination, etc.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you post an image or sample drawing showing what you're trying to do?&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 14:06:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/calculating-with-reference-parameters-parametric-construction/m-p/6008766#M294604</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2016-01-27T14:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating with reference parameters (parametric construction)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/calculating-with-reference-parameters-parametric-construction/m-p/6010201#M294605</link>
      <description>&lt;P&gt;Hi Kent,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks for your idea. But in my case it is a closed polyline with arcs. Lengthen is only possible for simpler objects.&lt;/P&gt;&lt;P&gt;Attached you see my idea:&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://forums.autodesk.com/t5/image/serverpage/image-id/214241iC5379F501784CB46/image-size/original?v=mpbl-1&amp;amp;px=-1" alt="2016-01-27 21_53_28.png" title="2016-01-27 21_53_28.png" border="0" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is should be a parametric construction, where you need to input only the total length and the two radius, and the total length is the sum of the two lines + the radian measure (in other words "true length" or "unrolling") of the arcs (DIA * PI&amp;nbsp; / 360 * ALPHA).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The total length must be a multiple of e.g. 325. But this is a different problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas? - Inventor can do it easiliy!!! (But the Autodesk Developers do not speak to each other.... thats a big pitty!)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;Kay&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 21:04:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/calculating-with-reference-parameters-parametric-construction/m-p/6010201#M294605</guid>
      <dc:creator>Kay_Rethmeier</dc:creator>
      <dc:date>2016-01-27T21:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: Calculating with reference parameters (parametric construction)</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/calculating-with-reference-parameters-parametric-construction/m-p/6010512#M294606</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/679220"&gt;@Kay_Rethmeier&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;... it is a closed polyline with arcs. ..., and the total length is the sum of the two lines + the radian measure (in other words "true length" or "unrolling") of the arcs ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The total length of a closed Polyline&amp;nbsp;can be obtained &lt;EM&gt;without&lt;/EM&gt; any such calculations, via either:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(vlax-curve-getDistAtParam poly (vlax-curve-getEndParam poly))&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with 'poly' being a variable containing &lt;EM&gt;either&lt;/EM&gt;&amp;nbsp;the Polyline&amp;nbsp;entity name &lt;EM&gt;or&lt;/EM&gt;&amp;nbsp;its conversion to a VLA object, or:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;(vla-get-Length poly)&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;with 'poly' being the Polyline &lt;EM&gt;as a VLA object only&lt;/EM&gt; [does&amp;nbsp;&lt;EM&gt;not&lt;/EM&gt;&amp;nbsp;work with its entity name].&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the &lt;STRONG&gt;(vlax-ename-&amp;gt;vla-object)&lt;/STRONG&gt; function for the conversion to a VLA object, if you choose to go that route.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;EDIT: &amp;nbsp;That (vlax-curve-getDistAtParam...) function will give you the overall length of &lt;EM&gt;any&lt;/EM&gt; 'curve'-class object that &lt;EM&gt;has&lt;/EM&gt;&amp;nbsp;a finite length, whether open or closed [Line, Arc, Circle, any kind of Polyline, Ellipse, Spline]. &amp;nbsp;Not all of those object types &lt;EM&gt;have&lt;/EM&gt; a VLA Property &lt;EM&gt;called&lt;/EM&gt; 'Length' as Polylines do [e.g., for an Arc it's called 'ArcLength' and for a Circle it's called 'Circumference'], so that's a good &lt;EM&gt;universal&lt;/EM&gt; length finder.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jan 2016 23:07:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/calculating-with-reference-parameters-parametric-construction/m-p/6010512#M294606</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2016-01-27T23:07:41Z</dc:date>
    </item>
  </channel>
</rss>

