<?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 trouble customizing NCS DrawingTitle 11 in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/trouble-customizing-NCS-DrawingTitle-11/m-p/149776#M25537</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am customizing the NCS DrawingTitle 11 to match firm standards. I've been able to do all but the following two items. See screenshot for goal.&lt;BR /&gt;
&lt;BR /&gt;
1. find where to delete the colon after the word SCALE. In the parameters I only have SCALE written with no colon and I can't find where in the scripts the colon is being added.&lt;BR /&gt;
&lt;BR /&gt;
2. have the written scale e.g. 1/4" = 1'-0" show centered above the SCALE&lt;BR /&gt;
The original had the written scale after and in the same line as the SCALE. I duplicated the script under GOSUB 500. I deleted the drawingscale from the 1st line so only stex [the word SCALE] will show. This worked fine.&lt;BR /&gt;
In the duplicated portion I deleted the stex hoping the written scale only would show, as well as adjusting the Y value so it would be centered above SCALE. &lt;BR /&gt;
&lt;BR /&gt;
The problem is both sections of text now show SCALE over SCALE. If I comment out the stex original portion the written scale shows correctly in the correct location. I believe the problem has todo with the original script uses 'drawingScale' to call both the stex and the written scale. I am at a loss as to how to get the second part to call the written scale. &lt;BR /&gt;
&lt;BR /&gt;
500:!Show "SCALE" and Drawing Scale &lt;BR /&gt;
	set style "styleDrawingScale"&lt;BR /&gt;
	pen gs_drawing_scale_font_pen&lt;BR /&gt;
&lt;BR /&gt;
!!	ORIGINAL SECTION OF TEXT WITH that used to read drawingScale = 	stex+ drawingScale========================&lt;BR /&gt;
&lt;BR /&gt;
	drawingScale = 	stex	!!!"SCALE" !ERE change to put drawing scale above the word "scale"&lt;BR /&gt;
&lt;BR /&gt;
		if (GLOB_CONTEXT = 22 | GLOB_CONTEXT = 28) &amp;amp; (gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_x" | gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_y") then&lt;BR /&gt;
			textWidth	= stw(drawingScale) * PAPER_TO_MODEL&lt;BR /&gt;
			textHeight	= drawingScaleFontH&lt;BR /&gt;
			textAnchor	= anchorDrawingScale&lt;BR /&gt;
			gosub 1300&lt;BR /&gt;
&lt;BR /&gt;
				add2 anchorX+2*rc, anchorY&lt;BR /&gt;
&lt;BR /&gt;
			rect2 posX+2*rc + gs_drawing_scale_pos_x+diam+0.0064,				posY + gs_drawing_scale_pos_y-0.002,&lt;BR /&gt;
				  posX+2*rc + gs_drawing_scale_pos_x+diam+0.0064 ,	posY + gs_drawing_scale_pos_y-0.002 + textHeight&lt;BR /&gt;
				del 1&lt;BR /&gt;
		else&lt;BR /&gt;
			TEXT2 posX+2*rc +gs_drawing_scale_pos_x+0.0064, posY + gs_drawing_scale_pos_y, stex!drawingScale	!!!!!!-0.002&lt;BR /&gt;
		endif&lt;BR /&gt;
&lt;BR /&gt;
!! DUPLICATED PORTION OF ABOVE with stex deleted===================================================================&lt;BR /&gt;
drawingScale = drawingScale		!!! drawingScale&lt;BR /&gt;
&lt;BR /&gt;
		if (GLOB_CONTEXT = 22 | GLOB_CONTEXT = 28) &amp;amp; (gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_x" | gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_y") then&lt;BR /&gt;
			textWidth	= stw(drawingScale) * PAPER_TO_MODEL&lt;BR /&gt;
			textHeight	= drawingScaleFontH&lt;BR /&gt;
			textAnchor	= anchorDrawingScale&lt;BR /&gt;
			gosub 1300&lt;BR /&gt;
&lt;BR /&gt;
				add2 anchorX+2*rc, anchorY&lt;BR /&gt;
&lt;BR /&gt;
			rect2 posX+2*rc + gs_drawing_scale_pos_x+diam+0.0064,				posY + gs_drawing_scale_pos_y-0.002,&lt;BR /&gt;
				  posX+2*rc + gs_drawing_scale_pos_x+diam+0.0064 ,	posY + gs_drawing_scale_pos_y-0.002 + textHeight&lt;BR /&gt;
				del 1&lt;BR /&gt;
		else&lt;BR /&gt;
&lt;BR /&gt;
			TEXT2 posX+2*rc +gs_drawing_scale_pos_x+0.0064, posY + gs_drawing_scale_pos_y+	0.5*titleHeight, drawingScale	!!!!!!-0.002&lt;BR /&gt;
		endif&lt;BR /&gt;
