Message 1 of 13
AddTinSurface Method
Not applicable
11-03-2006
11:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is there a bug in the current method to create a new TIN surface? I keep getting an error when the time comes to create the new surface object.
'AeccDB is set public already
'create the new tin surface (my engineered fill surface)
Dim surfs As AeccSurfaces
Dim efsurf As AeccSurface 'tin surface
Dim efdata As AeccTinCreationData
Set efdata = New AeccTinCreationData
efdata.name = "TestTIN"
efdata.Style = "Standard"
efdata.BaseLayer = "0"
efdata.Description = "Test"
efdata.Layer = "0"
Set surfs = AeccDb.Surfaces
Set efsurf = surfs.AddTinSurface(efdata)
It bugs out at the last line "Invalid procedure call or arguement"...
i have played with it long enough, Help?
Thanks
-Jeff
'AeccDB is set public already
'create the new tin surface (my engineered fill surface)
Dim surfs As AeccSurfaces
Dim efsurf As AeccSurface 'tin surface
Dim efdata As AeccTinCreationData
Set efdata = New AeccTinCreationData
efdata.name = "TestTIN"
efdata.Style = "Standard"
efdata.BaseLayer = "0"
efdata.Description = "Test"
efdata.Layer = "0"
Set surfs = AeccDb.Surfaces
Set efsurf = surfs.AddTinSurface(efdata)
It bugs out at the last line "Invalid procedure call or arguement"...
i have played with it long enough, Help?
Thanks
-Jeff
Alumni