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.
Can you attach example file here that demonstrates how this would be useful?
Here is a screenshot of what I mean:
So my question is how to select all circles at the same time for extrude? Not to select each of them with the mouse.
Regards
Alexandru
That screenshot was just to show the main idea. Of course I would do a pattern feature then extruding all the profiles.
Unfortunately, the macro from that blog doesn't help me. It is designed to make pipes. I don't need a thickness to my extrusion.
And I need this trick for revolve feature as well.
Thanks anyway!
@fakeru wrote:Of course I would do a pattern feature then extruding all the profiles.
That doesn't quite make sense?
Pattern features rather than sketch entities. Post the real file to see the best way to do it.
The screenshot was just to make you understand what I need and is not my real situation when I need to select all profiles. Maybe it was bad example.
Believe there are many situation when you cannot use pattern features instead extruding all closed profiles. An example would be when I import a building sketch plan from autiocad, and I want to extrude the columns, but columns are a lot and not arranged according to a pattern. Then I have to select all columns manually.
I believe I need a macro that simply selects all closed proflies in a sketch an makes an extruion with a certain dimension.
Regards
Alexandru
@fakeru wrote:The screenshot ....is not my real situation when I need to select all profiles.
Post real situation.
There is no problem with what the man requested!!! So stop question him about the workflow.
Extrude multiple profiles with one click!! It works that way in SW so why not in Inventor?
FAKERU you have to pick multiple profiles one by one...Why you ask? Because AD wants it so.
Maybe in the future we will be able to do it in one click.
By the way you can try intersection and pick the face and it will recognize the multiple profiles in one click.
Regards,
Dan
Hi,
Here is the workaround, a very poor one but thats what we have :
http://inthemachine-autodesk.typepad.com/blog/2010/08/embrace-the-intersect.html
Regards,
Dan
@Dan_Margulius wrote:It works that way in SW so why not in Inventor?
I am pretty sure most SolidWorks pros would not make features as depicted in post #2 either.
On the other hand using Intersection is often a good solution overlooked in both Inventor and SolidWorks.
But for what it is worth -
http://usa.autodesk.com/adsk/servlet/index?siteID=123112&id=1109794
I would be interested in seeing the "real" problem.
@Dan_Margulius wrote:There is no problem with what the man requested!!! So stop question him about the workflow.
Jeeeez, relax Dan. The examples he kept posting (in an effort to simplify his issue) were indicative of an improper workflow that broke the very first rule in 3D Modeling which is why I (and likely JD) asked for clarification. Neither of us were disrespectful and we were simply trying to help this person find an alternative (and possibly better) solution to his problem, that's all.
For the record, fakeru, I'll bet if you posted the link to the macro I posted earlier over on the customization forum, someone smarter than me could take a look at it and possibly remove the end part of it for you so you ended up with solids elements instead of shelled ones.
Good luck!
It is not a problem. I call it a situation, when you need to select many profiles to make an extrusion/revolve. The point is that there are many different situations like this. It is not just one. I have 4 years of Inventor experience and I don't pretend to be a professional user, but I know very well his basics possibilities. Now I try to reduce my working time as more as possible and where is possible. Iโm trying to customize my work in Inventor to gain more time. I posted the example of the building sketch imported from AutoCAD. Isnโt that enough? Even if I have to select 3 profiles from a sketch, I would like to have it automatically done, because I repeat this operation many times in a day, and in the end it saves me time!
The only solution I see is a macro that could make this. But this is where I struggle the most, in programmingโฆ
Anyway, I will try to post here a real situation from my work if everything what I wrote here is not convincing.
Regards
Alexandru
I suspect that a Punch tool might prove to be a very clever yet unconvential solution.
But I need to see a true problem to be sure.
You have repeated geometry that needs to be placed - but the placement does not fit a pattern.
Simply dimension the location point with sketch points (one way or another you have to locate - this is true regardless of the selection problem). This is easier than the desired solution of a one pick selection of disjointed lool areas.
Punch will automatically find sketch points and place the geometry.
Now that I have said all of this - post that example and show me that I just wasted my time because I didn't fully understand the problem.
I could use the ability to window select multiple closed sketch profiles too.. My example is for replicating the silkscreening process/output in Inventor. The process that works for me is to create all the text in Autocad, then import that layer into an Inventor sketch, then extrude all the text (.001"). Manually selecting each profile is a pain/time consuming and was made even worse a few years ago when Autodesk changed something and now after selecting a few of profiles it slows Inventor more and more with each pick and I can only select 1 profile every few seconds or so (sometimes up to 10 seconds between each selection).Pre a few years ago I could select as fast as my mouse finger could go.. Window select would be useful.
Now off to read the links/workarounds posted before this and hope there is a solution in there.
Hi everyone,
Here is a quick iLogic rule to help with these special circumstances when this is needed. If you place this in an external rule, then it will be available for use in any part file. To use it you must be in an active sketch. It selects all closed profiles found in the active sketch and gathers some input for distance, direction and solution. I'd suggest using construction lines to exclude any profiles you don't want included when using this, as it's an all or nothing method as written.
As I mentioned this is rather "quick and dirty" so you might find some issues with it. I'd advise you to make sure your work is saved first before running this, at least for a while.
I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com
Edit: updated this to add an error check for when no closed profiles are found
If Typeof ThisApplication.ActiveEditObject Is Sketch Then
'Do nothing
Else
MessageBox.Show("Activate a Sketch First then Run this Rule", "ilogic")
Return
End If
Dim oPartDoc As PartDocument
oPartDoc = ThisApplication.ActiveDocument
Dim oCompDef As PartComponentDefinition
oCompDef = oPartDoc.ComponentDefinition
Dim oSketch As PlanarSketch
oSketch = ThisApplication.ActiveEditObject
' Create a profile.
Dim oProfile As Profile
On Error Goto NoProfile
oProfile = oSketch.Profiles.AddForSolid
'get user input
oDistance = InputBox("Enter Extrude Distance", "iLogic", "10 mm")
oDirection = InputRadioBox("Select Extrude Direction", "Up (+)", "Down (-)", True, Title := "iLogic")
oJoinOrCut = InputRadioBox("Select Extrude Solution", "Join", "Cut", True, Title := "iLogic")
If oDirection = True then
oDirection = kPositiveExtentDirection
Else
oDirection = kNegativeExtentDirection
End if
If oJoinOrCut = True then
oJoinOrCut = kJoinOperation
Else
oJoinOrCut = kCutOperation
End if
' Create an extrusion
Dim oExtrude As ExtrudeFeature
On Error Goto NoExtrude
oExtrude = oCompDef.Features.ExtrudeFeatures.AddByDistanceExtent( _
oProfile, oDistance, oDirection, oJoinOrCut)
ThisApplication.CommandManager.ControlDefinitions.Item("FinishSketch").Execute
iLogicVb.UpdateWhenDone = True
exit sub
NoProfile:
MessageBox.Show("No closed profile found", "iLogic")
Return
NoExtrude:
MessageBox.Show("No extrusion created, check your inputs.", "iLogic")
Return
Curtis,
I LOVE YOU .... Works EXCELLENT..
Just tried it with a typical silkscreen representation..
Manual hand selecting all the text for extrusion took 1 min 47 seconds.. Running the rule took ONLY 8
Can't find what you're looking for? Ask the community or share your knowledge.