Jump to content

Sketch becomes invisible after edit


Enfiel3D

Recommended Posts

Hello everyone!

 

Recently switched to Inventor 2017 from Inventor 2013. Why sketch visibility is automativally turned off when I finish edit? Is there a setting to keep sketch visible? Must admit it is driving me mad. :shock:

Link to comment
Share on other sites

Off hand I don't know. I'll look into but I can't think of a reason to do that. Are you sure you want all used sketches visible? To reuse a sketch you need to right click on it and share it. Same as making it visible.

Link to comment
Share on other sites

I am sure I want to have control over visibility of sketches, yes. I normally work in NX and use Inventor only sporadically. Guess I picked up some nasty habits from NX - like being able to control everything. ;) I know about sharing sketches. It might be a usable workaround sharing it in order to make the always visible - I'll test that, thanks.

Link to comment
Share on other sites

Well so when you make a sketch it is visible. That works right? When you use the sketch in a feature like Extrude it then goes invisible. I can't see any options to set it so that it is always visible. On the "VIEW" tab on the Ribbon Bar there is an "object visibility" but it has 2d/3d sketches visible by default. The sketch gets consumed when its used and is hidden. When you share it then it become visible, but its the same as just making it visible except you can actually use the shared sketch.

 

I dont know if your habits are bad or not, just different ;) personally when a client sends me a file and it has the "all sketches hidden" option in something, but they are all visible when unchecked it drives me a little loopy. I like that Inventor and Solidworks hide the sketch after its used. I don't like that you have to share the sketch to reuse it. It always catches me off guard.

 

If i find something i will let you know but i dug through the settings and didn't see any mentions. There was something in the TSB section on Autodesk about Sketch visibility issues but that has nothing to do with what you are trying to do. It is possible to do it through rules and event triggers I am sure. ill have to play with it to see though.

Link to comment
Share on other sites

This seemed to work. Go to the "Manage" tab and "Add Rule". In the rule copy the code below. Then from the "Manage" tab go to "Event Triggers". You can trigger model changes, parameters changes, saving etc to run that rule which should make all sketches visible. I tested it out and it works on my test file. I had a Sketch1 and Extrusion 1. I shared sketch1 and then hid it. I then added sketch2 and made an extrude 2. After OKing the Extrude Sketch 1 as well as Sketch 2 were visible. Its probably not the cleanest way but seemed to work.

 

Dim oDoc As PartDocument

oDoc=ThisDoc.Document

For Each oSketch In oDoc.ComponentDefinition.Sketches

oSketch.Visible = True

Next

iLogicVb.UpdateWhenDone = True

Link to comment
Share on other sites

You can right click on any consumed sketch in the browser and turn on Visibility.

Has always been this way - no change in behavior.

 

Sketch Visibility.png

Link to comment
Share on other sites

You can right click on any consumed sketch in the browser and turn on Visibility.

Has always been this way - no change in behavior.

 

[ATTACH=CONFIG]60574[/ATTACH]

 

Yes but you can't reuse it without sharing. The Op wants all sketches to stay visible, even after being consumed. Do you know another way JD? You are a more experienced Inventor user than I am.

Link to comment
Share on other sites

I don't know why anyone would want all (consumed) sketches to stay visible. That would drive me bananas.

Having said that, users familiar with SolidWorks will probably appreciate this setting in Inventor 2017

 

Sketch Display.jpg

 

For several releases it has not been necessary to mark a sketch as Shared prior to reusing it for another feature.

Any visible sketch that has already been used for a feature is automatically Shared with any attempt to use for a new feature (except in one obscure location/feature which I fail to remember, and I think that was simply an oversight).

Link to comment
Share on other sites

I said the same thing :) but it is an interesting question. My rule works but I didn't know if there was a setting I missed.

 

Also I have not had the same luck with sketches being automatically shared in 2017. I have had to share mine because they aren't valid selections for features otherwise. I'll try again to be sure but it was that way last week.

Link to comment
Share on other sites

JD, I figured out what is happening when trying to share the sketch for another feature. It has to be Visible as you said. What i wrongly assumed is that when you select a sketch and it is visible(not right click > Visibility) that it would be usable. Essentially Visible and Share are the same thing. It becomes "shared" when its used. If you just click on a hidden sketch and its visible on the screen that is not allowed.

Link to comment
Share on other sites

You can right click on any consumed sketch in the browser and turn on Visibility.

Has always been this way - no change in behavior.

 

Will it become always visible after that? Or become invisible after I finish editing it?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...