CurrentAlignment Property

Land Auto

CurrentAlignment Property

Sets and gets the current alignment.

See Also |Example

Signature

object.CurrentAlignment

object

Alignments The object or objects this property applies to.

CurrentAlignment

String; read-write
The current alignment name.

Remarks

All alignments initially are loaded with read only permission. Only the current alignment can have write permissions. However, another user could have all ready locked that alignment. If this happens, read permissions will be granted for the current alignment.

By changing the current alignment, you are a) locking / unlocking alignments and b) setting the current alignment in the AutoCAD Land Desktop menus.

Setting CurrentAlignment to an empty string removes the current alignment status.