hexagon logo

Find nearest cad element

Hello all,

Is there a function in the object library that you can use in a script
that can "find the nearest cad element" for vector points? (for example)
Any help will be appreciated. Thanks.
Parents

  • Thanks for the responses.
    I should have elaborated as to why I was looking for that
    magic function. Not having much "scanning experience",
    I wanted to probe an exact .250 (inch) grid on a contoured
    surface with an exact starting point and an exact .250 increment.
    I did the first two rows with vector points and manually adjusting
    the exact increment with the F9 "binocular icon find nearest cad
    element". Then I did a paste with pattern and generated another
    90 or 100 points, but had to project them onto cad surface
    with the "find nearest cad element" individually.
    I tried the grid scan but could get the exact start point.
    So I thought there might be a function that would automatically
    project the generated points onto cad surface in a script.


    On a side note, (not for automation programming)
    You could use F5/ Find Nominals during Execution, once.
    Run offline, it'll move every (Snap On) Vector point in your program to the closest CAD nominal.
    There's a long write up on the other forum.
Reply

  • Thanks for the responses.
    I should have elaborated as to why I was looking for that
    magic function. Not having much "scanning experience",
    I wanted to probe an exact .250 (inch) grid on a contoured
    surface with an exact starting point and an exact .250 increment.
    I did the first two rows with vector points and manually adjusting
    the exact increment with the F9 "binocular icon find nearest cad
    element". Then I did a paste with pattern and generated another
    90 or 100 points, but had to project them onto cad surface
    with the "find nearest cad element" individually.
    I tried the grid scan but could get the exact start point.
    So I thought there might be a function that would automatically
    project the generated points onto cad surface in a script.


    On a side note, (not for automation programming)
    You could use F5/ Find Nominals during Execution, once.
    Run offline, it'll move every (Snap On) Vector point in your program to the closest CAD nominal.
    There's a long write up on the other forum.
Children
No Data