<?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 How I can change one vertex point of the Modeler::Body*  in API_MorphType element ? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-I-can-change-one-vertex-point-of-the-Modeler-Body-in-API/m-p/278020#M3323</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;I have one line morph element.&lt;BR /&gt;I need to change z coords of the vertexes as I want.&lt;BR /&gt;How I Can modify it?&lt;/DIV&gt;</description>
    <pubDate>Thu, 29 Sep 2022 07:50:09 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2022-09-29T07:50:09Z</dc:date>
    <item>
      <title>How I can change one vertex point of the Modeler::Body*  in API_MorphType element ?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-I-can-change-one-vertex-point-of-the-Modeler-Body-in-API/m-p/278020#M3323</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;I have one line morph element.&lt;BR /&gt;I need to change z coords of the vertexes as I want.&lt;BR /&gt;How I Can modify it?&lt;/DIV&gt;</description>
      <pubDate>Thu, 29 Sep 2022 07:50:09 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-I-can-change-one-vertex-point-of-the-Modeler-Body-in-API/m-p/278020#M3323</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2022-09-29T07:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: How I can change one vertex point of the Modeler::Body*  in API_MorphType element ?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-I-can-change-one-vertex-point-of-the-Modeler-Body-in-API/m-p/278021#M3324</link>
      <description>I find it!))&lt;BR /&gt;
May be usefull to anybody.&lt;BR /&gt;
It's work:&lt;BR /&gt;
--------------&lt;BR /&gt;
	Modeler::MeshBody* mb;&lt;BR /&gt;
	VERT *vrt;&lt;BR /&gt;
	int ivcount;&lt;BR /&gt;
	mb = element_memo.morphBody;&lt;BR /&gt;
	if (mb-&amp;gt;IsWireBody())&lt;BR /&gt;
	{&lt;BR /&gt;
		ivcount = mb-&amp;gt;GetVertexCount();&lt;BR /&gt;
		for (int i = 0; i &amp;lt; ivcount; i++)&lt;BR /&gt;
		{&lt;BR /&gt;
			vrt = (VERT*)&amp;amp;mb-&amp;gt;GetConstVertex(i);&lt;BR /&gt;
			vrt-&amp;gt;x = 1;&lt;BR /&gt;
		}&lt;BR /&gt;
        }&lt;BR /&gt;
&lt;BR /&gt;
// And then do change memo to apply changes on Morph element.</description>
      <pubDate>Mon, 09 Dec 2019 10:45:39 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-I-can-change-one-vertex-point-of-the-Modeler-Body-in-API/m-p/278021#M3324</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-09T10:45:39Z</dc:date>
    </item>
  </channel>
</rss>

