<?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: Round coordinates in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662242#M85187</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks for the feedback&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I did not manually calculate the expected coordinates.&lt;BR /&gt;I got the values ​​for the Arc function using (entget (car (entsel))) on a drawn arc.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;And the expected values ​​using (getpoint) to compare with the created arc.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;That's why I called it ESPECTED and I thought the values ​​would be the same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 02 Jun 2025 18:41:12 GMT</pubDate>
    <dc:creator>s_velasquez</dc:creator>
    <dc:date>2025-06-02T18:41:12Z</dc:date>
    <item>
      <title>Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662163#M85185</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I used the Arc method to generate 2 arcs.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt; It turns out that the endpoints of the arcs are different than expected.&lt;BR /&gt;Below are the values ​​passed to the method:&lt;BR /&gt;"center": [ -126.429, -126.429, 0.0 ],&lt;BR /&gt;"radius": 177.4082,&lt;BR /&gt;"startAngle": 0.149527,&lt;BR /&gt;"endAngle": 1.42127&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt; public static Arc CreateArc(Point3d center, double radius, double startAngle, double endAngle)
  {
      return new Arc(center, radius, startAngle, endAngle);
  }&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Values ​​obtained and expected at the end points of the arcs&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;//Arch created&lt;BR /&gt;EndPoint(-100.001 48.9996 0.0)&lt;BR /&gt;//Expected&lt;BR /&gt;EndPoint(-100.0 49.0 0.0)&lt;/P&gt;&lt;P&gt;Arch created&lt;BR /&gt;EndPoint(-100.001 -49.0004 0.0)&lt;/P&gt;&lt;P&gt;//Expected&lt;BR /&gt;EndPoint(-100.0 -49.0 0.0)&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Arch created&lt;BR /&gt;EndPoint(48.9996 -100.0 0.0)&lt;BR /&gt;//Expected&lt;BR /&gt;EndPoint(49.0 -100.0 0.0)&lt;/P&gt;&lt;P&gt;// Created&lt;BR /&gt;EndPoint(-49.0005 -100.0 0.0)&lt;BR /&gt;// Espected&lt;BR /&gt;EndPoint(-49.0 -100.0 0.0)&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;These differences are expected&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 17:51:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662163#M85185</guid>
      <dc:creator>s_velasquez</dc:creator>
      <dc:date>2025-06-02T17:51:40Z</dc:date>
    </item>
    <item>
      <title>Re: Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662198#M85186</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5680124"&gt;@s_velasquez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just because you &lt;EM&gt;EXPECT&lt;/EM&gt; a result, does not mean it to be true. Did you calculate, by hand, the expected coordinates given your input values? Math is a universal language.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you &lt;EM&gt;DESIRE&lt;/EM&gt; your expected result, then perhaps the original method used to get the "input values" of your arc was not sufficient to achieve your end result (maybe precision was lost somewhere).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It appears that the Arc function is working properly given your inputs.&lt;/P&gt;&lt;P&gt;Does that make sense?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;~DD&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 18:16:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662198#M85186</guid>
      <dc:creator>CodeDing</dc:creator>
      <dc:date>2025-06-02T18:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662242#M85187</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks for the feedback&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I did not manually calculate the expected coordinates.&lt;BR /&gt;I got the values ​​for the Arc function using (entget (car (entsel))) on a drawn arc.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;And the expected values ​​using (getpoint) to compare with the created arc.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;That's why I called it ESPECTED and I thought the values ​​would be the same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 18:41:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662242#M85187</guid>
      <dc:creator>s_velasquez</dc:creator>
      <dc:date>2025-06-02T18:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662297#M85188</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5680124"&gt;@s_velasquez&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Thanks for the feedback&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I did not manually calculate the expected coordinates.&lt;BR /&gt;I got the values ​​for the Arc function using (entget (car (entsel))) on a drawn arc.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;And the expected values ​​using (getpoint) to compare with the created arc.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;That's why I called it ESPECTED and I thought the values ​​would be the same.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When LISP displays doubles on the console, it rounds them to 5 or 6 places.&lt;/P&gt;&lt;P&gt;To see a more precise representation of a double, pass it to (rtos &amp;lt;value&amp;gt; 2 12).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For points, you can use this&amp;nbsp;(courtesy of ChatGPT):&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;(defun point-to-string (point luprec)
   (strlcat ", "
      (mapcar 
         '(lambda (o) 
             (rtos o 2 luprec)
          )
          point
      )
   )
)

