Re: API - Get surface/curve at coordinate

Creator
Creator
I am using v11.2. I will have to look into this today, I'm sure it optimizes looping through all of the surfaces some, so if it works it would be a nice alternative.

Re: API - Get surface/curve at coordinate

Gears Phenom Gears Phenom
Gears Phenom

Hi,

 

I tried API of astrium_tls with surfaces, but didn't work:

 

set1.AddCoordinate2(FT_SURFACE,0,flags,mode,coord,tol)

 

The AddCoordinate2 method can find surfaces with tolerance only in case when within this tolerance is at least one point of surface. Similarly I can't select in graphic window with Pick metods "Coordinate.../At Location", "Around Point.../At Location" in Entity Selection dialog box, when coordinate or point was on surface, but in tolerance weren't any points of this surface.

 

Best regards,

 

Peter Kaderasz