Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Catia VBA: Select objects by "Intersecting Rectangle Selection Trap"

Status
Not open for further replies.

man2007

Aerospace
Joined
Nov 6, 2007
Messages
283
Location
IN
Is there a function in CATIA VBA to select objects by using "Intersecting Rectangle Selection Trap" method?
 
Dear Ferdo, the solution is fine if I need to give user the choice of selection.
But here I want to feed the diagonal points of rectangular selection thru code.
Let me explain what I am trying for.
I have coordinates of a point and I want to select the point with smallest possible rectangular trap (yes with crossing rectangular trap), which in turn selects a Surface, whose name needs to be captured and reported in excel.
Or is there a way to check if a point is exactly on a selected surface?
Or is it possible to check the nearest possible point near a surface?

 
you can always check the distance point-surface

Eric N.
indocti discant et ament meminisse periti
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top