3d ssget (Z axis)

Discussion in 'AutoCAD' started by jeffds, Feb 15, 2005.

  1. jeffds

    jeffds Guest

    Hello,
    Was wondering if anyone has written their own version of (ssget) that takes into account the Z axis.
    eg pass one point or two points 3D points and it only selects entities that pass through that point or 3d line (if two points passed).

    I have one that works for simple entities (as well as block ins. pts) and polylines but it is not very efficient. So if I have a drawing with 50 polylines that all occupy the same X and Y space but each have different elevations - my routine will only select the plines that actually intersect with the 3d line I pass to it, but it can take 10 seconds or so to filter out the others.

    thanks for any help.
     
    jeffds, Feb 15, 2005
    #1
  2. jeffds

    Adesu Guest

    if not misinterpreted,you would to find only value of z point ? is it true?

    that pass through that point or 3d line (if two points passed).
    polylines but it is not very efficient. So if I have a drawing with 50
    polylines that all occupy the same X and Y space but each have different
    elevations - my routine will only select the plines that actually intersect
    with the 3d line I pass to it, but it can take 10 seconds or so to filter
    out the others.
     
    Adesu, Feb 22, 2005
    #2
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.