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