×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Contact US

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!

*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

How to check when you inserted or removed parts to an assembly - CATIA V5 ADVISOR

How to check when you inserted or removed parts to an assembly - CATIA V5 ADVISOR

How to check when you inserted or removed parts to an assembly - CATIA V5 ADVISOR

(OP)
Hello colleagues,

I am trying to learn how to create a knowledgeware advisor reaction to check if a part was inserted or removed from an assembly in CATIA V5.
NO VBA, VB, CATScript.
I need help with advisor.

Any help will be really appreciated.

Best regards

Eduardo

RE: How to check when you inserted or removed parts to an assembly - CATIA V5 ADVISOR

No VBA, VB, CATScript = No way.

RE: How to check when you inserted or removed parts to an assembly - CATIA V5 ADVISOR

there is a reaction trigger event "insert" and "remove", but it only works on products...
so if all your parts are wrapped in a product then wink

regards,
LWolf

RE: How to check when you inserted or removed parts to an assembly - CATIA V5 ADVISOR

(OP)
@little Cthulhu,
I learned a lot with all your VB, VBA tips, all because of that I traveled the world (Germany, China, and now USA) using programming to help the companies that I worked. Thanks a lot! I am since 2010 using VBA, VB.net, etc + CATIA (Assembly, Part, Kinematic, Simulation,...) all good stuff!
I am testing CATIA 3DExp and I heard from Dassault that, moving forward, they are implementing more and more APLs for EKL and that this is the path moving forward.
They told me that currently EKL has 3x more APLs than VBA. I was surprised....
Now, I am trying to adapt and learn EKL and the knowledgeware packs...

@LWolf,
Thanks a lot for sharing...Do you have any example? As you know....the documentation is "great"....
My Goal is to:
1)Create an assembly
2)Create an assembly parameter: Parameter1:("Will be used to sum all the thickness + Tolerance from all the parts that I insert or remove from this assembly through the reaction)
(All my parts, that will be part of this assembly will contain:
- Thickness parameter: Ex: 3mm
- Upper tolerance parameter Ex: 0.1mm
1)Insert or remove parts from an assembly
2)trigger the reaction
3)recalculate the assembly parameter

Any ideas will be very appreciated.

Again, thanks a lot....It is a pleasure to talk to the masters! I will be always in debt!

Best regards

Eduardo

RE: How to check when you inserted or removed parts to an assembly - CATIA V5 ADVISOR

What about populating parameter with a Rule? It should act like a kind of unconditional reaction.

RE: How to check when you inserted or removed parts to an assembly - CATIA V5 ADVISOR

(OP)
I believe a Rule is a static feature, this is the reason I was looking for action or reaction.
Could you elaborate a little more using your idea?
My questions:
-How the rule will be triggered?
-How to use in a scenario where I can have 8 parts inside the assembly for a project gate and after the road test, for the next gate, I need more 10 (18 parts). On the next gate I will need to remove 3 (15).
This calculation and the resultant value will be read by a length in another part (The part that will hold all the parts that I am inserting on this assembly).

RE: How to check when you inserted or removed parts to an assembly - CATIA V5 ADVISOR

Quote:

(All my parts, that will be part of this assembly will contain:
- Thickness parameter: Ex: 3mm
- Upper tolerance parameter Ex: 0.1mm

And there's a fundamental problem in how EKL works with parameters. It treats them as values, not as objects, so you can't simply write part->Query("Literal", "x.Name == \"Thickness\"")

You have to use VB action to get parameter by name.

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! Already a Member? Login


Resources

Low-Volume Rapid Injection Molding With 3D Printed Molds
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Design for Additive Manufacturing (DfAM)
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a part’s function at the center of their design considerations. Download Now
Taking Control of Engineering Documents
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now

Close Box

Join Eng-Tips® Today!

Join your peers on the Internet's largest technical engineering professional community.
It's easy to join and it's free.

Here's Why Members Love Eng-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close