<?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: Section Marker Head Text Alignment in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153187#M18058</link>
    <description>Erich, that was it, it works!!!&lt;BR /&gt;
&lt;BR /&gt;
Thank you so much.  I don't know why GS does not include your coding with this part as without it, it does not look very good.&lt;BR /&gt;
&lt;BR /&gt;
Much appreciated,&lt;BR /&gt;
Scott</description>
    <pubDate>Mon, 03 Jan 2011 16:49:44 GMT</pubDate>
    <dc:creator>Scott Bulmer</dc:creator>
    <dc:date>2011-01-03T16:49:44Z</dc:date>
    <item>
      <title>Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153176#M18047</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;In Section Marker_NCS 14 or the Built-In Section Marker, is it possible to adjust the text alignment away from the horizontal dividing line separating the first and second rows of text?  To my eye the appearance has always been too close and I have never been able to figure out how to adjust it.&lt;BR /&gt;
&lt;BR /&gt;
Thanks, Scott&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Dec 2010 15:06:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153176#M18047</guid>
      <dc:creator>Scott Bulmer</dc:creator>
      <dc:date>2010-12-30T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153177#M18048</link>
      <description>Scott,&lt;BR /&gt;
&lt;BR /&gt;
I don't have AC14 so I cannot check the exact part. However, in AC12 the corresponding part does not have a native adjustment for the text placement. However, &lt;U&gt;&lt;/U&gt;&lt;S&gt;&lt;U&gt;&lt;U&gt;&lt;/U&gt;&lt;/U&gt;&lt;/S&gt;assuming it is scripted similarly in AC 14&lt;E&gt;&lt;/E&gt;, you can open the marker. In the master script it should call a macro named "Sect-Elev Marker Macro USA". In the 2D script of the macro there is a subroutine 2000: that defines the text and it's location. You can add a term there and to the parameter table to accomplish what you are wanting.&lt;BR /&gt;
&lt;BR /&gt;
Of course you will need to save both the part and macro as new object to your office library.</description>
      <pubDate>Thu, 30 Dec 2010 21:00:42 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153177#M18048</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2010-12-30T21:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153178#M18049</link>
      <description>Scott:&lt;BR /&gt;
&lt;BR /&gt;
The location of the code is the same for Section Marker_NCS 14 as Erich described for the 12 version.&lt;BR /&gt;
&lt;BR /&gt;
David</description>
      <pubDate>Fri, 31 Dec 2010 13:01:18 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153178#M18049</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2010-12-31T13:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153179#M18050</link>
      <description>Erich/David,&lt;BR /&gt;
&lt;BR /&gt;
Thanks guys for the direction.  As a follow-up, I can open the part using File&amp;gt;L&amp;amp;O&amp;gt;Open Object and see the call within the Master Script.  I do not see or know how to get to the Macro you mention.  When searching for that macro, copies within exported libraries are returned, not the original macro.  Please tell me how to get to the original.&lt;BR /&gt;
&lt;BR /&gt;
Thanks again and Happy New Year!&lt;BR /&gt;
Scott</description>
      <pubDate>Fri, 31 Dec 2010 16:41:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153179#M18050</guid>
      <dc:creator>Scott Bulmer</dc:creator>
      <dc:date>2010-12-31T16:41:39Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153180#M18051</link>
      <description>Scott,&lt;BR /&gt;
&lt;BR /&gt;
The easiest way to do this is to open the Marker part. Go to the master script. Highlight the macro name (do not include the quotes). Then go to the File &amp;gt; Libraries and Objects &amp;gt; Open Object. This will open the macro directly. You can then make your changes and save a a new macro object. Back in the original marker you will need to change the name of the macro call to match your newly named macro. Then save the marker object with a new name. &lt;BR /&gt;
&lt;BR /&gt;
Let us know if you need further help.</description>
      <pubDate>Fri, 31 Dec 2010 17:16:41 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153180#M18051</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2010-12-31T17:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153181#M18052</link>
      <description>Hey Erich,&lt;BR /&gt;
