Land Auto

Delete Method

Delete Method

Deletes a specified object.

See Also | Example

Signature: Overview

l Alignments

l Boundaries

l BreakLines

l CogoPoints

l ContourItems

l DEMFiles

l DescriptionKeyFile

l DescriptionKeyFiles

l EGProfiles (Civil Engineering Feature)

l FGProfiles (Civil Engineering Feature)

l Parcels

l PointFiles

l PointGroupNames

l PointGroups

l Projects

l Prototypes

l PVIs (Civil Engineering Feature)

l StationEquations

l Surfaces


Deletes an Alignment and removes it from the Alignments collection.

Signature

object.Delete(Name)

object

Alignments The object or objects this property applies to.

Name

String; input-only
The alignment name to delete.

Remarks

Delete will remove the alignment from the database and the drawing. If the deleted alignment was set current there will not be any alignment set current after the delete has taken place.


Given a Boundary identifier, deletes that Boundary from the Surface.

Signature

object.Delete(Id)

object

Boundaries
The object or objects this property applies to.

Id

Long; input-only
The identifier of the boundary.


Deletes the BreakLine from the Surface.

Signature

object.Delete(Id)

object

BreakLines
The object or objects this property applies to.

Id

Long; input-only
The Id of the breakline to delete.

Remarks

Delete removes the BreakLine from the Surface. It will also remove the BreakLine from the BreakLines collection. The Surface must be built for the change to take affect.


Deletes the point from the project database.

Signature

object.Delete(PointNumber)

object

CogoPoints
The object or objects this property applies to.

PointNumber

Long; input-only
The Cogo Point number to be deleted.


Deletes a Digital Elevation Model file from the Surface.

Signature

object.Delete(FullName)

object

DEMFiles
The object or objects this property applies to.

FullName

String; input-only
Full name of the DEM file to be deleted.


Deletes a ContourItem from the Surface.

Signature

object.Delete(Id)

object

ContourItems
The object or objects this property applies to.

Id

Long; input-only
The Id of the ContourItem to be deleted.


Deletes the DescriptionKey.

Signature

object.Delete(syntax)

object

DescriptionKeyFile
The object or objects this property applies to.

syntax

String; input-only
The syntax of the DescriptionKey to delete.


Deletes the DescriptionKeyFile and removes it from the collection for the project database.

Signature

object.Delete(Name)

object

DescriptionKeyFiles
The object or objects this property applies to.

Name

String; input-only
The name of the DescriptionKeyFile to delete.


Deletes a EGProfile and removes it from the EGProfiles collection.

Signiture

Object.Delete(Type, SurfaceName)

object

EGProfiles
The object or objects this property applies to.

Type

eAeccEGProfilesType enum; input-only
The type to delete from the EGProfiles collection.

kEgCenter:

Existing ground center profile

kEgLeft:

Existing ground left profile

kEgRight:

Existing ground right profile

SurfaceName

String; input-only
The name of the surface.


Deletes a Finised Ground Profile.

Signiture

Object.Delete(Type)

object

FGProfiles
The object or objects this property applies to.

Type

eAeccFGProfileType enum; input-only
The type of Finished Ground Profile to delete.

kFgCenter:

Finished ground center profile

kFgDitchLeft:

Finished ground left ditch profile

kFgDitchRight:

Finished ground right ditch profile

kFgLeft1:

Finished ground left profile 1

kFgLeft2:

Finished ground left profile 2

kFgLeft3:

Finished ground left profile 3

kFgLeft4:

Finished ground left profile 4

kFgLeft5:

Finished ground left profile 5

kFgLeft6:

Finished ground left profile 6

kFgLeft7:

Finished ground left profile 7

kFgLeft8:

Finished ground left profile 8

kFgNone:

Finished ground none

kFgRight1:

Finished ground right profile 1

kFgRight2:

Finished ground right profile 2

kFgRight3:

Finished ground right profile 3

kFgRight4:

Finished ground right profile 4

kFgRight5:

Finished ground right profile 5

kFgRight6:

Finished ground right profile 6

kFgRight7:

Finished ground right profile 7

kFgRight8:

Finished ground right profile 8


Deletes a Parcel from the Parcels collection.

Signature

object.Delete(Name)

object

Parcels
The object or objects this property applies to.

Name

String; input-only
The name of the Parcel to delete.


Deletes a point file from the PointFiles collection.

Signature

object.Delete(FullName)

object

PointFiles
The object or objects this property applies to.

FullName

String; input-only
The full name of the PointFile to delete.

Remarks

Remove will not delete the physical file; it only removes the FileName from the Surface definition.


Deletes a PointGroupName from the PointGroupNames collection.

Signature

object.Delete(Name)

object

PointGroupNames
The object or objects this property applies to.

Name

String; input-only
The name of the PointGroupName to delete.


Deletes a point group from the project database.

Signature

object.Delete(Name)

object

PointGroups
The object or objects this property applies to.

Name

String; input-only


Deletes a specific project

Signature

object.Delete(ProjectName)

object

Projects
The object or objects this property applies to.

ProjectName

String; input-only
The name of the project to delete.

Remarks

The Delete method deletes everything in the <project name> folder, including the drawing files if they are located in the project folder.

No warning dialog is presented. The project is deleted, and not moved to the Windows Recycle Bin.


Deletes the specified prototype.

Signature

object.Delete(PrototypeName)

object

Prototypes
The object or objects this property applies to.

PrototypeName

String; input-only
The name of the prototype you wish to delete.

Remarks

A warning dialog box is displayed, informing you that all files and folders within the prototype folder will be deleted.


Deletes a PVI.

Signiture

Object.Delete(Station)

object

PVIs
The object or objects this property applies to.

Station

Double; input-only
The Station of the PVI to delete.


Deletes a station equation from the alignment.

Signature

object.Delete(Index)

object

StationEquations
The object or objects this property applies to.

Index

Variant; input-only
The index location in the collection for the member item to query.The index must be either an integer or a string. If an integer, the index must be between 0 and N-1, where N is the number of objects in the collection or selection set.

Remarks

If a station equation is deleted, then the indices for the StationEquations collection will change.


Deletes the Surface from the Project and from the Surfaces collection.

Signature

object.Delete(SurfaceName)

object

Surfaces
The object or objects this property applies to.

SurfaceName

String; input-only
Name of the surface to be deleted.