<?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: Auto edit bulge radius pline to even-odd ? in Visual LISP, AutoLISP and General Customization Forum</title>
    <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7934047#M106063</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is for Lanscape pline.&amp;nbsp; Only need radius bulge&amp;nbsp;to even-odd 0 or 5. Example: 7863 --&amp;gt; 7865, 7862-&amp;gt;7860&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So now it occurs to me -- It would be &lt;EM&gt;far&lt;/EM&gt;&amp;nbsp; simpler to round the &lt;EM&gt;text content&lt;/EM&gt;&amp;nbsp; of the Dimensions to the nearest multiple of .0005 [or of .05 in the original image], rather than change the Polyline routings.&amp;nbsp; There are lots of number-rounding routines on these Forums, and imposing the rounded result on the Dimensions is easy.&amp;nbsp; Would that serve the purpose as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, if you do something&amp;nbsp;to alter the shape of&amp;nbsp;the Polyline, the Dimensions' text content wouldn't update automatically.&amp;nbsp; But with the&amp;nbsp;forced-bulge-factor approach,&amp;nbsp;an altered associative Dimension's updated radius value isn't [except by very rare coincidence] going to be to the right rounding, anyway.&amp;nbsp; So that "drawback" isn't really a disadvantage -- in either case you'd need to run &lt;EM&gt;some&lt;/EM&gt;&amp;nbsp; routine again, either&amp;nbsp;to re-alter the shape of the Polyline, or&amp;nbsp;to re-override the text content of the Dimension.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2018 01:30:47 GMT</pubDate>
    <dc:creator>Kent1Cooper</dc:creator>
    <dc:date>2018-04-16T01:30:47Z</dc:date>
    <item>
      <title>Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932740#M106050</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone have lisp edit&amp;nbsp;bulge radius pline to even-odd.&lt;/P&gt;&lt;P&gt;Pls see attached photo.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/488708i8A75B914F47C3485/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 14 Apr 2018 15:20:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932740#M106050</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-14T15:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932792#M106051</link>
      <description>&lt;P&gt;That seems possible by altering bulge factors in entity data, but I notice one of the odd ones is rounded up and the other down -- more criteria would be needed on which to determine the desired results.&amp;nbsp; And I&amp;nbsp;assume you're aware that true tangency between arc segments would be lost, though with values like these they would remain very close to tangent.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;[And I confess to being curious about what such a thing could possibly be needed for....]&lt;/P&gt;</description>
      <pubDate>Sat, 14 Apr 2018 16:27:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932792#M106051</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-04-14T16:27:00Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932800#M106052</link>
      <description>&lt;P&gt;Thank you for repply.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is for Lanscape pline.&amp;nbsp; Only need radius bulge&amp;nbsp;to even-odd 0 or 5. Example: 7863 --&amp;gt; 7865, 7862-&amp;gt;7860&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 880px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/488715iE198BF163E2758E0/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Apr 2018 16:39:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932800#M106052</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-14T16:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932823#M106053</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It seems to me you cannot both change radii of successive tangent arcs and keep the tangency between them.&lt;/P&gt;</description>
      <pubDate>Sat, 14 Apr 2018 17:00:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932823#M106053</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-04-14T17:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932828#M106054</link>
      <description>&lt;P&gt;Hi Gile,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes i dont need&amp;nbsp;&lt;SPAN&gt;tangent arcs and keep the tangency between them. Dont need keep exactly&amp;nbsp;tangency between them. Only change radius.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 14 Apr 2018 17:13:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932828#M106054</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-14T17:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932956#M106055</link>
      <description>&lt;P&gt;You can try the following routine doing: (editPline (car (entsel "\nSelect Polyline: ")))&lt;/P&gt;
