<?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: Create dimension using arcpy in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128907#M63348</link>
    <description>&lt;P&gt;There is no "arcpy" method of creating one from scratch.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/dimensions/create-a-dimension-feature-class.htm" target="_blank"&gt;Create a dimension feature class—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;is all I can find&lt;/P&gt;</description>
    <pubDate>Mon, 27 Dec 2021 11:00:29 GMT</pubDate>
    <dc:creator>DanPatterson</dc:creator>
    <dc:date>2021-12-27T11:00:29Z</dc:date>
    <item>
      <title>Create dimension using arcpy</title>
      <link>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128865#M63340</link>
      <description>&lt;P&gt;How, can I create dimensions using arcpy&lt;/P&gt;&lt;P&gt;I was able to create polygons for example, but when it comes to dimensions I can't figure the right inputs to the class&lt;/P&gt;&lt;P&gt;Also, I found out that there is a class called arcpy. Dimension but it looks like it's empty compari g to polygon, polyline or point class&lt;/P&gt;</description>
      <pubDate>Sun, 26 Dec 2021 22:13:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128865#M63340</guid>
      <dc:creator>Khalid_Elejla</dc:creator>
      <dc:date>2021-12-26T22:13:05Z</dc:date>
    </item>
    <item>
      <title>Re: Create dimension using arcpy</title>
      <link>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128866#M63341</link>
      <description>&lt;P&gt;Geometry construction is found in the help topics&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/arcpy/classes/geometry.htm" target="_blank"&gt;Geometry—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;and there are links for Polygon, polyline etc.&lt;/P&gt;&lt;P&gt;What type of "dimension" are you referring to if it is no a spatial dimension? time?&lt;/P&gt;</description>
      <pubDate>Sun, 26 Dec 2021 22:31:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128866#M63341</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-26T22:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create dimension using arcpy</title>
      <link>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128881#M63345</link>
      <description>&lt;P&gt;Thanks, Dan.&lt;/P&gt;&lt;P&gt;I am referring to the dimension feature class, I have a dimension layer and I want to add more dimensions(aligned dimension for example) to my map using arcpy&lt;/P&gt;&lt;P&gt;I use the following code to add polygons to my feature dataset but I couldn't do the same to the dimension layer using arcpy.Dimension class:&lt;/P&gt;&lt;LI-CODE lang="python"&gt;import arcpy

# Create a polygon geometry
array = arcpy.Array([arcpy.Point(0, 0),
                     arcpy.Point(0, 1000),
                     arcpy.Point(20, 900)
                     ])
polygon = arcpy.Polygon(array)

# Open an InsertCursor and insert the new geometry
cursor = arcpy.da.InsertCursor(r'C:\Users\kejla\Documents\ArcGIS\Projects\Gaza_Municapility\Default.gdb\test_polygon', ['SHAPE@'])
cursor.insertRow([polygon])

# Delete cursor object
del cursor&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 08:06:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128881#M63345</guid>
      <dc:creator>Khalid_Elejla</dc:creator>
      <dc:date>2021-12-27T08:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create dimension using arcpy</title>
      <link>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128892#M63346</link>
      <description>&lt;P&gt;A polygon needs 4 points to form a triangle, you need to add the first point to the end of the list to close the polygon&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 09:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128892#M63346</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-27T09:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Create dimension using arcpy</title>
      <link>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128906#M63347</link>
      <description>&lt;P&gt;I don't have problems in creating polygons, could you please guide me on how to do the same for the dimension layer, in other words how to add new dimension using arcpy&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 10:49:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128906#M63347</guid>
      <dc:creator>Khalid_Elejla</dc:creator>
      <dc:date>2021-12-27T10:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create dimension using arcpy</title>
      <link>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128907#M63348</link>
      <description>&lt;P&gt;There is no "arcpy" method of creating one from scratch.&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/data/dimensions/create-a-dimension-feature-class.htm" target="_blank"&gt;Create a dimension feature class—ArcGIS Pro | Documentation&lt;/A&gt;&lt;/P&gt;&lt;P&gt;is all I can find&lt;/P&gt;</description>
      <pubDate>Mon, 27 Dec 2021 11:00:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/create-dimension-using-arcpy/m-p/1128907#M63348</guid>
      <dc:creator>DanPatterson</dc:creator>
      <dc:date>2021-12-27T11:00:29Z</dc:date>
    </item>
  </channel>
</rss>

