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.
1 Answer 1
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.
-
That sounds pretty awesome and that will work. I figured there probably wasn't a way to duplicate the functionality of being able to select and lock elements in placeuser14773– user147732013年02月01日 17:23:01 +00:00Commented Feb 1, 2013 at 17:23