.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

map3d topology

1 REPLY 1
Reply
Message 1 of 2
dan.popescu9NZJ8
267 Views, 1 Reply

map3d topology

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

 

1 REPLY 1
Message 2 of 2

Hi,

 

I'm not sure, but I think you have to use lines (not polylines) to create a topology, so you have to explode the polylines, or recreate the geometry with lines.

 

Gaston Nunez

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Technology Administrators


Autodesk Design & Make Report