(defun strlcat (delim strlst)
   (apply 'strcat
      (cons 
         (car strlst)
         (mapcar
           '(lambda (s)
               (strcat delim s)
            )
            (cdr strlst)
         )
      )
   )
)

(defun C:PRINTCEN ( / e)
   (if (setq e (entsel "\nPick circle: "))
      (print (point-to-string (cdr (assoc 10 (entget (car e)))) 15))
   )
   (princ)
)&lt;/LI-CODE&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>Mon, 02 Jun 2025 22:59:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662297#M85188</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-06-02T22:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662313#M85189</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5680124"&gt;@s_velasquez&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After calculating manually, we can confirm that the numbers provided to you are correct.&lt;/P&gt;&lt;P&gt;I would heed&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;&amp;nbsp;'s advice and reconsider how you achieved your initial input values. Looks like we are dealing with a loss of significant digits here.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is the manual calculation:&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Start Point
x = cos(θStartAng) * radius + centerX
x = cos(0.149527) * 177.4082 + -126.429
x = cos(0.149527) * 177.4082 + -126.429
x = 0.98884165156168642801442696341599 * 177.4082 + -126.429
x = 175.4286174885859781584690616111 + -126.429
x = 48.999617488585978158469061611097
x = 48.9996
y = sin(θStartAng) * radius + centerY
y = sin(0.149527) * 177.4082 + -126.429
y = 0.14897042705435306981229529448824 * 177.4082 + -126.429
y = 26.428575316944080279873646063628 + -126.429
y = -100.00042468305591972012635393637
y = -100.0004
[48.9996,-100.0004]&lt;/LI-CODE&gt;&lt;LI-CODE lang="general"&gt;End Point
x = cos(θEndAng) * radius + centerX
x = cos(1.42127) * 177.4082 + -126.429
x = 0.14896976136107304598794587223777 * 177.4082 + -126.429
x = 26.428457217497519157238698891133 + -126.429
x = 26.428457217497519157238698891133 + -126.429
x = -100.00054278250248084276130110887
x = -100.0005
y = sin(θEndAng) * radius + centerY
y = sin(1.42127) * 177.4082 + -126.429
y = 0.98884175184911409976453294502209 * 177.4082 + -126.429
y = 175.42863528039800403384621361707 + -126.429
y = 48.999635280398004033846213617068
y = 48.9996
[-100.0005,48.9996]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;~DD&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 19:15:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662313#M85189</guid>
      <dc:creator>CodeDing</dc:creator>
      <dc:date>2025-06-02T19:15:53Z</dc:date>
    </item>
    <item>
      <title>Re: Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662393#M85190</link>
      <description>&lt;P&gt;Tanks,&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;To get the values ​​for the 'Arc' function I also used vlax-dump-object, in the drawing of an arc&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;To get the values ​​for the 'Arc' function I also used vlax-dump-object, in the drawing of an arc.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Select object:&lt;BR /&gt;; IAcadArc: AutoCAD Arc Interface&lt;BR /&gt;; Property values:&lt;BR /&gt;; Application (RO) = #&amp;lt;VLA-OBJECT IAcadApplication 00007ff7157ca058&amp;gt;&lt;BR /&gt;; ArcLength (RO) = 225.617&lt;BR /&gt;; Area (RO) = 4974.83&lt;BR /&gt;; Center = (-126.429 -126.429 0.0)&lt;BR /&gt;; Document (RO) = #&amp;lt;VLA-OBJECT IAcadDocument 0000013a9fe99448&amp;gt;&lt;/P&gt;&lt;P&gt;; EndAngle = 1.42127&lt;BR /&gt;; EndPoint (RO) = (-100.0 49.0 0.0)&lt;/P&gt;&lt;P&gt;; EntityTransparency = "ByLayer"&lt;BR /&gt;; Handle (RO) = "B50"&lt;BR /&gt;; HasExtensionDictionary (RO) = 0&lt;BR /&gt;; Hyperlinks (RO) = #&amp;lt;VLA-OBJECT IAcadHyperlinks 0000013a833597c8&amp;gt;&lt;BR /&gt;; Layer = "SGC-Conexoes (Linhas Externas)"&lt;BR /&gt;; Linetype = "ByLayer"&lt;BR /&gt;; LinetypeScale = 1.0&lt;BR /&gt;; Lineweight = -1&lt;BR /&gt;; Material = "ByLayer"&lt;BR /&gt;; Normal = (0.0 0.0 1.0)&lt;BR /&gt;; ObjectID (RO) = 53&lt;BR /&gt;; ObjectName (RO) = "AcDbArc"&lt;BR /&gt;; OwnerID (RO) = 54&lt;BR /&gt;; PlotStyleName = "ByLayer"&lt;/P&gt;&lt;P&gt;; Radius = 177.408&lt;/P&gt;&lt;P&gt;; StartAngle = 0.149527&lt;BR /&gt;; StartPoint (RO) = (49.0 -100.0 0.0)&lt;/P&gt;&lt;P&gt;; Thickness = 0.0&lt;BR /&gt;; TotalAngle (RO) = 1.27174&lt;BR /&gt;; TrueColor = #&amp;lt;VLA-OBJECT IAcadAcCmColor 0000013a9bbb4fb0&amp;gt;&lt;BR /&gt;; Visible = -1&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;From what I saw in &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4476837"&gt;@ActivistInvestor&lt;/a&gt;'s post this is not the best way.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;I need to find the best way to obtain this data.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 20:20:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662393#M85190</guid>
      <dc:creator>s_velasquez</dc:creator>
      <dc:date>2025-06-02T20:20:03Z</dc:date>
    </item>
    <item>
      <title>Re: Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662553#M85191</link>
      <description>&lt;LI-CODE lang="lisp"&gt;(defun c:ARCINFO ( / pt2txt eSS eArc center radius startAng endAng startPt endPt str fName f)
  (defun pt2txt (pt / )
    (strcat
      "("
      (substr
        (apply 'strcat
          (mapcar
           '(lambda (n) (strcat " " (rtos n 2 15)))
            pt
          )
        )
        2
      )
      ")"
    )
  )
  (if (not (setq eSS (ssget "_+.:E:S" '((0 . "ARC")))))
    (progn (alert (princ "\nMust select ARC entity only.")) (exit))
  );if
  (setq eArc (vlax-ename-&amp;gt;vla-object (ssname eSS 0)))
  (setq center   (vlax-get eArc 'Center)
        radius   (vlax-get eArc 'Radius)
        startAng (vlax-get eArc 'StartAngle)
        endAng   (vlax-get eArc 'EndAngle)
        startPt  (vlax-get eArc 'StartPoint)
        endPt    (vlax-get eArc 'EndPoint)
  );setq
  ;; Convert to Strings
  (setq center (pt2txt center)
        radius   (rtos radius 2 15)
        startAng (rtos startAng 2 15)
        endAng   (rtos endAng 2 15)
        startPt  (pt2txt startPt)
        endPt    (pt2txt endPt)
  );setq
  ;; Create string for file
  (setq str
    (strcat
      "Selected ARC Information"
      "\nCenter = " center
      "\nRadius = " radius
      "\nStart Angle [rad] = " startAng
      "\nEnd Angle   [rad] = " endAng
      "\nStart Point = " startPt
      "\nEnd Point   = " endPt
    );strcat
  );setq
  (setq fName (vl-filename-mktemp nil nil ".txt"))
  (setq f (open fName "w"))
  (write-line str f)
  (close f)
  (startapp "notepad" fName)
  (prompt "\nARCINFO Complete.")
  (princ)
)&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 02 Jun 2025 22:38:51 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662553#M85191</guid>
      <dc:creator>CodeDing</dc:creator>
      <dc:date>2025-06-02T22:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662562#M85192</link>
      <description>&lt;P&gt;Keep in mind that a double is limited to about 15 places of precision on both sides of the decimal point so displaying any more digits than that is entirely pointless and meaningless.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 23:10:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662562#M85192</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-06-02T23:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662572#M85193</link>
      <description>&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;My idea of ​​the best is exactly what you posted.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;Thanks to your code I can get the data to create an arc exactly like the one selected.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;I am using these values ​​in a .json file and the result is what I am looking for.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;Thank you very much for your help and also for the other answers.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 02 Jun 2025 23:00:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662572#M85193</guid>
      <dc:creator>s_velasquez</dc:creator>
      <dc:date>2025-06-02T23:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: Round coordinates</title>
      <link>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662597#M85195</link>
      <description>&lt;P&gt;If you need to convert to Json, you can use managed code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;public static class Point3dExtensions
{
    public static string ToJsonString(this Point3d point)
    {
        var coords = point.ToArray()
          .Select(o =&amp;gt; Converter.DistanceToString(o,
              DistanceUnitFormat.Decimal, 15).TrimEnd('0'))
          .ToArray();

        return $"{{\"X\":{coords[0]},\"Y\":{coords[1]},\"Z\":{coords[2]}}}";
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Jun 2025 00:06:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/round-coordinates/m-p/13662597#M85195</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2025-06-03T00:06:25Z</dc:date>
    </item>
  </channel>
</rss>