&lt;BR /&gt;
Your description worked perfectly in accessing the Macro.  I need a little help however deciphering the code, what changes (to make the first and second text lines in the marker move away from the center horizontal line) would you recommend to the sub-routine 2000 listed below here?&lt;BR /&gt;
&lt;BR /&gt;
Thank you again for your year ending help.  Scott&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
! ==============================================================================&lt;BR /&gt;
! Marker text definition&lt;BR /&gt;
! ==============================================================================&lt;BR /&gt;
&lt;BR /&gt;
2000:&lt;BR /&gt;
	pen AC_TextPen_1&lt;BR /&gt;
&lt;BR /&gt;
	if text_readable &amp;amp; text_rotangle &amp;gt; 90 &amp;amp; text_rotangle &amp;lt;= 270 then&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
		!switch styles&lt;BR /&gt;
		if text_anchor = 7 then style leftstyle&lt;BR /&gt;
		if text_anchor = 9 then style rightstyle&lt;BR /&gt;
&lt;BR /&gt;
		rot2 180&lt;BR /&gt;
		add2 0, -AC_TextSize_1&lt;BR /&gt;
		text2 0, -dsc, text_cont&lt;BR /&gt;
		del 2&lt;BR /&gt;
	else&lt;BR /&gt;
		text2 0, -dsc, text_cont&lt;BR /&gt;
	endif&lt;BR /&gt;
return</description>
      <pubDate>Fri, 31 Dec 2010 22:47:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153181#M18052</guid>
      <dc:creator>Scott Bulmer</dc:creator>
      <dc:date>2010-12-31T22:47:53Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153182#M18053</link>
      <description>Scott,&lt;BR /&gt;
&lt;BR /&gt;
OK, you are most of the way there. Here is how I would do this (there are other ways as well):&lt;BR /&gt;
&lt;BR /&gt;
1.  Open the section marker and save under a new name.&lt;BR /&gt;
&lt;BR /&gt;
2.  Open the macro found in the Master Script and save under a new name.&lt;BR /&gt;
&lt;BR /&gt;
3.  In Marker parameter table add a new length parameter (I will call this "adj")&lt;BR /&gt;
&lt;BR /&gt;
4.  In the macro call, change the name of the macro (between the quotes) the the new macro name you just used.&lt;BR /&gt;
&lt;BR /&gt;
5. In the macro call after the last line of the macro call (probably something like "elev_sect_mark_US_type	=	1") add a comma then the line &lt;PRE&gt;adj = adj&lt;/PRE&gt; &lt;BR /&gt;
&lt;BR /&gt;
6.  In the Macro parameter table add the same length parameter you added to the Marker ("adj").&lt;BR /&gt;
&lt;BR /&gt;
7. At or near the top of the 2D script (you could place this in the list of Marker Definitions) for the Macro add the following code &lt;PRE&gt;adj = adj*A_
&lt;/PRE&gt;

8.  Find the first instance of the code &lt;PRE&gt;GOSUB 2000&lt;/PRE&gt;. Just before this line add the following &lt;PRE&gt;ii = 1&lt;/PRE&gt;

9. Just before the second instance of the code &lt;PRE&gt;GOSUB 2000&lt;/PRE&gt; add the following &lt;PRE&gt;ii = -1&lt;/PRE&gt;

10. Then just before the third instance of the code &lt;PRE&gt;GOSUB 2000&lt;/PRE&gt; add the following &lt;PRE&gt;ii = 1&lt;/PRE&gt;

11.  In the 2000 subroutine (the one you listed) change both instances of the TEXT2 command to the following &lt;PRE&gt;TEXT2 0, -adj*ii-dsc, text_cont&lt;/PRE&gt;

12. Save both the macro and the section marker part. You should now have control over where the text appears relative to the dividing line. &lt;BR /&gt;</description>
      <pubDate>Sat, 01 Jan 2011 01:33:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153182#M18053</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2011-01-01T01:33:05Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153183#M18054</link>
      <description>Hey Erich,&lt;BR /&gt;
