<?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: Draw 3D point through Code in ArchiCAD? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/601782#M9309</link>
    <description>&lt;P&gt;Think of Point3D (and for any class/struct in the Geometry folder) as a maths tool for creating geometric bodies, but not directly for visualisation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only classes that directly contribute to 2D and 3D visualisation can all be found in the API_Element union, e.g.&amp;nbsp;API_WallType (for walls),&amp;nbsp;API_SlabType (for slabs),&amp;nbsp;API_ObjectType (for objects) etc. and are generally called 'elements'. Archicad is generally not about raw geometry. Elements are at the core of a project - when Archicad renders that content, the raw geometry is generated on demand from the elements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you want a point in the 3D model, you need to create an element that will generate that point for you. The most obvious choice would be a GDL object - the object could have parameters for one or more points that are populated by the add-on, and when placed in the project it renders the point(s) for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You cannot directly inject raw geometry into a scene as a Point3D.&lt;/P&gt;</description>
    <pubDate>Sun, 28 Apr 2024 20:05:14 GMT</pubDate>
    <dc:creator>Ralph Wessel</dc:creator>
    <dc:date>2024-04-28T20:05:14Z</dc:date>
    <item>
      <title>Draw 3D point through Code in ArchiCAD?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/600305#M9304</link>
      <description>&lt;P&gt;Hi Graphisoft Community!&lt;BR /&gt;I am looking for a straight forward way to draw/place (create and display) a 3D point in ArchiCAD. I am trying to use Point3D from C:\Program Files\Graphisoft\API Development Kit 27.3001\Support\Modules\Geometry\Vector3D.hpp to create a point, but I see no option to display this point on ArchiCAD.&lt;BR /&gt;Any assistance on this topic will be of great help!!!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Thank You,&lt;BR /&gt;CAD Developer.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2024 12:41:29 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/600305#M9304</guid>
      <dc:creator>cad developer</dc:creator>
      <dc:date>2024-09-16T12:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: Draw 3D point through Code in ArchiCAD?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/601782#M9309</link>
      <description>&lt;P&gt;Think of Point3D (and for any class/struct in the Geometry folder) as a maths tool for creating geometric bodies, but not directly for visualisation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only classes that directly contribute to 2D and 3D visualisation can all be found in the API_Element union, e.g.&amp;nbsp;API_WallType (for walls),&amp;nbsp;API_SlabType (for slabs),&amp;nbsp;API_ObjectType (for objects) etc. and are generally called 'elements'. Archicad is generally not about raw geometry. Elements are at the core of a project - when Archicad renders that content, the raw geometry is generated on demand from the elements.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So if you want a point in the 3D model, you need to create an element that will generate that point for you. The most obvious choice would be a GDL object - the object could have parameters for one or more points that are populated by the add-on, and when placed in the project it renders the point(s) for you.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You cannot directly inject raw geometry into a scene as a Point3D.&lt;/P&gt;</description>
      <pubDate>Sun, 28 Apr 2024 20:05:14 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/601782#M9309</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2024-04-28T20:05:14Z</dc:date>
    </item>
    <item>
      <title>Re: Draw 3D point through Code in ArchiCAD?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/606612#M9443</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/733"&gt;@Ralph Wessel&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thank you for your detailed response. I appreciate the clarification on how raw geometry is handled within Archicad.&lt;/P&gt;&lt;P&gt;Could you please provide a clear step-by-step guide on how to create a GDL object using C++ code ( I need to create this object inside my add on)? This will help me understand how to use GDL objects to render points within the project.&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 13:23:34 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/606612#M9443</guid>
      <dc:creator>cad developer</dc:creator>
      <dc:date>2024-06-05T13:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Draw 3D point through Code in ArchiCAD?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/606618#M9444</link>
      <description>&lt;P&gt;You can create the object just using the built-in library part creation tools (File &amp;gt; Libraries and Objects &amp;gt; New Object…)&lt;/P&gt;
&lt;P&gt;You could create parameters to store the x/y/z coordinates and a 3D script render them. You can create library parts in the add-on too, but I don't think it will help in this case (but if you're interested, refer to the &lt;EM&gt;LibPart_Test&lt;/EM&gt; example project, specifically &lt;EM&gt;Do_CreateLibraryPart&lt;/EM&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Either way – once you have an object – the add-on could place instances of this object and fill the relevant parameters with the coordinates. There is similar code for placing a window object in the&amp;nbsp;&lt;EM&gt;Element_Test&lt;/EM&gt; example, specifically&amp;nbsp;&lt;EM&gt;Do_CreateWindow.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Jun 2024 14:02:26 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/606618#M9444</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2024-06-05T14:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Draw 3D point through Code in ArchiCAD?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/609812#M9538</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.graphisoft.com/t5/user/viewprofilepage/user-id/733"&gt;@Ralph Wessel&lt;/a&gt; ,&amp;nbsp;&lt;BR /&gt;Thank you for the response. I am able to create GDL object sphere and I am working on setting position for the object through code. However, I need to change the material of the object so that I can assign colors to the sphere. Can you suggest any documentation or solution so that I can change the material and color of the GDL object?&lt;BR /&gt;Eagerly waiting for you response.&lt;BR /&gt;Regards.&lt;BR /&gt;CAD Developer.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 09:57:44 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/609812#M9538</guid>
      <dc:creator>cad developer</dc:creator>
      <dc:date>2024-06-20T09:57:44Z</dc:date>
    </item>
    <item>
      <title>Re: Draw 3D point through Code in ArchiCAD?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/609817#M9539</link>
      <description>&lt;P&gt;GDL supports a wide variety of parameter types, including materials. I suggest adding another parameter to your object for material and populating that in your code in addition to the sphere position.&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jun 2024 10:15:52 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/Draw-3D-point-through-Code-in-ArchiCAD/m-p/609817#M9539</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2024-06-20T10:15:52Z</dc:date>
    </item>
  </channel>
</rss>

