Autodesk Inventor Engineer-to-Order
- Start Article
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Add Holes in a Pipe
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
I am trying to add an unknown number of holes at random locations up and down a pipe. Because of the geometry of the pipe, I cannot simply use the Part Hole Feature. I'm trying to use the Part Extrude Feature and I'm lost as to how it actually works.
In the assembly design I have
Child pipe_1 as
ipe
End Child
In the pipe design I have:
Child Hole As :IvPartExtrudeFeature
distance = 2
operation = :cut
extentDirection =
ositive
sketchPart = pipe_1
sketchName = "Sketch7"
face = "XY Plane"
origin = "Center Point"
xAxis = "X Axis"
End Child
In the Sketch7 I have a circle drawn in space without any reference lines crossing through the circle.
I'm getting the error "No such rule 'pipe_1' (parameter) "
I'm not sure what I'm doing wrong.
Is there a better way to add the holes to my pipe?
Andrew
CAD Drafter
Solved! Go to Solution.
Re: Add Holes in a Pipe
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
OK. sketchPart cannot reference the part I am trying to cut a hole in. Therefore, I needed to create an .ipt file with a sketch of the profile that I wanted to cut out. my code now looks like this :
Child HoleSketch As :HoleSketch
visible? = False
End Child
Child Hole As :IvPartExtrudeFeature
distance = 10
operation = :Cut
extentDirection =
ositive
sketchPart = HoleSketch_1
sketchName = "Sketch1"
face = "XY Plane"
origin = "Center Point"
xAxis = "Y Axis"
End Child
good luck
- Andrew -
