Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X
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?
Solved! Go to Solution.
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
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
PS: it is not ideal, it can throw some errors if the wtpart does not have linked cad but it works.
PetrH
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
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
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">
Actually I took the model(export function) from the PartToPart comparation wizard 😄
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.