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.
    But, if there is an easier way to get the grid scan to do that,
    I'm open to that. But I guess that should be posted in the
    CMM part of the forum, not the CODE SAMPLES.
    Thanks again.
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.
    But, if there is an easier way to get the grid scan to do that,
    I'm open to that. But I guess that should be posted in the
    CMM part of the forum, not the CODE SAMPLES.
    Thanks again.
Children