RETURN&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Can someone point me in the right direction?&lt;BR /&gt;
Thanks&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/73319i25C5F9316E3FF1ED/image-size/large?v=v2&amp;amp;px=999" border="0" alt="written scale over SCALE.jpg" title="written scale over SCALE.jpg" /&gt;</description>
    <pubDate>Thu, 08 Jan 2009 19:54:32 GMT</pubDate>
    <dc:creator>Erika Epstein</dc:creator>
    <dc:date>2009-01-08T19:54:32Z</dc:date>
    <item>
      <title>trouble customizing NCS DrawingTitle 11</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/trouble-customizing-NCS-DrawingTitle-11/m-p/149776#M25537</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;I am customizing the NCS DrawingTitle 11 to match firm standards. I've been able to do all but the following two items. See screenshot for goal.&lt;BR /&gt;
&lt;BR /&gt;
1. find where to delete the colon after the word SCALE. In the parameters I only have SCALE written with no colon and I can't find where in the scripts the colon is being added.&lt;BR /&gt;
&lt;BR /&gt;
2. have the written scale e.g. 1/4" = 1'-0" show centered above the SCALE&lt;BR /&gt;
The original had the written scale after and in the same line as the SCALE. I duplicated the script under GOSUB 500. I deleted the drawingscale from the 1st line so only stex [the word SCALE] will show. This worked fine.&lt;BR /&gt;
In the duplicated portion I deleted the stex hoping the written scale only would show, as well as adjusting the Y value so it would be centered above SCALE. &lt;BR /&gt;
&lt;BR /&gt;
The problem is both sections of text now show SCALE over SCALE. If I comment out the stex original portion the written scale shows correctly in the correct location. I believe the problem has todo with the original script uses 'drawingScale' to call both the stex and the written scale. I am at a loss as to how to get the second part to call the written scale. &lt;BR /&gt;
&lt;BR /&gt;
500:!Show "SCALE" and Drawing Scale &lt;BR /&gt;
	set style "styleDrawingScale"&lt;BR /&gt;
	pen gs_drawing_scale_font_pen&lt;BR /&gt;
&lt;BR /&gt;
!!	ORIGINAL SECTION OF TEXT WITH that used to read drawingScale = 	stex+ drawingScale========================&lt;BR /&gt;
&lt;BR /&gt;
	drawingScale = 	stex	!!!"SCALE" !ERE change to put drawing scale above the word "scale"&lt;BR /&gt;
&lt;BR /&gt;
		if (GLOB_CONTEXT = 22 | GLOB_CONTEXT = 28) &amp;amp; (gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_x" | gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_y") then&lt;BR /&gt;
			textWidth	= stw(drawingScale) * PAPER_TO_MODEL&lt;BR /&gt;
			textHeight	= drawingScaleFontH&lt;BR /&gt;
			textAnchor	= anchorDrawingScale&lt;BR /&gt;
			gosub 1300&lt;BR /&gt;
&lt;BR /&gt;
				add2 anchorX+2*rc, anchorY&lt;BR /&gt;
&lt;BR /&gt;
			rect2 posX+2*rc + gs_drawing_scale_pos_x+diam+0.0064,				posY + gs_drawing_scale_pos_y-0.002,&lt;BR /&gt;
				  posX+2*rc + gs_drawing_scale_pos_x+diam+0.0064 ,	posY + gs_drawing_scale_pos_y-0.002 + textHeight&lt;BR /&gt;
				del 1&lt;BR /&gt;
		else&lt;BR /&gt;
			TEXT2 posX+2*rc +gs_drawing_scale_pos_x+0.0064, posY + gs_drawing_scale_pos_y, stex!drawingScale	!!!!!!-0.002&lt;BR /&gt;
		endif&lt;BR /&gt;
&lt;BR /&gt;
!! DUPLICATED PORTION OF ABOVE with stex deleted===================================================================&lt;BR /&gt;
drawingScale = drawingScale		!!! drawingScale&lt;BR /&gt;
&lt;BR /&gt;
		if (GLOB_CONTEXT = 22 | GLOB_CONTEXT = 28) &amp;amp; (gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_x" | gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_y") then&lt;BR /&gt;
			textWidth	= stw(drawingScale) * PAPER_TO_MODEL&lt;BR /&gt;
			textHeight	= drawingScaleFontH&lt;BR /&gt;
			textAnchor	= anchorDrawingScale&lt;BR /&gt;
			gosub 1300&lt;BR /&gt;
&lt;BR /&gt;
				add2 anchorX+2*rc, anchorY&lt;BR /&gt;
&lt;BR /&gt;
			rect2 posX+2*rc + gs_drawing_scale_pos_x+diam+0.0064,				posY + gs_drawing_scale_pos_y-0.002,&lt;BR /&gt;
				  posX+2*rc + gs_drawing_scale_pos_x+diam+0.0064 ,	posY + gs_drawing_scale_pos_y-0.002 + textHeight&lt;BR /&gt;
				del 1&lt;BR /&gt;
		else&lt;BR /&gt;
&lt;BR /&gt;
			TEXT2 posX+2*rc +gs_drawing_scale_pos_x+0.0064, posY + gs_drawing_scale_pos_y+	0.5*titleHeight, drawingScale	!!!!!!-0.002&lt;BR /&gt;
		endif&lt;BR /&gt;
