Hi All
I’m have trouble with my code for creating a Dissolved Topology, in particular with the Expression.
I can't find any examples etc.
Would anyone have an example or be able to give some advice on this.
The Field and Object Data Table already exist.
Dim topoModel As TopologyModel = Nothing
Dim app As MapApplication = HostMapApplicationServices.Application
Dim topos As Topologies = app.ActiveProject.Topologies
Dim odDataField As ObjectDataField
odDataField.ODFieldName = "FieldName"
odDataField.ODTableName = "ODTableName"
If topos.Exists(strTopoName) Then
topoModel = topos.Item(strTopoName)
topoModel.Dissolve(":FieldName@ODTableName", "Dissolve_Test", "Dissolve Test", odDataField)
End If
I tried the above code and get the following error as attached.
I also need to dissolve the topo to get a outline boundary of the Topology and propose to do this using the Layer Property would any one know this expression I tried the following among other variation, but got the same error as above.
topoModel.Dissolve(":Property.Layer", "Dissolve_Test")
Any help on this matter would be greatly received.
Thank You.