<?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 Editing objects in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343087#M4649</link>
    <description>&lt;P&gt;Thank you for your time and attention. I am working on electrical layouts and the roofs for this residence are steep. I would like to have a better way to see it so I may edit.&amp;nbsp;Please, I want to edit the electrical symbols, which are library objects, to do two things:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Include a 3D morph that I can see in the 3D window&lt;/P&gt;&lt;P&gt;2. Show the object's ID. I am going around it by adding a label later, yet it's another element to edit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again your time is very valuable and I appreciate your feedback. Best regards.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/55075i22575622BC552C09/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-07-04 at 23.50.32.png" title="Screen Shot 2022-07-04 at 23.50.32.png" /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/55076iABEF21E4FB9E8B79/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-07-04 at 23.51.19.png" title="Screen Shot 2022-07-04 at 23.51.19.png" /&gt;</description>
    <pubDate>Tue, 05 Jul 2022 03:56:03 GMT</pubDate>
    <dc:creator>2raarchitecture</dc:creator>
    <dc:date>2022-07-05T03:56:03Z</dc:date>
    <item>
      <title>Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343087#M4649</link>
      <description>&lt;P&gt;Thank you for your time and attention. I am working on electrical layouts and the roofs for this residence are steep. I would like to have a better way to see it so I may edit.&amp;nbsp;Please, I want to edit the electrical symbols, which are library objects, to do two things:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Include a 3D morph that I can see in the 3D window&lt;/P&gt;&lt;P&gt;2. Show the object's ID. I am going around it by adding a label later, yet it's another element to edit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Again your time is very valuable and I appreciate your feedback. Best regards.&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/55075i22575622BC552C09/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-07-04 at 23.50.32.png" title="Screen Shot 2022-07-04 at 23.50.32.png" /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/55076iABEF21E4FB9E8B79/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-07-04 at 23.51.19.png" title="Screen Shot 2022-07-04 at 23.51.19.png" /&gt;</description>
      <pubDate>Tue, 05 Jul 2022 03:56:03 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343087#M4649</guid>
      <dc:creator>2raarchitecture</dc:creator>
      <dc:date>2022-07-05T03:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343088#M4650</link>
      <description>&lt;P&gt;I am starting with a 2D rather than a 3D object. I have changed the 2D Symbol for a 3D library part before, and this is new. This other object does have script for text, and I wonder if it could match the object's element ID instead. Would you know the script for this, please?&lt;/P&gt;&lt;BR /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/55077i3E75AB048F076E99/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-07-05 at 00.10.27.png" title="Screen Shot 2022-07-05 at 00.10.27.png" /&gt;&lt;IMG src="http://community.graphisoft.com/t5/image/serverpage/image-id/55078i38178CDB5B6BB67E/image-size/large?v=v2&amp;amp;px=999" border="0" alt="Screen Shot 2022-07-05 at 00.10.33.png" title="Screen Shot 2022-07-05 at 00.10.33.png" /&gt;</description>
      <pubDate>Tue, 05 Jul 2022 04:14:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343088#M4650</guid>
      <dc:creator>2raarchitecture</dc:creator>
      <dc:date>2022-07-05T04:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343149#M4651</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;A class="" href="https://community.Graphisoft.com/t5/user/viewprofilepage/user-id/16520" target="_self"&gt;2raarchitecture&lt;/A&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;A simple line of code to display the element's ID via the 2D Script is:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;SPAN class=""&gt;Text2 0, 0, GLOB_ID&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should add a Signature to your Profile (click the Profile button near the top of this page) with your Archicad version and operating system (see mine for an example) for more accurate help in this forum.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Tue, 05 Jul 2022 11:26:40 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343149#M4651</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2022-07-05T11:26:40Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343447#M4652</link>
      <description>&lt;P&gt;David,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you! I am attempting this line of code next. Will you please let me know about more codes I can give a try?&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 02:13:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343447#M4652</guid>
      <dc:creator>2raarchitecture</dc:creator>
      <dc:date>2022-07-10T02:13:16Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343449#M4653</link>
      <description>&lt;P&gt;David,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for your line of code.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, allow me to ask for further help. I am trying to write the code to change the text size and location. Code below&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;!
! Name : RECESSED Exterior Downlight.gsm
! Date : Tuesday, October 16, 2018
! Version : 22.00
! Written by Archicad
!