&lt;BR /&gt;
I believe I executed your process correctly (repeating it to insure no mistakes).  I found and entered all the code lines you describe.  After saving and double checking, I reloaded the library with the new/re-saved section marker head.  In the the new marker's selection settings, the 'adj' parameter correctly appears, however changing the associated value has no affect on the text location in the marker.  The attached screenshot shows an excerpt from the parameter table (part and macro parameters are the same).  Does that look correct?&lt;BR /&gt;
&lt;BR /&gt;
Thank you for your help, Scott&lt;BR /&gt;&lt;IMG src="https://community.graphisoft.com/t5/image/serverpage/image-id/13564iCD51ED368546D47E/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Picture 6.png" title="Picture 6.png" /&gt;</description>
      <pubDate>Sun, 02 Jan 2011 16:53:35 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153183#M18054</guid>
      <dc:creator>Scott Bulmer</dc:creator>
      <dc:date>2011-01-02T16:53:35Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153184#M18055</link>
      <description>Scott,&lt;BR /&gt;
&lt;BR /&gt;
Your parameter table entry is not quite correct. Overwrite the automatic parameter where it says "SectionMar_A" to say "adj" (no quotes). &lt;BR /&gt;
&lt;BR /&gt;
Where you put the word "adj" you can leave or change to something a user might better understand as this is what a user will see in the part settings. &lt;BR /&gt;
&lt;BR /&gt;
Re-save both parts and things should work. &lt;BR /&gt;
&lt;BR /&gt;
HTH</description>
      <pubDate>Mon, 03 Jan 2011 01:37:51 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153184#M18055</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2011-01-03T01:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153185#M18056</link>
      <description>Erich,&lt;BR /&gt;
&lt;BR /&gt;
Thank you, that worked in terms of moving both the upper and lower text in the same direction in unison.  Very neat.&lt;BR /&gt;
&lt;BR /&gt;
What I did not communicate though and is the desired result, that each line of text would move away from the horizontal dividing line, and away from each other equally.  I am hopeful this can be accomplished without too much of your time.&lt;BR /&gt;
&lt;BR /&gt;
Thank you again,&lt;BR /&gt;
Scott</description>
      <pubDate>Mon, 03 Jan 2011 15:29:53 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153185#M18056</guid>
      <dc:creator>Scott Bulmer</dc:creator>
      <dc:date>2011-01-03T15:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153186#M18057</link>
      <description>Scott, &lt;BR /&gt;
This is accomplished by changing the value of the ii variable defined in the code. For one case it is defined as a value of  positive 1 and in the other case as negative 1. If both texts are moving in the same direction then you are using the same sense in both cases.</description>
      <pubDate>Mon, 03 Jan 2011 16:11:38 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153186#M18057</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2011-01-03T16:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153187#M18058</link>
      <description>Erich, that was it, it works!!!&lt;BR /&gt;
&lt;BR /&gt;
Thank you so much.  I don't know why GS does not include your coding with this part as without it, it does not look very good.&lt;BR /&gt;
&lt;BR /&gt;
Much appreciated,&lt;BR /&gt;
Scott</description>
      <pubDate>Mon, 03 Jan 2011 16:49:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153187#M18058</guid>
      <dc:creator>Scott Bulmer</dc:creator>
      <dc:date>2011-01-03T16:49:44Z</dc:date>
    </item>
    <item>
      <title>Re: Section Marker Head Text Alignment</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153188#M18059</link>
      <description>Scott,&lt;BR /&gt;
&lt;BR /&gt;
Perhaps a bit painful getting there but I am glad this worked for you in the end.</description>
      <pubDate>Mon, 03 Jan 2011 16:58:46 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Section-Marker-Head-Text-Alignment/m-p/153188#M18059</guid>
      <dc:creator>Erich</dc:creator>
      <dc:date>2011-01-03T16:58:46Z</dc:date>
    </item>
  </channel>
</rss>

