Inventor Engineer-to-Order

Inventor Engineer-to-Order

Distinguished Contributor
172 Posts
5 Kudos
Registered: ‎05-03-2005
Post 1 of 5


281 Views, 4 Replies
08-14-2012 06:02 AM



I'm looking for a good example on how to use this command (:IvPartExtrudeFeature). I would like to cut a rectangular hole (opening) on a sheet metal part. I created and adopted both the sheet metal and the opening part. I have a sketch (visible & exported). Sheet metal part is resides in an Assy.


Using ETO 2012 Version 5.1 Build: 322




Distinguished Contributor
172 Posts
5 Kudos
Registered: ‎05-03-2005
Post 2 of 5

Re: IvPartExtrudeFeature

08-15-2012 11:51 AM in reply to: ludesroc

Never mind, I figure it out (thanks to Andrew :smileywink:)


1) Created a sketch Part (sketch visible and exported). 

2) Named the sketch = sketch_Opening

3) Adopted the sketch part.

4) Added these child rules inside the part to cut.



Design FloorLiner : M0122_TestZonesAdoptedComponents FloorLinerAdopt


'Sketch Part
Child FloorOpeningSketch As :FloorOpeningSketch, Quantity = length(openingSizes)
visible? = False
OpeningX = nth(1, nth(child.index, openingSizes))
OpeningY = nth(2, nth(child.index, openingSizes))
YOffsetFromOrigin = nth(2, nth(child.index, openingLocations)) - tubingWidth - gapAroundFloorLiner
XOffsetFromOrigin = nth(1, nth(child.index, openingLocations)) - tubingWidth - gapAroundFloorLiner
End Child


'Extrude Feature

Child LinerOpeningFeature As :IvPartExtrudeFeature, Quantity = length(FloorOpeningSketch)
distance = 10
operation = :Cut
extentDirection = :smileyfrustrated:ymmetric
sketchPart = nth(child.index, FloorOpeningSketch)
sketchName = "sketch_Opening"
face = "XY Plane"
origin = "Center Point"
xAxis = "X Axis"
reverseSketchNormal? = False
reverseXdirection? = False
End Child

End Design




177 Posts
4 Kudos
Registered: ‎05-27-2010
Post 3 of 5

Re: IvPartExtrudeFeature

08-16-2012 01:24 PM in reply to: ludesroc

Hi Luc,


If you're working with sheet metal parts, look at IvSMPartPunchFeature instead of ivPartExtrudeFeature. It's simpler to use and is beffer for situations where you have multiple feautres, as you simply supply a list of points and faces. No need for sketches.


There is a sample in the ETO Samples project. 

Chris Palmatier
Customer Success Engineer
Inventor Engineer-to-Order

Distinguished Contributor
172 Posts
5 Kudos
Registered: ‎05-03-2005
Post 4 of 5

Re: IvPartExtrudeFeature

08-17-2012 05:46 AM in reply to: ludesroc

Thanks Chris for the advise!


I had lots of trouble make it work. I found that iLogic rules and IvPartExtrudeFeature don't collaborate very well when mixed together. I logged a case (Case 07545190 - IvPartExtrudeFeature vs iLogic rules). If i remove all iLogic rules from the part then everything works fine! I wonder if IvSMPartPunchFeature has the same behavior?




Valued Mentor
346 Posts
9 Kudos
Registered: ‎04-10-2010
Post 5 of 5

Re: IvPartExtrudeFeature

11-08-2013 12:32 PM in reply to: ludesroc



is it still a problem happening on you? it may happen on me soon.



Autodesk Inventor Professional 2014
Autodesk Product Design Suite Standard 2014
Microsoft Office 2007 & 2013
Windows 7 64bit
Synergis Adept 2014
Visual Studio Express 2010
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.