Can someone post an example of creating a topology polygon from a closed polyline?
I am stuck ...
What I have got so far:
ObjectIdCollection ids1 = new ObjectIdCollection();
then I add the polyline to the ids1
then....
Autodesk.Gis.Map.Topology.Topologies Topos1 = Autodesk.Gis.Map.HostMapApplicationServices.Application.ActiveProject.Topologies;
then the error...
Topos1.Create("aa", ids1, Autodesk.Gis.Map.Topology.TopologyTypes.Polygon);
Thanks