Do you mean feature-to-polygon (your link isn't working)? This would require an advanced license. If you are looking to recreate that functionality from scratch there are not posted solutions that emulate it for all cases given the rule set to construct polygons from lower geometries in all cases.
Do you have a particular use case that you want to perform that is easier like a convex hull? Perhaps you need to provide an example of what you need to do.
Hi Dan, the question spawns from this one: https://community.esri.com/thread/195360-polyline-to-polygon-comparison-tool-and-own-code
sorry for the broken link.Please see below:
How To: Access the Polygon Feature Class From Lines command in ArcGIS 10
Thanks fcbassongis . Sibghat, if you are looking to do this in python... ie in pure python... I would recommend the suggestions in your originating thread
Dear Dan Patters,
construct polygon using advanced editing tool or
To recreate their functionality? I have none (that would be simple in any event)
Maybe not the best ArcGIS answer, but if you have no other option you should look at the QGIS Polygonize tool, which can be found in the Processing Toolbox - won't work with Esri Feature Classes of course, but it's free .
Dear FC,
I have created a new python addin containg 3 buttons.first my script runs to convert lines ,Construct polygon tool and then spatial join script.
Can you just tell me where Construct polygon tool is located in arcgis folder??so that i can run that tool in button 1 script.
No idea. Why don't you just customize your menu and add the button from the Commands list?