Professional Documents
Culture Documents
2DO-Macro Mas Compatible (Para Ingles)
2DO-Macro Mas Compatible (Para Ingles)
Sub main()
isRefGeom = False
If dicFeatsCount.exists(swFeat.GetTypeName2()) Then
dicFeatsCount.Item(swFeat.GetTypeName2()) =
dicFeatsCount.Item(swFeat.GetTypeName2()) + 1
Else
dicFeatsCount.Add swFeat.GetTypeName2(), 1
End If
If dicBaseNames.exists(swFeat.GetTypeName2()) Then
newName = dicBaseNames.Item(swFeat.GetTypeName2())
Else
newName = swFeat.GetTypeName2()
End If
Dim i As Integer
If isIncremented Then
newName = newName & dicFeatsCount.Item(swFeat.GetTypeName2())
End If
swFeat.Name = newName
If isRefGeom Then
swFeat.Name = FrontPlane
Wend
End Sub
Wend
End Sub