Skip to main content
1-Visitor
October 18, 2024
Question

Export in STEP Format from Windchill

  • October 18, 2024
  • 2 replies
  • 594 views
I am using Windchill PDMLink Release 11.1 and Datecode with CPS M020 CPS30

Dear Support Assistant Team!

I tried to make this sample code work: https://support.ptc.com/help/windchill/r13.0.0.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_PLMServices_STEPPLMExportImport.html, but at the end I am not able to use it. I tried to export into STEP FORMAT AP242 with implementation method both 21 and 28 for OptionSets, Parts, CAD object, but all of them failed with "Problem in export/import process. Nested exception is: java.lang.NullPointerException". Can you help us to make this code work?
Thank you in advance!
Kind regards,
Martin Herbert

Here are the errors that I faced
Problem in export/import process. Nested exception is: java.lang.NullPointerException

    2 replies

    24-Ruby III
    October 19, 2024

    Article - "NullPointerException thrown for every export action in Windchill PDMLink 12.0.2": https://www.ptc.com/en/support/article/CS351780 

    jbraga
    21-Topaz I
    November 6, 2024

    Martin,

     

    If you are still facing this issue, can you please provide your custom source code and Windchill Method Server log snippet containing the NullPointerException with the stack trace?