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 JStephen on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

catia+VB - two holes in one faace

  • Thread starter Thread starter DefCon5
  • Start date Start date
Status
Not open for further replies.
D

DefCon5

Guest
Hello: We have a user who wants to know:

Hi!
Why this code doesn't work:

Dim oHoleOPx As Hole
Set oHoleOPx
=
oPart.ShapeFactory.AddNewHoleFromPoint(0,0,0,Powie rzchniaCzolowaOP,
50)
Dim oHoleOPx1 As Hole
Set oHoleOPx1
=
oPart.ShapeFactory.AddNewHoleFromPoint(0,10,10,Pow ierzchniaCzolowaOP,
50)

PowierzchniaCzolowaOP is a reference to the face. The sketch
is
created at the YZ plane.

What's wrong? CATIA can't create the
second hole. It shows an error:
'Colinear directions: cannot build an axis or
a plane'.


Best regards,
Michalcatia + VB - creating two holes in
one face
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top