Clipping boundary of IMAGE object

Discussion in 'AutoCAD' started by Rakesh Rao, Jun 13, 2004.

  1. Rakesh Rao

    Rakesh Rao Guest

    Hello,

    How do I get the clipping polygon boundary of an image object?

    I obtained the dxf group code 14 of the image object with the code below
    but it looks like those values are in a different coodinate system (OCS)
    and I am unable to get it converted to WCS using any of the
    (trans....) function options. What am I doing wrong?

    The DXF references mentione about group codes 14 adn 24 about clip
    boundaries but code 24 returns a nil on my image. Any suggestions are
    appreciated.

    Thanks
    Rakesh


    -----------------------------------------------
    (setq ent (entsel "\nSelect an image to extract clip boundary:"))
    (if ent
    (progn
    (setq
    ename (car ent)
    entl (entget ename)
    en (LI_item 0 entl)
    )
    (if (= en "IMAGE")
    (progn
    (setq
    ClipVx (LI_item 91 entl)
    dxf14 (LI_mitem 14 entl)
    dxf24 (LI_mitem 24 entl)
    )
    ))
    ))
    -----------------------------------------------

    --
    --
    - Rakesh Rao [ rakesh.rao (at)4d-technologies.com ]
    - Four Dimension Technologies
    [www.4d-technologies.com]
    - Get GeoTools, Work smarter: www.4d-technologies.com/geotools
    - Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter
     
    Rakesh Rao, Jun 13, 2004
    #1
  2. Rakesh Rao

    Doug Broad Guest

    Nice Jon. Thanks for sharing.

     
    Doug Broad, Jun 13, 2004
    #2
  3. Rakesh Rao

    Rakesh Rao Guest

    Jon,

    Thanks for your reply but I am unable to download the attachment in my
    Metscape newsreader. Can you email it to me?


    --
    --
    - Rakesh Rao [ rakesh.rao (at)4d-technologies.com ]
    - Four Dimension Technologies
    [www.4d-technologies.com]
    - Get GeoTools, Work smarter: www.4d-technologies.com/geotools
    - Free Lisp downloads @ TechCenter: www.4d-technologies.com/techcenter
     
    Rakesh Rao, Jun 14, 2004
    #3
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.