• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Autodesk Inventor Engineer-to-Order

    Reply
    Contributor
    Posts: 25
    Registered: ‎05-31-2012
    Accepted Solution

    Add Holes in a Pipe

    225 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

     

     

     

     

    Please use plain text.
    Contributor
    Posts: 25
    Registered: ‎05-31-2012

    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 -

    Please use plain text.