LoveAeris
Mechanical
- Jun 20, 2003
- 59
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.
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.