Inventor Engineer-to-Order

Inventor Engineer-to-Order

Reply
Active Contributor
alundr
Posts: 52
Registered: ‎05-31-2012
Message 1 of 2 (403 Views)
Accepted Solution

Add Holes in a Pipe

403 Views, 1 Replies
08-10-2012 06:58 AM

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 :smileytongue:ipe

 

End Child

 

 

In the pipe design I have:

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

 

 

 

 

Active Contributor
alundr
Posts: 52
Registered: ‎05-31-2012
Message 2 of 2 (372 Views)

Re: Add Holes in a Pipe

08-13-2012 12:25 PM 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 = :smileytongue:ositive
sketchPart = HoleSketch_1
sketchName = "Sketch1"
face = "XY Plane"
origin = "Center Point"
xAxis = "Y Axis"
End Child

 

good luck

- Andrew -

Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.