Previous topic

civpy.survey.SurveyStake.init_station

Next topic

civpy.survey.Alignment

This Page

civpy.survey.SurveyStake.init_xy

classmethod SurveyStake.init_xy(x, y, z=0, height=0, rotation=0, lock_z=False, **kwargs)[source]

Initializes a survey stake based on an (x, y) global coordinate.

Parameters:
x, y, z : float

The x, y, and z coordinates.

height : float

The height of the point above z.

rotation : float

The rotation of the point about its base point.

lock_z : float

If False, the alignment will be snapped to the TIN (if applicable) during certain updates. Otherwise, the z coordinate will remain fixed.