- 2
- 5 018
Slavisa Savic
เข้าร่วมเมื่อ 26 มี.ค. 2019
Die Tool CAD Designer
CATIA V5 - Generating and filling Drawing header using Macro
Demonstration of automatic export custom Bill Of Material parameters to Drawing and creating header.
The video shows how VBA Macro picks parameters from BillOfMaterial parameter set and exports them to Drawing.
It is good to notice that:
Parts and Products without BillOfMaterial parameter set are not exported (e.g. ProjectName_Product).
All parameters are exported at the right place, no mater what sheet format it is.
Macro will not crash if there is not any view as reference to Part or Product.
Macro will not crash if Part or Product is an active document.
The video shows how VBA Macro picks parameters from BillOfMaterial parameter set and exports them to Drawing.
It is good to notice that:
Parts and Products without BillOfMaterial parameter set are not exported (e.g. ProjectName_Product).
All parameters are exported at the right place, no mater what sheet format it is.
Macro will not crash if there is not any view as reference to Part or Product.
Macro will not crash if Part or Product is an active document.
มุมมอง: 1 082
วีดีโอ
CATIA V5 - Generating Bill Of Material using Macro
มุมมอง 3.9K5 ปีที่แล้ว
Demonstration of automatic export custom Bill Of Material parameters to Excel table. The video shows how VBA Macro picks parameters from BillOfMaterial parameter set and exports them in Excel table. It is good to notice that: Parts without BillOfMaterial parameter set are not exported (e.g. ADAPTER). Parts which appear several times in Assembly are not exported several times. Macro will not cra...
Hello Savic, Thanks for the video! It is impressive! Is it possible to create a macro that will create the sections of my catpart?
How i can get this macro?
I think comment and heat treatment values are swap plz check
Hi friend, can u copy and paste the Code here? Or share a txt with the code in it? That would be nice and it will earn us so much time figuring it out by ourselves.. thanks again!
Can u please explain in detail regarding how to create a macro and to use for extracting info
You need V5Automation.html document which you can find in the installation directory. It will help you to understand the structure of classes and objects. That is the first step, the second step is to record some simple macro (create a parameter, create a parameter set, etc.) then open code and try to figure what is defined and how using V5Automation.html for help. If you have basic knowledge of object-oriented programming, it will not represent a problem for you. It that is not the case, then I suggest the first step to learning the basics of OOP. Good luck.
Can you share with me this macro? vuhoangthe.qh@gmail.com thank you!