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!

CATIA VBA material retrieve

Status
Not open for further replies.

Azzazil

Automotive
Feb 1, 2020
95
HR
How I can read assigned material of part and print it on screen as message box?

I was trying with this script example but without success since I don't see anything when I run script.
One of possible solutions that I can see is that in part tree there is also Material parameter. Is there method in VB to get information from this parameter to read name of material?
 
Replies continue below

Recommended for you

Interesting, I wasn't able to get directly the name of the material, I never thought of this...but...

Workarounds:
1. Write a macro to put your material in user defined properties and get from there the parameter material.
1. Get your material from a customized BoM in a product.

image_l38yqw.png

image_d8oxim.png








Regards
Fernando

 
Hi ferdo, thanks for your help I will try to make something according to your proposal, but probably for weekend because at the moment I am short with time ;).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top