


{"id":391666,"date":"2024-10-29T01:04:13","date_gmt":"2024-10-29T01:04:13","guid":{"rendered":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/391666\/"},"modified":"2024-10-29T01:04:13","modified_gmt":"2024-10-29T01:04:13","slug":"391666","status":"publish","type":"reply","link":"https:\/\/innovationspace.ansys.com\/forum\/forums\/reply\/391666\/","title":{"rendered":"Reply To: Creating a polygon with tilted sidewalls via python API"},"content":{"rendered":"<p>&lt;p&gt;Hello Matthias,&lt;\/p&gt;&lt;p&gt;It seems you are not able to complete the layer setting with&lt;\/p&gt;<\/p>\n<pre>mode.set(\"geometry\", {\"1:0\": vertices})<\/pre>\n<p>&lt;p&gt;&lt;br&gt;Try to use&lt;\/p&gt;<\/p>\n<pre>mode.set(\"geometry\", {\"1:0\": [vertices]})<\/pre>\n<p>&lt;p&gt;instead and see if it helps.&lt;\/p&gt;&lt;p&gt;Also, since you&#8217;re calculating the vertices yourself, you can pass them directly to the LayerBuilder without the need to create an extruded polygon.&lt;\/p&gt;&lt;p&gt;Best regards,&lt;br&gt;Kirill&lt;\/p&gt;<\/p>\n","protected":false},"template":"","class_list":["post-391666","reply","type-reply","status-publish","hentry"],"aioseo_notices":[],"acf":[],"_links":{"self":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/391666","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies"}],"about":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/types\/reply"}],"version-history":[{"count":0,"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/replies\/391666\/revisions"}],"wp:attachment":[{"href":"https:\/\/innovationspace.ansys.com\/forum\/wp-json\/wp\/v2\/media?parent=391666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}