<?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: how to modify the dimension text angle? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-modify-the-dimension-text-angle/m-p/125104#M6113</link>
    <description>Hi, &lt;BR /&gt;
I have tried the same thing and unsuccessful. But if you change the text angle manually first then the program will work. &lt;BR /&gt;
One other thing I found is if the dimension has mixture of static and non static nodes, the ACAPI_Element_Change function will remove all the static nodes.&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Hoa</description>
    <pubDate>Tue, 23 Nov 2010 04:47:58 GMT</pubDate>
    <dc:creator>Hoa Tu</dc:creator>
    <dc:date>2010-11-23T04:47:58Z</dc:date>
    <item>
      <title>how to modify the dimension text angle?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-modify-the-dimension-text-angle/m-p/125103#M6112</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;hello&lt;BR /&gt;&lt;BR /&gt;how to modify the dimension text angle?&lt;BR /&gt;&lt;BR /&gt;we can get text value, but it is not modify below code..&lt;BR /&gt;&lt;BR /&gt;help me.&lt;BR /&gt;&lt;BR /&gt;thank you.&lt;BR /&gt;&lt;BR /&gt;-------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;AcElemHeadArray headArray;&lt;BR /&gt;long nSel = AcElement::GetSelection(&amp;amp;headArray, API_DimensionID);&lt;BR /&gt;&lt;BR /&gt;for (int i = 0; i &amp;lt; nSel; i++)&lt;BR /&gt;{&lt;BR /&gt;AcElemHead head = headArray.GetAt(i);&lt;BR /&gt;AcElemDimension dimen;&lt;BR /&gt;if (!dimen.Get(head.GetIndex())) continue;&lt;BR /&gt;&lt;BR /&gt;API_ElementMemo* memo = dimen.GetMemo();&lt;BR /&gt;API_DimElem** dimElems = memo-&amp;gt;dimElems;&lt;BR /&gt;&lt;BR /&gt;long nCount = dimen.GetNDimElem();&lt;BR /&gt;&lt;BR /&gt;for(int j=0;j&amp;lt;nCount-1;j++){ &lt;BR /&gt;((*dimElems)).note.noteAngle= 3.14;&lt;BR /&gt;dimen.Change();&lt;BR /&gt;} &lt;BR /&gt;}&lt;/DIV&gt;
&lt;P&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="xx.jpg" style="width: 999px;"&gt;&lt;img src="https://community.graphisoft.com/t5/image/serverpage/image-id/67676i892682785F5AB2F1/image-size/large?v=v2&amp;amp;px=999" role="button" title="xx.jpg" alt="xx.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2024 08:58:05 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/how-to-modify-the-dimension-text-angle/m-p/125103#M6112</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-09-09T08:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: how to modify the dimension text angle?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/how-to-modify-the-dimension-text-angle/m-p/125104#M6113</link>
      <description>Hi, &lt;BR /&gt;
I have tried the same thing and unsuccessful. But if you change the text angle manually first then the program will work. &lt;BR /&gt;
One other thing I found is if the dimension has mixture of static and non static nodes, the ACAPI_Element_Change function will remove all the static nodes.&lt;BR /&gt;
&lt;BR /&gt;
Cheers,&lt;BR /&gt;
Hoa</description>
      <pubDate>Tue, 23 Nov 2010 04:47:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/how-to-modify-the-dimension-text-angle/m-p/125104#M6113</guid>
      <dc:creator>Hoa Tu</dc:creator>
      <dc:date>2010-11-23T04:47:58Z</dc:date>
    </item>
  </channel>
</rss>

