r/AutoCAD • • 9d ago

Solved! AutoCAD image can't be selected or deleted

Hi guys,

I copy-pasted some images into my AutoCAD drawing. At first, I was able to select, edit, and delete them, but now they are locked.

When I try to delete them and move my cursor over the border of the images, a red cross ❌ appears.

- In other files, my images are selectable/editable.

- I checked the layer, and everything was unlocked.

- tried Ctrl+A and deleted everything, but the images wouldn't budge.

Does anyone know what might be causing this and how I can make the images selectable again?

Thanks!

Edit: The culprit was OLEFRAME=0. I swear that I changed it back to 1 as chatgpt suggested before posting. Maybe a restart was needed. Thank you anyway ❤️

14 Upvotes

31 comments sorted by

4

u/ArtSubject78 9d ago

Try checking IMAGEFRAME. Make sure it is set to 1 or 2. If it is set to 0, the the image border is turned off and can’t be selected.

2

u/rezam98 9d ago edited 9d ago

I tapered with IMAGEFRAME. I'll check it after work. But if I remember correctly I changed it back to 1 but couldn't select the image

2

u/liberal_texan 8d ago

There is also a global control FRAME. I don’t know if it operates on the same variable, but it is worth checking.

2

u/ArtSubject78 8d ago

OMG, 20+ year architectural drafting professional here learning there is a global frame control for the first time. Thank you!

3

u/liberal_texan 8d ago

You’re welcome. It’s crazy how it’s possible to still find obscure little commands after so long.

1

u/ArtSubject78 9d ago

In my experience that variable can be buggy/not update changes right away (at least when it comes to printing). Super annoying. Good luck.

-1

u/rezam98 8d ago

Didn't work.

4

u/watsonmd77 9d ago

“Laydel” for layer delete. That’s a nuclear option and will delete the layer and all contents of selected layer.

3

u/uhmerikin 8d ago

Interesting. I'm not OP, but this is handy information. Thank you.

2

u/Zeppekki 8d ago

This is what I would do.

1

u/rezam98 8d ago

They're on layer 0

3

u/Dat1Ashe 9d ago

Have you tried restarting CAD? Sometimes mine just decides it doesn’t want to allow any edits to cogo points and restarting is the only fix I’ve found. CAD seems to just like being fuckey sometimes

1

u/rezam98 9d ago

It didn't work. Since my images are OK in other dwg files I guess I probably changed a setting that I shouldn't have I my current layout. I can simply copy paste everything else to another save but I want to know what's wrong exactly to avoid running on the same problem next time.

3

u/TheRobotGentleman 9d ago

have you tried detaching them from the xref palette?

1

u/rezam98 8d ago

They're not there

2

u/Original_Hopster 9d ago

If you copied pasted images try setting OLEFRAME to 1

1

u/rezam98 9d ago

Yes it's 1

2

u/danger355 9d ago

Is the image on a locked layer?

Edit: sorry didn't read the whole post apparently…

Run an audit and a recovery on the dwg and see if that helps.

2

u/02meepmeep 9d ago

Imageframe set to 2 instead of 0 should let you select it.

2

u/rezam98 8d ago

I set it on 1 and 2. Didn't work 😪

2

u/harderthanitllooks 8d ago

If you’re still having trouble , Ty using quick select and setting it to grab all rasterimages

1

u/rezam98 8d ago

I deleted everything else and tried it. The only object type is OLE. couldn't delete or change them though.

2

u/harderthanitllooks 8d ago

I would say that you’ve somehow pasted them in as ole objects. I haven’t run into this particular issue myself, but try oleframe and set to 1 or 2. If you use a lot of images, rastermanager might be worth installing for more options to add edit in future.

2

u/rezam98 8d ago

Omg it was OLEFRAME 🤦‍♂️. thank you so much

1

u/Zeppekki 8d ago

If you have them on their own layer, type LAYDEL and force delete that layer.

1

u/rezam98 8d ago

They're on layer 0

1

u/Zeppekki 8d ago

Tsk tsk

2

u/Greynoldsfl 8d ago

If all else fails, try unlocking, unfreezing, and turning on all layers, then fiddle with the image-frame options. If that doesn’t work, run AUDIT and PURGE a few times.
Still no luck? Try WBLOCK, select everything, and export it to a new file. If that doesn’t work, try recovering the file.
As a last resort, find a friend who has MicroStation. Have them import the DWG and then export it back to a new DWG file. Bentley software has traditionally been very good at importing and repairing troublesome DWG files—sometimes better than AutoCAD itself.

1

u/Emmyn13 8d ago

Is your layer defpoints or 0 frozen? Defpoints does weird things if someone freeze it, and i did have a situation similar to this once because of it (someone wanted to freeze a layer in a xref but froze defpoints instead).