RETURN&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Can someone point me in the right direction?&lt;BR /&gt;
Thanks&lt;/T&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/73319i25C5F9316E3FF1ED/image-size/large?v=v2&amp;amp;px=999" border="0" alt="written scale over SCALE.jpg" title="written scale over SCALE.jpg" /&gt;</description>
      <pubDate>Thu, 08 Jan 2009 19:54:32 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/trouble-customizing-NCS-DrawingTitle-11/m-p/149776#M25537</guid>
      <dc:creator>Erika Epstein</dc:creator>
      <dc:date>2009-01-08T19:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: trouble customizing NCS DrawingTitle 11</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/trouble-customizing-NCS-DrawingTitle-11/m-p/149777#M25538</link>
      <description>I changed the parameter as well to "SCALE", without the colon. It didn't change the existing drawings so I picked one of them and turned off the drawing title. Then I went back in and turned the NCS Drawing title back on. This fixed the problem. Also any new drawings that I placed with the title showed the text properly.... Only one part of your problem but it's a start.&lt;BR /&gt;
&lt;BR /&gt;
Doug</description>
      <pubDate>Thu, 08 Jan 2009 22:08:33 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/trouble-customizing-NCS-DrawingTitle-11/m-p/149777#M25538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-08T22:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: trouble customizing NCS DrawingTitle 11</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/trouble-customizing-NCS-DrawingTitle-11/m-p/149778#M25539</link>
      <description>Hi Erika,&lt;BR /&gt;
Unfortunately I don't have time to go any further with this tonight, but you might be able to use what I've gotten so far.&lt;BR /&gt;
&lt;BR /&gt;
500:&lt;BR /&gt;
	set style "styleDrawingScale"&lt;BR /&gt;
	pen gs_drawing_scale_font_pen&lt;BR /&gt;
&lt;BR /&gt;
	drawingScale = 	drawingScale		!!!"SCALE: "&lt;BR /&gt;
&lt;BR /&gt;
		if (GLOB_CONTEXT = 22 | GLOB_CONTEXT = 28) &amp;amp; (gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_x" | gs_GLOB_MODPAR_NAME = "gs_drawing_scale_pos_y") then&lt;BR /&gt;
			textWidth	= stw(drawingScale) * PAPER_TO_MODEL&lt;BR /&gt;
			textHeight	= drawingScaleFontH&lt;BR /&gt;
			textAnchor	= anchorDrawingScale&lt;BR /&gt;
			gosub 1300&lt;BR /&gt;
&lt;BR /&gt;
			add2 anchorX, anchorY&lt;BR /&gt;
&lt;BR /&gt;
			rect2 posX + gs_drawing_scale_pos_x+diam+0.0064,				posY + gs_drawing_scale_pos_y-0.002,&lt;BR /&gt;
				  posX + gs_drawing_scale_pos_x+diam+0.0064,	posY + gs_drawing_scale_pos_y-0.002 + textHeight&lt;BR /&gt;
			del 1&lt;BR /&gt;
		else&lt;BR /&gt;
			textWidth	= stw(drawingName) * PAPER_TO_MODEL&lt;BR /&gt;
			textHeight	= drawingScaleFontH&lt;BR /&gt;
			textAnchor	= anchorDrawingScale&lt;BR /&gt;
			TEXT2 posX + gs_drawing_scale_pos_x+diam+textWidth, (posY + gs_drawing_scale_pos_y)-1/8", stex&lt;BR /&gt;
			TEXT2 posX + gs_drawing_scale_pos_x+diam+textWidth, posY + gs_drawing_scale_pos_y, drawingScale&lt;BR /&gt;
line2 0, 0, .25", 0&lt;BR /&gt;
		endif&lt;BR /&gt;
RETURN&lt;BR /&gt;
&lt;BR /&gt;
Doug&lt;BR /&gt;
&lt;BR /&gt;
PS. Ignore the line2 statement at the end....just looking for 0,0&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/6733i720239F44C0BCC2E/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Drawing Title.PNG" title="Drawing Title.PNG" /&gt;</description>
      <pubDate>Fri, 09 Jan 2009 02:11:55 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/trouble-customizing-NCS-DrawingTitle-11/m-p/149778#M25539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-01-09T02:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: trouble customizing NCS DrawingTitle 11</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/trouble-customizing-NCS-DrawingTitle-11/m-p/149779#M25540</link>
      <description>Doug,&lt;BR /&gt;
Thank you very much. &lt;BR /&gt;
Your posted text  was just what I needed. I was able to adapt from your example to get the placements I needed.&lt;BR /&gt;
Have a great day.</description>
      <pubDate>Fri, 09 Jan 2009 06:07:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/trouble-customizing-NCS-DrawingTitle-11/m-p/149779#M25540</guid>
      <dc:creator>Erika Epstein</dc:creator>
      <dc:date>2009-01-09T06:07:51Z</dc:date>
    </item>
  </channel>
</rss>

