PLGetVerticalAngle

<< Click to Display Table of Contents >>

Navigation:  PipeLay > Excel Add-In > Function Reference > Calculation Functions >

PLGetVerticalAngle

Previous page Next page

PURPOSE

Calculate the Vertical Angle for the specified element.

NOTE: You can also use PLGetValue with parameter number 32 to retrieve the same data.

SYNTAX

PLGetVerticalAngle( DatabaseName, TimeIndex, ElementIndex )

PARAMETERS

DatabaseName (Character String)

The full path and filename to the relevant database. The file extension is optional.

TimeIndex (Integer)

The relevant time index, from 1 to the number of solutions in the database.

ElementIndex (Integer)

The index of the required element from 1 to number of elements.

OUTPUT

A numerical value containing the Vertical Angle for the specified parameters or one of the following error codes:

-999999998

Invalid Database.

-999999995

Invalid Time Index.

-999999990

No Data Available.

-999999986

The Element Index is out of range.

-999999980

General Read Error.

UNITS

Imperial

Metric

degrees

degrees

SEE ALSO

Error Codes

PLGetNumSolutionTimes

PLGetElementCount

PLGetValue

Back to Table of Contents