&lt;P&gt;The operation will fail if rounding a radius make it smaller than half the arc chord.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun editPline (pline / roundTo5 asin roundBulge editPlineList elst)

  (defun roundTo5 (x)
    (* 5.
       (fix ((if (minusp x)
	       -
	       +
	     )
	      (/ x 5.)
	      0.5
	    )
       )
    )
  )&lt;BR /&gt;
  (defun asin (n)
    (cond
      ((equal n 1. 1e-9) (/ pi 2.))
      ((equal n -1. 1e-9) (/ pi -2.))
      ((&amp;lt; -1. n 1.)
       (atan n (sqrt (- 1 (expt n 2))))
      )
    )
  )

  (defun tan (a) (/ (sin a) (cos a)))

  (defun roundBulge (chord bulge)
    (tan (/ (asin
	      (/ chord
		 (* 2.
		    (roundTo5
		      (/ chord
			 (* 2. (sin (* 2 (atan bulge))))
		      )
		    )
		 )
	      )
	    )
	    2.
	 )
    )
  )

  (defun editPlineList (lst start)
    (cond
      ((null lst) nil)
      ((= (caar lst) 10)
       (vl-list*
	 (car lst)
	 (cadr lst)
	 (caddr lst)
	 (cons
	   42
	   (roundBulge
	     (distance
	       (cdar lst)
	       (cond
		 ((cdar (vl-member-if '(lambda (x) (= (car x) 10)) (cdr lst))))
		 ((cdr start))
	       )
	     )
	     (cdr (cadddr lst))
	   )
	 )
	 (editPlineList
	   (cddddr lst)
	   (cond (start)
		 ((car lst))
	   )
	 )
       )
      )
      (T (cons (car lst) (editPlineList (cdr lst) start)))
    )
  )

  (if (= "LWPOLYLINE" (cdr (assoc 0 (setq elst (entget pline)))))
    (if	(vl-catch-all-error-p
	  (vl-catch-all-apply 'entmod (list (editPlineList elst nil)))
	)
      (alert "Invalid operation")
    )
  )
)&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Apr 2018 19:43:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7932956#M106055</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-04-14T19:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933030#M106056</link>
      <description>&lt;P&gt;The upper code is wrong with bulges greater then 1 or lower than -1.&lt;/P&gt;
&lt;P&gt;Use the following one instead.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun editPline (pline / roundTo5 asin roundBulge editPlineList elst)

  (defun roundTo5 (x)
    (* 5.
       (fix ((if (minusp x)
	       -
	       +
	     )
	      (/ x 5.)
	      0.5
	    )
       )
    )
  )
  (defun asin (n)
    (cond
      ((equal n 1. 1e-9) (/ pi 2.))
      ((equal n -1. 1e-9) (/ pi -2.))
      ((&amp;lt; -1. n 1.)
       (atan n (sqrt (- 1 (expt n 2))))
      )
    )
  )

  (defun tan (a) (/ (sin a) (cos a)))
  
  (defun roundBulge (chord bulge / alpha result)
    (setq alpha (asin
	      (/ chord
		 (* 2.
		    (roundTo5
		      (/ chord
			 (* 2. (sin (* 2 (atan bulge))))
		      )
		    )
		 )
	      )
	    )
	 )
    (if	(&amp;lt; 1 (abs bulge))
      (setq alpha (+ pi alpha))
    )
    (setq result (tan (/ alpha 2.)))
    (if	(or (&amp;lt; result 0 bulge) (&amp;lt; bulge 0 result))
      (- result)
      result
    )
  )

  (defun editPlineList (lst start)
    (cond
      ((null lst) nil)
      ((= (caar lst) 10)
       (vl-list*
	 (car lst)
	 (cadr lst)
	 (caddr lst)
	 (cons
	   42
	   (if (zerop (cdr (cadddr lst)))
	     0.
	     (roundBulge
	       (distance
		 (cdar lst)
		 (cond
		   ((cdar (vl-member-if '(lambda (x) (= (car x) 10)) (cdr lst))))
		   ((cdr start))
		 )
	       )
	       (cdr (cadddr lst))
	     )
	   )
	 )
	 (editPlineList
	   (cddddr lst)
	   (cond (start)
		 ((car lst))
	   )
	 )
       )
      )
      (T (cons (car lst) (editPlineList (cdr lst) start)))
    )
  )

  (if (= "LWPOLYLINE" (cdr (assoc 0 (setq elst (entget pline)))))
    (if	(vl-catch-all-error-p
	  (vl-catch-all-apply 'entmod (list (editPlineList elst nil)))
	)
      (alert "Invalid operation")
    )
  )
)&lt;/PRE&gt;</description>
      <pubDate>Sat, 14 Apr 2018 21:43:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933030#M106056</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-04-14T21:43:05Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933147#M106057</link>
      <description>&lt;P&gt;Your code&amp;nbsp;exactly what i mean. Very usefull for me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you so much Gile.&amp;nbsp;&lt;img id="heart" class="emoticon emoticon-heart" src="https://forums.autodesk.com/i/smilies/16x16_heart.png" alt="Heart" title="Heart" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;One more point: that is for 1 unit = 1 mm. If 1unit = 1m then i must /1000. Where i modify in your code ?&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;</description>
      <pubDate>Sun, 15 Apr 2018 01:32:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933147#M106057</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-15T01:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933161#M106058</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;PRE&gt;(defun c:test ( / e q a b c r x)
  (if
    (and
      (setq e (ssget "_+.:S:L" '((0 . "LWPOLYLINE") (-4 . "&amp;lt;&amp;gt;") (42 . 0.0))))
      (progn
        (initget 6)
        (setq q (getdist "\nSpecify rounding number: "))
      )
    )
    (progn
      (setq e (vlax-ename-&amp;gt;vla-object (ssname e 0))
            a (vlax-curve-getstartparam e)
            c (vlax-curve-getendparam   e)
      )
      (while (&amp;lt; a c)
        (setq b (vla-getbulge e a))
        (if
          (&amp;gt; (setq r (distance '(0.0 0.0 0.0) (vlax-curve-getsecondderiv e a))) (/ q 2.0))
          (progn
            (setq x (/
                      (* q (fix (+ 0.5 (/ r q))))
                      (distance
                        (vlax-curve-getpointatparam e a)
                        (vlax-curve-getpointatparam e (+ 1.0 a))
                      )
                      0.5
                    )
            )
            (vla-setbulge e a
              (*
                ((if (&amp;lt; (abs b) 1) - +) x (sqrt (- (* x x) 1.0)))
                (if (minusp b) -1 1)
              )
            )
          )
        )
        (setq a (1+ a))
      )
    )
  )
  (princ)
)&lt;/PRE&gt;</description>
      <pubDate>Sun, 15 Apr 2018 01:50:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933161#M106058</guid>
      <dc:creator>phanaem</dc:creator>
      <dc:date>2018-04-15T01:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933169#M106059</link>
      <description>&lt;P&gt;Okey&amp;nbsp;&lt;SPAN class=""&gt;&lt;A href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/314908" target="_self"&gt;phanaem&lt;/A&gt;,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;your code very userfull.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thank you so much.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 02:32:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933169#M106059</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-15T02:32:22Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933308#M106060</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/314908"&gt;@phanaem&lt;/a&gt;, nice code.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 07:16:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933308#M106060</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-04-15T07:16:03Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933727#M106061</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt;wrote:&lt;BR /&gt;&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/314908"&gt;@phanaem&lt;/a&gt;, nice code.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Thanks Gile.&lt;/P&gt;&lt;P&gt;I noticed the most programmers take the bulge definition literally, which is "&lt;SPAN style="color: #414141; font-family: RobotoRegular, Arial, Tahoma, sans-serif; font-size: 14.6667px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 21.2667px; orphans: auto; text-align: left; text-indent: 0px; text-transform: none; white-space: normal; widows: 1; word-spacing: 0px; -webkit-text-stroke-width: 0px; display: inline !important; float: none; background-color: #ffffff;"&gt;the tangent of 1/4 of the included angle for the arc between the selected vertex and the next vertex&lt;/SPAN&gt;".&amp;nbsp; Take a look at this picture. The angle b is half of the arc MB, which is half of the arc AB = a. So the angle b is exactly a/4 and the tangent of b (which is the bulge value) is the distance MC divided by AC. It is much easier to calculate the bulge this way, no need for the trigonometric functions.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="acad_2018-04-15_20-36-47.png" style="width: 960px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/488882i36E4922648C9489A/image-size/large?v=v2&amp;amp;px=999" role="button" title="acad_2018-04-15_20-36-47.png" alt="acad_2018-04-15_20-36-47.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 17:49:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933727#M106061</guid>
      <dc:creator>phanaem</dc:creator>
      <dc:date>2018-04-15T17:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933780#M106062</link>
      <description>&lt;P&gt;Yes, I know what you show here.&lt;/P&gt;
&lt;P&gt;The thing I didn't give enough attention is the second derivative at some parameter of a polyline.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You provided a nice trick anyway.&lt;/P&gt;</description>
      <pubDate>Sun, 15 Apr 2018 19:01:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7933780#M106062</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-04-15T19:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7934047#M106063</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is for Lanscape pline.&amp;nbsp; Only need radius bulge&amp;nbsp;to even-odd 0 or 5. Example: 7863 --&amp;gt; 7865, 7862-&amp;gt;7860&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So now it occurs to me -- It would be &lt;EM&gt;far&lt;/EM&gt;&amp;nbsp; simpler to round the &lt;EM&gt;text content&lt;/EM&gt;&amp;nbsp; of the Dimensions to the nearest multiple of .0005 [or of .05 in the original image], rather than change the Polyline routings.&amp;nbsp; There are lots of number-rounding routines on these Forums, and imposing the rounded result on the Dimensions is easy.&amp;nbsp; Would that serve the purpose as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, if you do something&amp;nbsp;to alter the shape of&amp;nbsp;the Polyline, the Dimensions' text content wouldn't update automatically.&amp;nbsp; But with the&amp;nbsp;forced-bulge-factor approach,&amp;nbsp;an altered associative Dimension's updated radius value isn't [except by very rare coincidence] going to be to the right rounding, anyway.&amp;nbsp; So that "drawback" isn't really a disadvantage -- in either case you'd need to run &lt;EM&gt;some&lt;/EM&gt;&amp;nbsp; routine again, either&amp;nbsp;to re-alter the shape of the Polyline, or&amp;nbsp;to re-override the text content of the Dimension.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 01:30:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7934047#M106063</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-04-16T01:30:47Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7934109#M106064</link>
      <description>&lt;P&gt;Yep i know that.&lt;/P&gt;&lt;P&gt;That is process convert sketch (jpg concept) to drawing of architects. She's draw curve by a lot of pline. So she can not draw exactly right now because very slow, only draw&amp;nbsp;&lt;SPAN&gt;approach. If you draw exactly one by one cuver then slowly. When finish just use lisp&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/314908"&gt;@phanaem&lt;/a&gt;&amp;nbsp;fix exactly valua radius by one command (i modifed for multi object). Quickly and exactly. &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks for your solution.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 02:53:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7934109#M106064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-16T02:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7934259#M106065</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That is for Lanscape pline.&amp;nbsp; Only need radius bulge&amp;nbsp;to even-odd 0 or 5. Example: 7863 --&amp;gt; 7865, 7862-&amp;gt;7860&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;So now it occurs to me -- It would be &lt;EM&gt;far&lt;/EM&gt;&amp;nbsp; simpler to round the &lt;EM&gt;text content&lt;/EM&gt;&amp;nbsp; of the Dimensions to the nearest multiple of .0005 [or of .05 in the original image], rather than change the Polyline routings.&amp;nbsp; There are lots of number-rounding routines on these Forums, and imposing the rounded result on the Dimensions is easy.&amp;nbsp; Would that serve the purpose as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, if you do something&amp;nbsp;to alter the shape of&amp;nbsp;the Polyline, the Dimensions' text content wouldn't update automatically.&amp;nbsp; But with the&amp;nbsp;forced-bulge-factor approach,&amp;nbsp;an altered associative Dimension's updated radius value isn't [except by very rare coincidence] going to be to the right rounding, anyway.&amp;nbsp; So that "drawback" isn't really a disadvantage -- in either case you'd need to run &lt;EM&gt;some&lt;/EM&gt;&amp;nbsp; routine again, either&amp;nbsp;to re-alter the shape of the Polyline, or&amp;nbsp;to re-override the text content of the Dimension.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This could be easily done without forcing the dimension text.&lt;/P&gt;
&lt;P&gt;You can simply define a dimension style with DIMDEC = 0 and DIMRND = 5&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 05:58:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7934259#M106065</guid>
      <dc:creator>_gile</dc:creator>
      <dc:date>2018-04-16T05:58:37Z</dc:date>
    </item>
    <item>
      <title>Re: Auto edit bulge radius pline to even-odd ?</title>
      <link>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7935180#M106066</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/109424"&gt;@_gile&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt; wrote:&lt;HR /&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;
&lt;P&gt;So now it occurs to me -- It would be &lt;EM&gt;far&lt;/EM&gt;&amp;nbsp; simpler to round the &lt;EM&gt;text content&lt;/EM&gt;&amp;nbsp; of the Dimensions to the nearest multiple of .0005 [or of .05 in the original image], rather than change the Polyline routings.&amp;nbsp; ....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;This could be easily done without forcing the dimension text.&lt;/P&gt;
&lt;P&gt;You can simply define a dimension style with DIMDEC = 0 and DIMRND = 5&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;True -- I think I was over-hastily picturing rounding only being able to go to&amp;nbsp;any number at each decimal place, so that you could round to 2 decimal places and get X.04 or X.05 or X.06, but couldn't limit it to just 0 and 5 endings.&amp;nbsp; But yes, you can.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They would want DIMDEC = &lt;STRONG&gt;2&lt;/STRONG&gt; and DIMRND = &lt;STRONG&gt;0.05&lt;/STRONG&gt; in one example, and DIMDEC =&amp;nbsp;&lt;STRONG&gt;4&lt;/STRONG&gt; and DIMRND = &lt;STRONG&gt;0.0005&lt;/STRONG&gt; in the other.&amp;nbsp; Unless there's some reason they actually need the Polyline bulges to be truly at those rounded radii [hard to imagine for the example situation], that's&amp;nbsp;the no-code-necessary solution.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 13:13:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/auto-edit-bulge-radius-pline-to-even-odd/m-p/7935180#M106066</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-04-16T13:13:20Z</dc:date>
    </item>
  </channel>
</rss>

