Lock Property

Gets or sets whether the Civil 3D GUI shows this surface as locked.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0

Syntax

C#

public bool Lock { get; set; }

Visual Basic

Public Property Lock As Boolean
	Get
	Set

Visual C++

public:
property bool Lock {
	bool get ();
	void set (bool value);
}

Remarks

Note that this property does not lock the Surface object. You can use it to get the Lock/Unlock status on the GUI. If this property is set to "true", you still can modify the name and any other properties of the Surface object.

See Also