changing draworder of attached image

Discussion in 'AutoCAD' started by biot023, Sep 16, 2004.

  1. biot023

    biot023 Guest

    Hallo -- I have some code that imports a map into AutoCad.
    What I then need to do is send this behind any other entities drawn on screen.
    Currently, the code reads:

    (command "FILEDIA" 0)
    (command "-image" "Attach" filename pt 0.25 0)
    (setq ent (entlast))
    (command "DRAWORDER" ent "Back")
    (command "FILEDIA" 1)

    This obviously doesn't work, or I wouldn't be posting it here!
    Does anyone know how this could be done, & why my approach won't work?.
    Thanks in advance for any help,
    doug.
     
    biot023, Sep 16, 2004
    #1
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.