cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Translate the entire conversation x

Export CAD to Part BOM Compare

MM_10260548
5-Regular Member

Export CAD to Part BOM Compare

Version: Windchill 12.1

 

Use Case: If you perform a Part to Part BOM Compare, you can export the table to Excel. If you perform a CAD to Part BOM Compare the export option is not available.


Description:

If you perform a Part to Part BOM Compare, you can export the table to Excel.
If you perform a CAD to Part BOM Compare the export option is not available.

 

Does anyone know if the export menus can be added to the CAD to Part Compare?

ACCEPTED SOLUTION

Accepted Solutions
HelesicPetr
22-Sapphire II
(To:MM_10260548)

Hi @MM_10260548 

You can try to add the export menu to the comparation menu. 

just change a customActionModel.xml file . You have to find correct element to change and add a row for the export menu

just add the following rows

HelesicPetr_0-1745994906128.png

xml file is located in codebase\config\actions\customActionModel.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE actionmodels SYSTEM "customActionmodels.dtd">
<actionmodels>
   <model name="dsvp2cPartTreeToolBar">
    <action name="resetCompare"                 type="dsv"/>
    <action name="prevDifference"               type="dsb" />
    <action name="nextDifference"               type="dsb" />
    <action name="separator"                    type="separator"/>
    <action name="publishToCADGWT"              type="cat"/>
    <action name="buildCad"                     type="dsv"/>
    <action name="buildCadAndDesc"              type="dsv"/>
	<action name="dsbExportHtmlGWT" type="dsb"/>
	<action name="dsbExportCsvGWT" type="dsb"/>
	<action name="dsbExportPdfGWT" type="dsb"/>
	<action name="dsbExportTextGWT" type="dsb"/>
	<action name="dsbExportXlsGWT" type="dsb"/>
	<action name="dsbExportXlsxGWT" type="dsb"/>
  </model>
</actionmodels>

Results

HelesicPetr_4-1745995067536.png

 

HelesicPetr_1-1745994937896.pngHelesicPetr_2-1745994950245.png

 

HelesicPetr_3-1745994998108.png

PS: it is not ideal, it can throw some errors if the wtpart does not have linked cad but it works.

 

PetrH

View solution in original post

4 REPLIES 4
HelesicPetr
22-Sapphire II
(To:MM_10260548)

Hi @MM_10260548 

You can try to add the export menu to the comparation menu. 

just change a customActionModel.xml file . You have to find correct element to change and add a row for the export menu

just add the following rows

HelesicPetr_0-1745994906128.png

xml file is located in codebase\config\actions\customActionModel.xml

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE actionmodels SYSTEM "customActionmodels.dtd">
<actionmodels>
   <model name="dsvp2cPartTreeToolBar">
    <action name="resetCompare"                 type="dsv"/>
    <action name="prevDifference"               type="dsb" />
    <action name="nextDifference"               type="dsb" />
    <action name="separator"                    type="separator"/>
    <action name="publishToCADGWT"              type="cat"/>
    <action name="buildCad"                     type="dsv"/>
    <action name="buildCadAndDesc"              type="dsv"/>
	<action name="dsbExportHtmlGWT" type="dsb"/>
	<action name="dsbExportCsvGWT" type="dsb"/>
	<action name="dsbExportPdfGWT" type="dsb"/>
	<action name="dsbExportTextGWT" type="dsb"/>
	<action name="dsbExportXlsGWT" type="dsb"/>
	<action name="dsbExportXlsxGWT" type="dsb"/>
  </model>
</actionmodels>

Results

HelesicPetr_4-1745995067536.png

 

HelesicPetr_1-1745994937896.pngHelesicPetr_2-1745994950245.png

 

HelesicPetr_3-1745994998108.png

PS: it is not ideal, it can throw some errors if the wtpart does not have linked cad but it works.

 

PetrH

@HelesicPetr, will this work on the Part2Part compare also or do I need to look for another model in place of 

<model name="dsvp2cPartTreeToolBar">

Hi @BrianToussaint 

Actually I took the model(export function) from the PartToPart comparation wizard 😄 

HelesicPetr_0-1746423146519.png

PetrH

Hello @MM_10260548,

 

It looks like you have some responses from some community members. If any of these replies helped you solve your question please mark the appropriate reply as the Accepted Solution. 

Of course, if you have more to share on your issue, please let the Community know so other community members can continue to help you.

Thanks,
Vivek N.
Community Moderation Team.

Announcements

Top Tags