Inventor Engineer-To-Order (Read-Only)
Welcome to Autodesk’s Inventor ETO Forums. Share your knowledge, ask questions, and explore popular Inventor ETO topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Add Holes in a Pipe

1 REPLY 1
SOLVED
Reply
Message 1 of 2
alundr
973 Views, 1 Reply

Add Holes in a Pipe

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 :pipe

 

End Child

 

 

In the pipe design I have:

Child Hole As :IvPartExtrudeFeature
    distance = 2
    operation = :cut
    extentDirection = :Positive
    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

 

 

 

 

1 REPLY 1
Message 2 of 2
alundr
in reply to: alundr

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 = :positive
sketchPart = HoleSketch_1
sketchName = "Sketch1"
face = "XY Plane"
origin = "Center Point"
xAxis = "Y Axis"
End Child

 

good luck

- Andrew -

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums