Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting a simplified BOM?

Status
Not open for further replies.

IdeasNative

Automotive
Aug 30, 2006
60
Hi,
Can anyone tell me if it’s possible to extract various entries from the properties form to a text file in Catia V5? To expand further I would like to open a .catpart and run a macro/ report to pull the Part number, Revision, Nomenclature etc into a txt file to a location on the OS.
Ie .txt file would only contain:

Test_part.catpart
Part number= 12345678
Revision= 2
Nomenclature= 5678

Analyze-BOM command does provide me with all the information but I need a very simple version of this as above.
I also need it to output a similar file for a catproduct to include entries for catparts. Ie:

Test_Assy.catproduct
Part number= 1234
Revision= 1
Nomenclature= 33444

Test_part.catpart
Part number= 12345678
Revision= 2
Nomenclature= 5678

I have very limited experience with macros and don't even know if this is possible. Any help or guidance to point me in the right direction would be greatfully appreciated.
Thanks in advance
Paul
 
Replies continue below

Recommended for you

Hi

Why don't you "customize" you Analyze-BOM command in order to exclude what ever you want?

Regards
Fernando
 
Hi,
I'm just after a very basic file without the table layout etc. Also for the properties entries to appear on rows rather than columns. I cannot appear to customise to this extent (see example above). Sounds very finicky but its so that a downstream application can import this.
 
Have you tried the listing report from the same dialog??
 
Hi

Sorry to be a pain again but does anyone know how to append to the same text file on each BOM listing.

I currently have the following entry in the macro:

assemblyConvertor1.Print "TXT", "C:\temp\" & product1.PartNumber & ".txt", product1

Which creates a new file with the part number as the filename. But if I run the macro on another CATproduct I really need the following:

assemblyConvertor1.Print "TXT", "C:\temp\list.txt", product1.

And for this to add to the bottom of the list.txt rather than overwrite.

Many thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor