Charlie
Mechanical
- Dec 28, 2015
- 15
I want to create a shaft and add a chamfer on its one edge.
I know the edge on which i want to add chamfer.
So, i only want from user the length of chamfer and edge selected by itself.
Anybody knows how edges can be send to selection without selecting it?
Is There any name method for catia by which i can select it?
for example
Sub catmain()
... ' the sketch creting programming
set shaft1= part1.shapefactory.AddNewShaft(sketch1)
'add new shaft
[highlight #8AE234]set reference1 =[/highlight]
' I want newly created edge reference here
set chamfer1 = part1.shapefactory.AddNewChamfer(reference1, catTangencyChamfer, catLengthAngleChamfer, catNoReverseChamfer, 1#, 45#)
end sub
If anyone know something about it please help asap.
I know the edge on which i want to add chamfer.
So, i only want from user the length of chamfer and edge selected by itself.
Anybody knows how edges can be send to selection without selecting it?
Is There any name method for catia by which i can select it?
for example
Sub catmain()
... ' the sketch creting programming
set shaft1= part1.shapefactory.AddNewShaft(sketch1)
'add new shaft
[highlight #8AE234]set reference1 =[/highlight]
' I want newly created edge reference here
set chamfer1 = part1.shapefactory.AddNewChamfer(reference1, catTangencyChamfer, catLengthAngleChamfer, catNoReverseChamfer, 1#, 45#)
end sub
If anyone know something about it please help asap.