<?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: Layout info in GDL in Documentation</title>
    <link>https://community.graphisoft.com/t5/Documentation/Layout-info-in-GDL/m-p/341107#M51823</link>
    <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12747"&gt;@vfrontiers&lt;/a&gt;&amp;nbsp;See if any of the following helps. I snipped it from the "Built-in Drawing Tile.gsm".&lt;/P&gt;&lt;P&gt;If the object subtype is Drawing Title then you may find a Parameter AC_DrawingRect containing an array of values you can work with to determine the width. Uncharted territory for me so hope it is pointing you in the right direction...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;! ==============================================================================
! Bounding Box Calculations
! ==============================================================================

if AC_titleFitMode = TITLEFITMODE_DRAWING then		! Fit to Drawing Rect
	titlePosX = AC_DrawingRect[1]
	titlePosY = AC_DrawingRect[2]
	titleAlpha = AC_DrawingRect[5]

	xo = AC_DrawingRect[1]:		yo = AC_DrawingRect[2]
	x1 = AC_DrawingRect[3]:		y1 = AC_DrawingRect[4]
	x2 = x1 + cos(titleAlpha - 90):	y2 = y1 + sin(titleAlpha - 90)
endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 13 Jun 2022 18:28:57 GMT</pubDate>
    <dc:creator>DGSketcher</dc:creator>
    <dc:date>2022-06-13T18:28:57Z</dc:date>
    <item>
      <title>Layout info in GDL</title>
      <link>https://community.graphisoft.com/t5/Documentation/Layout-info-in-GDL/m-p/341100#M51821</link>
      <description>&lt;P&gt;I am trying to find the parameter that represents the drawing WIDTH in GDL...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know it exists because Graphisoft's titles take advantage of it and it is clearly shown in every drawing in the layout in the SETTINGS dialog..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, I have my own title that uses the GRID of the layout (as determined by the drawing)... But I wen to the current GDL MANUAL and did a search and even that doesn't appear...&lt;/P&gt;&lt;P&gt;AC_GridRect[1]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone would be so kind as to point me in the correct direction, I'd appreciate it!&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>Mon, 13 Jun 2022 16:42:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Layout-info-in-GDL/m-p/341100#M51821</guid>
      <dc:creator>vfrontiers</dc:creator>
      <dc:date>2022-06-13T16:42:41Z</dc:date>
    </item>
    <item>
      <title>Re: Layout info in GDL</title>
      <link>https://community.graphisoft.com/t5/Documentation/Layout-info-in-GDL/m-p/341107#M51823</link>
      <description>&lt;P&gt;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/12747"&gt;@vfrontiers&lt;/a&gt;&amp;nbsp;See if any of the following helps. I snipped it from the "Built-in Drawing Tile.gsm".&lt;/P&gt;&lt;P&gt;If the object subtype is Drawing Title then you may find a Parameter AC_DrawingRect containing an array of values you can work with to determine the width. Uncharted territory for me so hope it is pointing you in the right direction...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;! ==============================================================================
! Bounding Box Calculations
! ==============================================================================

if AC_titleFitMode = TITLEFITMODE_DRAWING then		! Fit to Drawing Rect
	titlePosX = AC_DrawingRect[1]
	titlePosY = AC_DrawingRect[2]
	titleAlpha = AC_DrawingRect[5]

	xo = AC_DrawingRect[1]:		yo = AC_DrawingRect[2]
	x1 = AC_DrawingRect[3]:		y1 = AC_DrawingRect[4]
	x2 = x1 + cos(titleAlpha - 90):	y2 = y1 + sin(titleAlpha - 90)
endif&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 13 Jun 2022 18:28:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Documentation/Layout-info-in-GDL/m-p/341107#M51823</guid>
      <dc:creator>DGSketcher</dc:creator>
      <dc:date>2022-06-13T18:28:57Z</dc:date>
    </item>
  </channel>
</rss>

