×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Show/Hide parts in Assembly

Show/Hide parts in Assembly

Show/Hide parts in Assembly

(OP)
I am wondering if any of you have same situation.

Let's say, you have an assembly file that you didn't create and you are designing a new part in the assembly. By the way, the assembly already has bunch of hidden parts. You select a few parts from Graphic Area because you have no idea about names in Feature Tree and hide them to design your part.

Well, what would you do if you want only one of them back and show after you insert your new part?

Make a configuration in advance may help, but not completely. You can only go back where you started and you have to hide a few again. Otherwise, you have to close the assembly without saving to get back to the point or go through Feature Tree and show everything including ones that were hidden prior to your operation. This is a painful and time consuming process.

I remember that AutoCAD had a feature "Show/Hide" and you can toggle between them. I called a user support of SW if there is a same kind of feature, but the answer was "No".

I wish I could be an expert to write a macro for this, but is there anybody who is willing to so? This is a brief specification I am thinking.
1. Once the program is executed, a temporally configuration is created that all show/hide status is opposite from the current configuration. The name of current configuration should be stored.
2. Then a dialog box pops up and there will be three bottoms, lets' say "Swap", "Hide" and "Exit".
3. "Swap" switches two configurations.
4. You select parts and hit "Hide". Then show/hide status of these parts are toggled in the configurations.
5. When "Exit" is hit while in the original configuration, the program deletes the temporally configuration.
6. When "Exit" is hit while in the temporally configuration, the program deletes the original configuration first and create a copy of the temporally configuration using same name as the original and switch to the newly created configuration and delete the temporally configuration.

I would like to exclude suppressed/unsuppressed from this program to avoid dealing with bunch of mating error. Anyway, I don't care about my specification and I just want to toggle between Show/Hide if anybody has another idea and willing to write the macro.  

RE: Show/Hide parts in Assembly

Why not just create your new "temporary" configuration, Hide/Show whatever you want in this configuration, and add whatever mates and relations to the new part(s) you want there.  When you're done, then go back to the original configuration, and now delete your temporary configuration.  You shouldn't loose any mates or relations to any new parts...I think... :)

Ken

RE: Show/Hide parts in Assembly

(OP)
KenBolen,

It seems you haven't faced the situation I am talking about. A top assembly I am currently working on has about 30 sub-assemblies and 80 parts. It's just painful and time consuming to go through all parts to find a few parts I just hid. It's technically possible as I described and you suggested, but Macro can take care easily.

Speaking to mating error, you have a bigger change if you suppress a part in an assembly. As long as you use Hide/Show, you should not loose any mates, but that's exactly my point why I want to exclude Suppress from the macro I am hoping to have.

RE: Show/Hide parts in Assembly

Just a thought.  You could possibly create a folder and drag the parts into it.  Then I believe you can hide/show the entire folder until your done.  Then delete it returning the parts to their original location.  I do this with features in complicated parts all the time, but I'm not sure it works the same with parts.

RE: Show/Hide parts in Assembly

(OP)
sdb999,

Correct me if I am wrong, but you can't put parts/assemblies into a folder if they are not same level. You create a folder somewhere in your feature tree, the folder still belongs to top assembly and you can't put, let's say, a part under a sub-assembly. I can see why can't because it's like a moving between assemblies.

Anyway, my point (wish) is that Show/Hide without dealing with feature tree. You can fine a part in your Feature Tree by right click on a part (surface) and select "Go to Featrue (in Tree) from a sub menu, but it doesn't work always. I believe it's a bug, but especially when you have folders, it tends to happen. I mean nothing happens evenif you do it.

Again, there is a way to find parts and hide them after making a new configuration, but I wish I could have Show/Hide toggle function.

RE: Show/Hide parts in Assembly

I agree with loveaeris, solidworks needs more show/hide varations in the view tool box. things like isolate/un-isolate, show all, and an ability to quickly capture a shown/hidden state for later display. it would also be realy cool if the dynamic highlighting actually worked, from feature to graphics and from graphice to feature, even if the item is in a folder.  

RE: Show/Hide parts in Assembly

(OP)
KenBolen,

First of all, thanks you very much.

I just downloaded and tried briefly, but this is what I wanted and the program has even more features.

It was $9.99, but it's worth the money.
I can hide everything, but I picked. (Other way to say is I can show only I picked.) You can even store a status and go back to the status after a few operations.

This is great!!!

RE: Show/Hide parts in Assembly

Ken,

I take it that it works with Animation.

In other words if you want to create an animation where several parts are hidden and then shown again, you can use your show<--> hide feature within the animation?

Thanks,
DG

RE: Show/Hide parts in Assembly

(OP)
dgiy,

Since I installed the program, I tried it with Animation.

Well, it's working, but if you "Turn on screen capture", whole processes are recorded, including some of temporally status when Show/Hide is switched.

For creating animation, I would make a few configurations and switch between those while "Turn on screen capture".

Now it's really easy to make configurations showing only what you want with the program. Select parts from graphic area and just hit "Hide Others" button. Then only parts what you picked are remained on your screen. Then hit "Show<->Hide" button to toggle the status. Now you see all hidden parts. You don't have to find a name of a part or look for the part in a feature tree any more.

The Web page KenBolen posted has an e-mail address of the company at the bottom. You can ask them if you have questions.

RE: Show/Hide parts in Assembly

dgiy,
I'm not sure (it's not my program and I've never used Animator).  I would have to go with what LoveAeris posted.
Ken

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources