.NET

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

Topology.

192 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
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.