Share

AcDb2dPolyline::setElevation

C++

Acad::ErrorStatus setElevation(
    double
);

Description

Sets newVal to be the elevation of the polyline. The elevation is the OCS Z axis value of the polyline (that is, the shortest distance from the WCS origin to the plane containing the polyline).

The elevation value is used for the Z coordinate of DXF group code 10 (group code 30 in a DXF file).

Returns Acad::eOk if successful, or Acad::eInvalidInput if the data passed in is not acceptable.

Parameters

Parameters Description
unnamed Input elevation value

Links

AcDb2dPolyline

Was this information helpful?