Share

AcDbGeoVerticalCoordinateSystem::create

C++

static ACDBCORE2D_PORT Acad::ErrorStatus create(
    const AcString& coordSysIdOrFullDef, 
    AcDbGeoVerticalCoordinateSystem*& pCoordSys
);

Description

Instantiates a new AcDbGeoVerticalCoordinateSystem object from the current virtual catalog.

If no such vertical CRS definition exists but the input string contains enough information(i.e. WKT or XML) for constructing a temporary AcDbGeoVerticalCoordinateSystem instance, this is being returned instead.

Parameters

Parameters Description
coordSysIdOrFullDef The ID or the (proprietary) XML representation of the vertical CRS definition to load. The XML must contain CRS. The WKT is not supported yet.Valid examples are:
  • EGM2008_height > Autodesk identifier (default)
pCoordSys Input/output pointer to AcDbGeoVerticalCoordinateSystem object. Caller is responsible for deleting the returned object after use.

Returns

Returns Acad::eOk if successful.

Links

AcDbGeoVerticalCoordinateSystem

Was this information helpful?