Translate a Lisp command in Vlisp

Discussion in 'AutoCAD' started by Marcel Goulet, Feb 24, 2005.

  1. Hi,

    How can I translate this in VLisp?

    (command ".-image" "detach" "*sceau*")

    Marcel Goulet, Feb 24, 2005
    1. Advertisements

  2. Marcel Goulet

    MP Guest

    just a guess...something like..
    assuming you have a list of vla-objects representing those images
    (foreach img imglist
    'vlax-invoke-method (list img 'Delete)
    'or you could have a selection set instead of a list - get with filter for
    your wildcard name
    'I believe an image is really a raster
    'and from the help it appears they have a delete method, rather than a
    detach method
    MP, Feb 24, 2005
    1. Advertisements

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.