<?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>idea Grid API en Revit Ideas</title>
    <link>https://forums.autodesk.com/t5/revit-ideas/grid-api/idi-p/9683318</link>
    <description>&lt;P&gt;It would be usefull if the API would cover more &lt;STRONG&gt;DB.Grid&lt;/STRONG&gt; methods and properties, like setting points for the leader and working with view dependant grid representation.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EugenijusJanuskevicius6305_1-1597082117221.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/805683i68C42E6F8CAB2EBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EugenijusJanuskevicius6305_1-1597082117221.png" alt="EugenijusJanuskevicius6305_1-1597082117221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, the 2020 API allows us to adjust grind ends (points 1 and 2) via &lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;ViewSpecific&lt;/STRONG&gt;, viewport)&lt;/EM&gt;, add leaders (3) and adjust bubbles (points 4 and 5 ), but is impossible to adjust the ends (points 9 and 10) of split grid line segments (6, 7 and &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@35E1EB867C0FE4FC18284C52F598D39F/emoticons/1f60e.png" alt=":cara_con_gafas_de_sol:" title=":cara_con_gafas_de_sol:" /&gt; - this adjustment is available via UI only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would expect from the API:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;ViewSpecific&lt;/STRONG&gt;, viewport)&lt;/EM&gt; should return al list of segments 6, 7 an 8 , while &lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;Model&lt;/STRONG&gt;)&lt;/EM&gt; should return line segment from point 1 to the point 2, maybe also indicating the Z values for the Datum plane, like min(Z) for line End0 and max(Z) for line End1.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;All the line segments ends should be gettable and settable. The mid-segment ("7") could be settable automagically when setting segments "6" and "8".&lt;/P&gt;&lt;P&gt;As an alternative approach. &lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;ViewSpecific&lt;/STRONG&gt;, viewport)&lt;/EM&gt; could return an ordered list of DB.XYZ points, starting from End0 and &lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;Model&lt;/STRONG&gt;)&lt;/EM&gt; coudd return&amp;nbsp; 2 DB.XYZ points for min(X,Y,Z) and max (X,Y,Z)&lt;/P&gt;</description>
    <pubDate>Mon, 10 Aug 2020 18:26:02 GMT</pubDate>
    <dc:creator>EugenijusJanuskevicius6305</dc:creator>
    <dc:date>2020-08-10T18:26:02Z</dc:date>
    <item>
      <title>Grid API</title>
      <link>https://forums.autodesk.com/t5/revit-ideas/grid-api/idi-p/9683318</link>
      <description>&lt;P&gt;It would be usefull if the API would cover more &lt;STRONG&gt;DB.Grid&lt;/STRONG&gt; methods and properties, like setting points for the leader and working with view dependant grid representation.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EugenijusJanuskevicius6305_1-1597082117221.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/805683i68C42E6F8CAB2EBB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="EugenijusJanuskevicius6305_1-1597082117221.png" alt="EugenijusJanuskevicius6305_1-1597082117221.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Currently, the 2020 API allows us to adjust grind ends (points 1 and 2) via &lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;ViewSpecific&lt;/STRONG&gt;, viewport)&lt;/EM&gt;, add leaders (3) and adjust bubbles (points 4 and 5 ), but is impossible to adjust the ends (points 9 and 10) of split grid line segments (6, 7 and &lt;img class="lia-deferred-image lia-image-emoji" src="https://forums.autodesk.com/html/@35E1EB867C0FE4FC18284C52F598D39F/emoticons/1f60e.png" alt=":cara_con_gafas_de_sol:" title=":cara_con_gafas_de_sol:" /&gt; - this adjustment is available via UI only.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I would expect from the API:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;ViewSpecific&lt;/STRONG&gt;, viewport)&lt;/EM&gt; should return al list of segments 6, 7 an 8 , while &lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;Model&lt;/STRONG&gt;)&lt;/EM&gt; should return line segment from point 1 to the point 2, maybe also indicating the Z values for the Datum plane, like min(Z) for line End0 and max(Z) for line End1.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;All the line segments ends should be gettable and settable. The mid-segment ("7") could be settable automagically when setting segments "6" and "8".&lt;/P&gt;&lt;P&gt;As an alternative approach. &lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;ViewSpecific&lt;/STRONG&gt;, viewport)&lt;/EM&gt; could return an ordered list of DB.XYZ points, starting from End0 and &lt;EM&gt;DB.Grid..GetCurvesInView(DB.DatumExtentType.&lt;STRONG&gt;Model&lt;/STRONG&gt;)&lt;/EM&gt; coudd return&amp;nbsp; 2 DB.XYZ points for min(X,Y,Z) and max (X,Y,Z)&lt;/P&gt;</description>
      <pubDate>Mon, 10 Aug 2020 18:26:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-ideas/grid-api/idi-p/9683318</guid>
      <dc:creator>EugenijusJanuskevicius6305</dc:creator>
      <dc:date>2020-08-10T18:26:02Z</dc:date>
    </item>
  </channel>
</rss>

