.NET

Reply
*autodesk.autocad.customization.dotnet
Message 1 of 1 (185 Views)

Topology.

185 Views, 0 Replies
06-18-2006 07:55 AM
hi everyone,

i'm trying to create a topology with block centroid and the function

SetCentroidCreationSettings(ByVal centroidCreationSettings As
Autodesk.Gis.Map.Topology.PointCreationSettings)

is Member of: Autodesk.Gis.Map.Topology.TopologyModel

and i can't get a refrence to it Prior to creating a new topology

i'm working with VB.NET .



Dim topoModel As TopologyModel = Nothing

Dim app As Autodesk.Gis.Map.MapApplication =
Autodesk.Gis.Map.HostMapApplicationServices.Application

Dim topos As Topologies = app.ActiveProject.Topologies

Try

topos.Create(name, linkCol, nodeCol, polygonCentroidCol, topologyType)

topoModel = topos(name)

topoModel.Open(Autodesk.Gis.Map.Topology.OpenMode.ForWrite)

topoModel.Description = desc

I'll appreciate it if anyone can help.
thank you all,
Danny
Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.