<?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: Script 2D: visualize custom parameter in Libraries &amp; objects</title>
    <link>https://community.graphisoft.com/t5/Libraries-objects/Script-2D-visualize-custom-parameter/m-p/270407#M3388</link>
    <description>You should just be able to replace your string variable with your parameter name. Depending on the text, you might need to first assign it to a &lt;B&gt;Textblock&lt;/B&gt; then assign that to the &lt;B&gt;Text2&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;If _return = 1 then
		SET STYLE Standard

		rot2 90
		add2 0, ProWidth / 2
		t = (hLength - hLength2) / 2
		text2 t, 0, ProLengthT
		DEL 2		
endIF&lt;/PRE&gt;

&lt;BR /&gt;
That is a segment in one of my objects to display the parameter "ProLengthT" centred on the object.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
    <pubDate>Fri, 14 Dec 2018 03:12:40 GMT</pubDate>
    <dc:creator>Lingwisyer</dc:creator>
    <dc:date>2018-12-14T03:12:40Z</dc:date>
    <item>
      <title>Script 2D: visualize custom parameter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-2D-visualize-custom-parameter/m-p/270406#M3387</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi,&lt;BR /&gt;
I created an object with a custom text parameter "name_family" that indicates the category of the object (external, internal, etc.).&lt;BR /&gt;
Can I view the text of this parameter in 2D?&lt;BR /&gt;
&lt;BR /&gt;
For example, for the height of my object, in the 2D script I have this command&lt;BR /&gt;
&lt;BR /&gt;
IF GLOB_SCALE = 51 THEN&lt;BR /&gt;
text2           0.35, 0.17, STR("%0.2m", SYMB_POS_Z) &lt;BR /&gt;
ENDIF&lt;BR /&gt;
&lt;BR /&gt;
Thanks!&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Dec 2018 01:51:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-2D-visualize-custom-parameter/m-p/270406#M3387</guid>
      <dc:creator>mest79</dc:creator>
      <dc:date>2018-12-14T01:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Script 2D: visualize custom parameter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-2D-visualize-custom-parameter/m-p/270407#M3388</link>
      <description>You should just be able to replace your string variable with your parameter name. Depending on the text, you might need to first assign it to a &lt;B&gt;Textblock&lt;/B&gt; then assign that to the &lt;B&gt;Text2&lt;/B&gt;.&lt;BR /&gt;
&lt;BR /&gt;

&lt;PRE&gt;If _return = 1 then
		SET STYLE Standard

		rot2 90
		add2 0, ProWidth / 2
		t = (hLength - hLength2) / 2
		text2 t, 0, ProLengthT
		DEL 2		
endIF&lt;/PRE&gt;

&lt;BR /&gt;
That is a segment in one of my objects to display the parameter "ProLengthT" centred on the object.&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
Ling.</description>
      <pubDate>Fri, 14 Dec 2018 03:12:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-2D-visualize-custom-parameter/m-p/270407#M3388</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2018-12-14T03:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: Script 2D: visualize custom parameter</title>
      <link>https://community.graphisoft.com/t5/Libraries-objects/Script-2D-visualize-custom-parameter/m-p/270408#M3389</link>
      <description>Thanks!</description>
      <pubDate>Fri, 14 Dec 2018 11:48:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Libraries-objects/Script-2D-visualize-custom-parameter/m-p/270408#M3389</guid>
      <dc:creator>mest79</dc:creator>
      <dc:date>2018-12-14T11:48:34Z</dc:date>
    </item>
  </channel>
</rss>

