×
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

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

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

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

(OP)
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

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

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

https://picasaweb.google.com/102257836106335725208
https://picasaweb.google.com/103462806772634246699...

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