<?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 to change floor plan cut definition? in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-floor-plan-cut-definition/m-p/632574#M9818</link>
    <description>&lt;P&gt;I want to change floor cut plan using api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it's not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;API_FloorPlanCutDefinition floorPlanCutDefinition;
GSErrCode testErr = ACAPI_Environment(APIEnv_GetPreferencesID, &amp;amp;floorPlanCutDefinition, (void*)APIPrefs_FloorPlanCutPlaneDef);
floorPlanCutDefinition.currCutLevel += 1;
testErr = ACAPI_SetPreferences(1, sizeof(API_FloorPlanCutDefinition), &amp;amp;floorPlanCutDefinition);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;testErr is 0. But current cut level is not changed.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 08:17:15 GMT</pubDate>
    <dc:creator>YONGWOO KIM</dc:creator>
    <dc:date>2024-09-26T08:17:15Z</dc:date>
    <item>
      <title>How to change floor plan cut definition?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-floor-plan-cut-definition/m-p/632574#M9818</link>
      <description>&lt;P&gt;I want to change floor cut plan using api.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But it's not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="cpp"&gt;API_FloorPlanCutDefinition floorPlanCutDefinition;
GSErrCode testErr = ACAPI_Environment(APIEnv_GetPreferencesID, &amp;amp;floorPlanCutDefinition, (void*)APIPrefs_FloorPlanCutPlaneDef);
floorPlanCutDefinition.currCutLevel += 1;
testErr = ACAPI_SetPreferences(1, sizeof(API_FloorPlanCutDefinition), &amp;amp;floorPlanCutDefinition);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;testErr is 0. But current cut level is not changed.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 08:17:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-floor-plan-cut-definition/m-p/632574#M9818</guid>
      <dc:creator>YONGWOO KIM</dc:creator>
      <dc:date>2024-09-26T08:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to change floor plan cut definition?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-floor-plan-cut-definition/m-p/635926#M9899</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Please try the following code on AC27(build5030) to see whether you can change the cur level.&lt;/P&gt;
&lt;P&gt;HTH.&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;	GSErrCode err = NoError;
	API_FloorPlanCutDefinition prefs = {};

	err = ACAPI_ProjectSetting_GetPreferences( &amp;amp;prefs, APIPrefs_FloorPlanCutPlaneDef);
	if (err == NoError) {
		prefs.currCutLevel = newCutLevel;

		err = ACAPI_ProjectSetting_SetPreferences( &amp;amp;prefs, APIPrefs_FloorPlanCutPlaneDef);
	}
&lt;/LI-CODE&gt;</description>
      <pubDate>Wed, 16 Oct 2024 08:09:57 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-floor-plan-cut-definition/m-p/635926#M9899</guid>
      <dc:creator>Hiromichi Shinkawa</dc:creator>
      <dc:date>2024-10-16T08:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to change floor plan cut definition?</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-floor-plan-cut-definition/m-p/636731#M9917</link>
      <description>&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;Hi,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN data-teams="true"&gt;&lt;SPAN class="ui-provider a b c d e f g h i j k l m n o p q r s t u v w x y z ab ac ae af ag ah ai aj ak"&gt;If you feel this is a good solution, please hit that “Accept as Solution” button. This helps others quickly find the answers. Thank you!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Oct 2024 00:39:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/How-to-change-floor-plan-cut-definition/m-p/636731#M9917</guid>
      <dc:creator>Hiromichi Shinkawa</dc:creator>
      <dc:date>2024-10-23T00:39:27Z</dc:date>
    </item>
  </channel>
</rss>

