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!

Hide and show products/parts without using Selection with any API?

Status
Not open for further replies.

Milie

Computer
Nov 27, 2013
12
FR
Hello,

I'm working on CATIA v5 on a project where we need to hide and show a lot of parts of a model.
Do you know any way to hide and show products/parts without using Selection with any API? c#, VBS, VBA ?

I tried already a lot of stuff but I don't manage to do it. I worked a lot on scene cause I saw it possible but unfortunately I don't find any method to refresh the view in a scene without using weird tricks (like launching the command Apply Assembly on Scene and emulating "Enter" button) that are really to slow.

That's after several days of search I'm coming here to ask for your help.

Thank you a lot!

Emilie
 
Replies continue below

Recommended for you

Hi,

I saw in your first code regarding this problem that you are creating a scene for each node in the spec tree (I believe).

You can hide all nodes then show each node one by one. Of course, before you need to make a collection of nodes names, you can also create a text file with these names and read it according to your purposes...



Regards
Fernando

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Top