Catia VBA: Select objects by "Intersecting Rectangle Selection Trap"
Catia VBA: Select objects by "Intersecting Rectangle Selection Trap"
(OP)
Is there a function in CATIA VBA to select objects by using "Intersecting Rectangle Selection Trap" method?





RE: Catia VBA: Select objects by "Intersecting Rectangle Selection Trap"
Maybe
Dim Sel3(0)
Sel3(0) = "Product"
Status = ProdSel.SelectElement3(Sel3,"Trap select the products to copy",True,CATMultiSelTriggWhenSelPerf,False)
If (Status = "Cancel") then Exit Sub
Regards
Fernando
https://picasaweb.google.com/102257836106335725208 - Romania
https://picasaweb.google.com/103462806772634246699... - EU
RE: Catia VBA: Select objects by "Intersecting Rectangle Selection Trap"
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?
RE: Catia VBA: Select objects by "Intersecting Rectangle Selection Trap"
indocti discant et ament meminisse periti