What the heck are these?This map was fine the last time I opened it, but now there are these green lines. I've run a basic python script to update layer symbology in between opening the map before and opening it now, but these lines haven't appeared in any of the other maps I ran the same script on. The green mystery lines only appear in the layout view and they seem to go on forever. They don't seem to be associated with any of the layers in my map (I tried turning them off one at a time in the TOC). I can't select them or identify them. Closing and reopening the mxd doesn't help.thanks, Angela
I think these might be guides in your layout. The page layout help talks about them a bit. Try right clicking on the ruler on the left side of your layout and selecting Clear All Guides. Not positive, but would be worth a try.
If this issue hasn't been solved, here's how I fixed mine when I encountered this same problem. Draw a rectangle on the line(s), like if you're selecting elements. You won't see any visible indication that it's selected but that�??s okay. Mouse right click on the white portion of the screen and choose Delete.
thanks Beverly - fixed it!!
Thanks for this. I might add that "drawing a rectangle" with the select elements tool (black arrow pointer) instead of the select tool (white arrow with blue and white pointer) would do the job.
I agree. No sense at all, but hey if it works... !
This worked! Thanks
I had this problem too, the lines originate from an area on the ruler, when you zoom in and out the angle changes so that they are pointing to the same area on the side ruler.
This worked perfectly, thanks!
I am not sure what technically those green lines are but I am pretty sure its an artifact on page layout after objects indexing going wrong. What I mean by this is that ArcObjects logic enumerates all items on the page and assigns order number. The logic of ArcObjects that are under any Python module in Arcgis use COM libraries that follow logic more specific to C#, Java, VBA etc. In the past, if Python tools interacted with this framework it was not always 100% compatible and sometimes accessing ArcObjects related to page view container elements and editing/inserting/removing would result in improper reindexing elements within the page container because some mechanism was not chained and did not triggered. This happened to me multiple times when I was developing Python solutions with Comtypes that operated on ArcObjects libraries (I know long time ago- no need to do this now since arcpy api gets better). What I found to work in individual MXD was to select all page elements COPY and PAST (or even UNDO). After this operation elements in the page container are reindexed in the proper way by normal ArcObjects and all go back to normal. Word of warning, if you have green lines on your page layout- remove them this way or another. Broken indexing means that some page object/elements are in a wrong state and may disappear or breake you mxd.
Try deleting every element in the Layout View and then re-adding it or undoing the delete. I had three green lines (not the blue guide lines) on my Layout view. Two in the bottom left hand corner of the screen and one diagonal line going from the top left to the bottom right. I deleted everything (data frame, text boxes, images) and re-added them or undid the delete and the lines were gone.
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.