mul2 A/0.289280, B/0.289160
add2 65'-11.0782", -51'-5.5596"
set line_type lineTypeAttribute_1
pen penAttribute_1
fill fillAttribute_1
poly2_b{5} 5, 3, 0, 3, penAttribute_2, penAttribute_3,
0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000", 0'-0.0000", 3'-3.3701", 0'-0.0000",
-65'-11.0782", 52'-4.9439", 1,
-65'-11.0782", 51'-5.5596", 1,
-64'-11.6892", 51'-5.5596", 1,
-64'-11.6892", 52'-4.9439", 1,
-65'-11.0782", 52'-4.9439", 1
pen penAttribute_2
line_property 0
Text2 0, 0, GLOB_ID
circle2 -65'-5.3713", 51'-11.2486", 0'-4.5973"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 11 Jul 2022 09:03:07 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343449#M4653</guid>
      <dc:creator>2raarchitecture</dc:creator>
      <dc:date>2022-07-11T09:03:07Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343450#M4654</link>
      <description>&lt;P&gt;I figured out how to change the text location, but I am also trying to figure out how to change its size&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 04:54:17 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343450#M4654</guid>
      <dc:creator>2raarchitecture</dc:creator>
      <dc:date>2022-07-10T04:54:17Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343461#M4655</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;A class="" href="https://community.Graphisoft.com/t5/user/viewprofilepage/user-id/16520" target="_self"&gt;2raarchitecture&lt;/A&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;To control the text's font, size, etc. you ned to do two things, in this order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;1. &lt;STRONG&gt;Define the text style&lt;/STRONG&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;DEFINE STYLE&lt;/FONT&gt; &lt;FONT color="#339966"&gt;name font_family, size, anchor, face_code&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;See the GDL Reference Guide for an explanation of this command. These parameters could be hard coded or parametric.&lt;/P&gt;&lt;P&gt;2. &lt;STRONG&gt;Then set the text style&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;[SET] STYLE&lt;/FONT&gt; &lt;FONT color="#339966"&gt;name_string&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;This sets the style of the subsequent text, an object can use multiple text styles if they have been defined in the code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for adding your signature.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 10 Jul 2022 13:35:36 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343461#M4655</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2022-07-10T13:35:36Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343479#M4656</link>
      <description>&lt;P&gt;If you are not wanting the text to scale to your view, divide ac_textsize_1, or what every parameter you are using for text size by&amp;nbsp;&lt;STRONG&gt;GLOB_SCALE&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ling.&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jul 2022 01:38:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343479#M4656</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2022-07-11T01:38:29Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343654#M4657</link>
      <description>&lt;P&gt;Thank you kindly for your feedback. I did look at both comments. It works now! Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 09:04:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343654#M4657</guid>
      <dc:creator>2raarchitecture</dc:creator>
      <dc:date>2022-07-12T09:04:47Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343658#M4658</link>
      <description>&lt;P&gt;Please, if you may kindly share more resources regrading GDL scripting, I would be very thankful for it.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 09:22:10 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343658#M4658</guid>
      <dc:creator>2raarchitecture</dc:creator>
      <dc:date>2022-07-12T09:22:10Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343660#M4659</link>
      <description>&lt;P&gt;Just search here for "How do I learn GDL" and you will find plenty of post with suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Barry.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 09:27:47 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343660#M4659</guid>
      <dc:creator>Barry Kelly</dc:creator>
      <dc:date>2022-07-12T09:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343661#M4660</link>
      <description>&lt;P&gt;Thank you Barry!&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 09:31:23 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343661#M4660</guid>
      <dc:creator>2raarchitecture</dc:creator>
      <dc:date>2022-07-12T09:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: Editing objects</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343687#M4661</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;&lt;A class="" href="https://community.Graphisoft.com/t5/user/viewprofilepage/user-id/16520" target="_self"&gt;2raarchitecture&lt;/A&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Good to know you were able to get the code to work, thanks for posting back.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;David&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Jul 2022 11:11:16 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Editing-objects/m-p/343687#M4661</guid>
      <dc:creator>David Maudlin</dc:creator>
      <dc:date>2022-07-12T11:11:16Z</dc:date>
    </item>
  </channel>
</rss>

