Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to hide sketches in a large assembly?

Status
Not open for further replies.

keppa

Aerospace
Dec 20, 2002
10
DE
Hi all!
We have a hard trouble.
We switched from CATIA 5.7 to CATIA 5.10.
As we loaded our job in 5.01, which is a large assembly (>2000 catpart and 50 sub-assemblies) every part has in show all sketches.
We see that the only way is to get into every catpart and use the feature under "instruments" -> "hide" -> "sketches".
We are trying to use a macro, but, when saving the macro, it doesn't save this operation.

Is there a more smart way to work on it?

Please, we need it badly...

Thanx in advance,
Sergio.
 
Replies continue below

Recommended for you

You don't need a macro to do this just call u your top level product.
use the search function under the edit pull down.
Search in the Part Design workbench for sketch.
Use the select button.
Under the Tools pull down select hide then select selected elements.
Now just do a save management on your top level product.
 
Hi Puck,if we do like u said,itz making the whole product hide,we just have to hide only the sketch,I think macro shud work in this case,

bye
Naveen
 
Once you have your main product up just get into one of the parts so the part design work bench is active then it won't hide everything.
 
Sorry guys I was crossing this post up with the one to select the sketches.
Yes when it comes to planes noshowing the selection will also noshow the geometry.

When writing the script approach it this way.
You need to get the top product and it's collection.
Then loop through it's collection and qualify if it is a product or part.(Check the name to see if it has CATPart in it.)
If it returns a product you will need to drill down through it also.
Once you have a part you'll make it active and then noshow the planes.
Since Dassault hasn't given us any save managment tools in script you will have to save each part and it's parent product or nothing will be saved.
HTH,
puck
 
hi,

try knowledgeware...expert rule.

very quick to set up and use...



Eric N.

catiav5@softhome.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor