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!

What VBA script is most useful for your work

Azzazil

Automotive
Feb 1, 2020
95
As title said can you describe what is most useful VBA script for you that you can't work without? I am mostly using it for BoM export and modification of part properties.

Regards,
Azzazil

My CATIA v5 Macro channel:
 
Replies continue below

Recommended for you

My number one is the "Switch dwg. link" macro. Many times the Edit-Links replace linked body gets me the usual "refuesd the document" error. We have a macro that switches the linked body, updates all the unlocked views and makes a new dwg. Good for carryover work.
Number two is the workbench switcher that's hotkeyed to my CadMouse button. One click between surface and part design.
Number three is the view switcher, made by rickyt, see here: thread560-498632
 
Some of the most used Macros my department uses are:

1. My Custom Bounding Box Tool
2. A Custom tool I built that Overlays two different versions of the same model for revision reviewing
3. A Simple tool that gives you the option to hides features like Points, Planes, GD&T, Sketches, and Axis
4. Unhide all solid geometry in a Model
5. Material Applied Search
6. Replace Part Number
7. Rename From File Name
8. Save Files as In Session Part Number
9. Rename Instances
10. Custom Reorder Catia Tree Tool
 
Hello guys,

Just wondering if jzecha could provide a little bit more information about the first one the "Bounding Box Tool", beacuse i was trying to do the same but with no success.

Best regards,

P. Paiva
 
xPAIVAx said:
Just wondering if jzecha could provide a little bit more information about the first one the "Bounding Box Tool", beacuse i was trying to do the same but with no success
Did you try to search in CATIA_Portable_Script_Center_v2.0.chm file?

Regards
Fernando

 
There are simple ones that are available on this forum and in the Portable Script Center, but I have built a pretty advanced one that articulates the part and can work on a surface, single body part, or multi body part.
 

Part and Inventory Search

Sponsor