Is Viewport Clipped?

Discussion in 'AutoCAD' started by Jack G, Jan 15, 2005.

  1. Jack G

    Jack G Guest

    Does anyone know how lisp can determine if an mview viewport has been
    clipped or not? I don't see any difference between an entget on a clipped
    viewport and an unclipped viewport. I'm wanting to use "(command "vpclip"
    ........) but the number of responses depends on whether the vp is clipped or
    not.
     
    Jack G, Jan 15, 2005
    #1
  2. Jack G

    TCEBob Guest

    On my viewports any clipping pline is right on top; just highlight it and glance
    at the Properties window. If you have chosen a clipped vp there will be 2
    objects listed. They cannot be separated but you can alter the pline if you wish
    to make it identifiable.

    rs
     
    TCEBob, Jan 15, 2005
    #2
  3. Jack G

    Jack G Guest

    OK, so I guess that means a pline is always associated with a clipped
    viewport; but I still don't understand how LISP can be made aware of it ???
    I'm wanting a lisp program to know it, not necessarily the user.
     
    Jack G, Jan 15, 2005
    #3
  4. Jack G

    Jack G Guest

    I'm brain-dead. I asked the wrong question. I meant xclip, not vpclip. So
    restating the question:

    Does anyone know how lisp can determine if an xref has been clipped or not?
    I don't see any difference between an entget on a clipped xref and an
    unclipped xref. I'm wanting to use "(command "xclip" .......) but the
    number of responses depends on whether the xref is clipped or not.
     
    Jack G, Jan 15, 2005
    #4
  5. Jack G

    Jeff Mishler Guest

    Here is what I get on the same xref, before & after an xclip.....

    ((-1 . <Entity name: 40082f58>) (0 . "INSERT") (330 . <Entity name:
    40082cf8>) (5 . "6B") (100 . "AcDbEntity") .......
    _$
    ((-1 . <Entity name: 40082f58>) (0 . "INSERT") (5 . "6B") (102 .
    "{ACAD_XDICTIONARY") (360 . <Entity name: 40082f60>) (102 . "}") (330 .
    <Entity name: 40082cf8>) (100 . "AcDbEntity") .......

    Note the 102 & 360 group codes.....
     
    Jeff Mishler, Jan 15, 2005
    #5
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.