Is it possible to lock elements in layout view in Python? I know it is possible in the production cartography extension from ESRI but all I need is the funcionality to lock elements. I am wondering if there is a way to do this in Python.
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
To "lock" layout elements in position you could run a Python script that iterates through all of them (ListLayoutElements) and then uses their name property to lookup values you want for their elementPositionX, elementPositionY, elementHeight and elementWidth properties. Running this script any time that you want to be certain elements are in their correct position would move any that have strayed back to the position and size you had set. |
|||
|
