Land Auto

Import Method

Import Method

Draws the alignment, cross section, existing ground profile, parcel, or surface into the current drawing.

See Also | Example

Signature: Overview

l Alignment

l CrossSection (Civil Engineering Feature)

l EGProfile (Civil Engineering Feature)

l Parcel

l Surface


Draws an alignment into the current drawing.

Signature

object.Import()

object

Alignment The object or objects this property applies to.

Remarks

Import will draw the alignment in the current drawing using the current layer. When an alignment is imported, external data is stored on the AutoCAD entities and the entity ids are stored externally. If you want to be able to select an alignment from a drawing, you need to use the Import command. If you draw the alignment using your own routines, this extra information will not be supplied.


Draws an alignment cross section into the current drawing.

Signature

object.Import(Coordinates[, bBlockOnly])

object

CrossSection
The object or objects this property applies to.

Coordinates

Variant (array of doubles); input-only
The starting point in X, Y format.

bBlockOnly

Boolean; input only; optional
True:  Only the block is inserted..
False: The cross section is drawn along with the block (default).


Draws the existing ground profile as a Quick Profile in the current drawing.

Signature

object.Import(Coordinates[, StartingStation][, EndingStation][, DatumElevation][, VerticalScale][, bLeftToRight][, bBlockOnly)

object

EGProfile
The object or objects this property applies to.

Coordinates

Variant (2 element array of doubles); input-only
The starting point in X, Y format.

StartingStation

Double; input only; optional
The starting station of the alignment. The default is the StartingStation of the Alignment object.

EndingStation

Double; input only; optional
The ending station of the alignment. The default is the EndingStation of the Alignment object.

DatumElevation

Double; input only; optional
The elevation of the base line for the profile. The default value is calculated using the minimum elevation of the profile.

VerticalScale

Double; input only; optional
The vertical scale applied to the profile. The default value is the VerticalScale of the DatabasePreferences object.

bLeftToRight

Boolean; input only; optional
True:  The profile is drawn left to right (default).
False: The profile is drawn right to left.

bBlockOnly

Boolean; input only; optional
True:  Only the block is inserted..
False: The profile is drawn along with the block (default).

Remarks

You may import a profile for center, left or right existing ground. If you import more than 1 profile for a given alignment, you can identify it using the Coordinates property of the ProfileBlock object (note that the Land Desktop commands do not support more than one profile per alignment).


Draws a parcel into the current drawing.

Signature

object.Import()

object

Parcel
The object or objects this property applies to.


Draws a surface in the current drawing as 3D surfaces.

Signature

object.Import()

object

Surface
The object or objects this property applies to.

Remarks

The Import function is not supported for Volume Surfaces (Composite/Diff Grid).