W
waniak
Guest
Hi!
Why this code doesn't work:
Dim oHoleOPx As Hole
Set oHoleOPx =
oPart.ShapeFactory.AddNewHoleFromPoint(0,0,0,PowierzchniaCzolowaOP, 50)
Dim oHoleOPx1 As Hole
Set oHoleOPx1 =
oPart.ShapeFactory.AddNewHoleFromPoint(0,10,10,PowierzchniaCzolowaOP, 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
Why this code doesn't work:
Dim oHoleOPx As Hole
Set oHoleOPx =
oPart.ShapeFactory.AddNewHoleFromPoint(0,0,0,PowierzchniaCzolowaOP, 50)
Dim oHoleOPx1 As Hole
Set oHoleOPx1 =
oPart.ShapeFactory.AddNewHoleFromPoint(0,10,10,PowierzchniaCzolowaOP, 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