Hello everybody!
I'm just wondering is there a possibility to select all closed profiles from a sketch to make an extrusion or revolve with a shortkey instead doing that manually with the mouse for each profile? Something like CTRL+A 🙂
Regards
Alexandru
Solved! Go to Solution.
Solved by Curtis_Waguespack. Go to Solution.
lol mcgyvr,
It was your mention of silk screens that inspired me to throw that together, as I've encountered that exact challenge in the past. Someone else mentioned engraving logos, and I've run into that as well.
Up until I read those two examples of how this might be used, I was thinking as JDMather and jeanchile were that this request was coming from a poor workflow. So I'll throw in a caution to new users not to try and use this or anyother iLogic as a shortcut to good technique:
http://inventortrenches.blogspot.com/2011/03/inventor-101-simple-fully-constrained.html
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Thank you very much!
Anyway, here is a real example.
This is an imported sketch from Autocad:
http://img826.imageshack.us/img826/4955/captureven.jpg
These are the columns of a building:
http://img804.imageshack.us/img804/9748/microdosinglevel1.jpg
I choose to make them in one extrude feature.
Regards
Alexandru
@Curtis_Waguespack wrote:lol mcgyvr,
It was your mention of silk screens that inspired me to throw that together, as I've encountered that exact challenge in the past. Someone else mentioned engraving logos, and I've run into that as well.
Again..Curtis.. I love you.. Just had to do a very large silkscreen with tons of profiles to pick.. For giggles I did it manually first and it took 4 min 18 seconds to pick them all. Then I undid that and tried your ilogic rule.. Took ONLY 11 seconds for the rule to run/extrude all the profiles. Amazing...
Hi Inventor users,
By request I've added a couple of other versions of this iLogic rule at this link. One version uses the Through All method and automatically cuts all open profiles through all, bidirectionaly. The other use the To Next method to extrude.
http://inventortrenches.blogspot.com/2012/03/ilogic-to-select-all-of-closed-profiles.html
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Curtis..I still love you for this.. I use it all the time..
Can this code be modified to produce multiple surfaces instead.
I have tried to modify it with little luck. This is what I have so far
Below are only the lines that I have changed
.....
oProfile = oSketch.Profiles.AddForSurface
.....
oExtrude = oCompDef.Features.ExtrudeFeatures.AddByDistanceExtent( _
oProfile, oDistance, kSymmetricExtentDirection, kSurfaceOperation)
.....
Curtis's original code with these mods seems to work but the output is only one surface extrusion. Currently in my trial sketch I have a couple of linked lines and an arc. The new surface is only of the first item drawn in the sketch. In this case only the linked lines
Could someone help me with this if possible
Thanks
Hi,
How about using the original code and then transforming the generated solids into surfaces?
https://forums.autodesk.com/t5/inventor-forum/solid-to-surface/td-p/3102900
Cheers,
Adam
The problem with using the original code is that it doesn’t extrude the open profiles. I have a mix of closed and open profiles. Plus they may or may not be in a block. I can get the original code to create surfaces off all closed profiles by simply changing the extrude command to a surface.
Once I am able to cobble up some code for my original intent I would like to let the user add entities to the sketch and run the command again. This time the code should look for entities that do not have an extrusion associated to it and generate one. Might seem ambitious but ideas come easier than actual code
Thanks