Skip to main content
4-Participant
December 5, 2024
Question

Automation - Export part/assembly to different STEP file options

  • December 5, 2024
  • 3 replies
  • 2049 views

Hi all, Greetings!

I need to automate export part/asm to STEP format with different options OR through different profile files in Creo. I checked Mapkey does not work. Anybody suggests how to do it? OR any API or batch files that can solve/work.

3 replies

17-Peridot
December 6, 2024

Try to change config.pro option "export_profiles_step" (pointing to .dep_step) and do export.

If this will be working for you than you can write two mapkeys: each for a profile.

In mapkey:

1. change option (path and file .dep_step)

2. export to step

 

4-Participant
December 23, 2024

Thank you @YaroslavSin
Sorry replying late!!!

 

It works with mapkey by selecting different profiles manually.
But not able to automate as once we change config option, we need to restart Creo to replicate changes.
Even if you create mapkey's with different profiles (by selecting from option) it takes default profile set for all mapkey's created.
So mapkey doesn't work for automate STEP export with different profiles.

17-Peridot
December 25, 2024

You can load a dep_step file in export window.

In my config.pro

mapkey $F5 will load "def_profile_ap214.dep_step" from the current working dir and makes export to step.

mapkey $F6 will load "def_profile_ap242.dep_step"

Catalina
Community Moderator
December 12, 2024

Hi @SikSha_4499023,

I wanted to see if you got the help you needed.

If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.

Of course, if you have more to share on your issue, please pursue the conversation.

Thanks,

Catalina | PTC Community Moderator
14-Alexandrite
January 16, 2025

If you're using OTK Java free (jlink), the STEP output process lets you choose your options in the code. It's a steep learning curve to get it working though. Look at STEP3DExportInstructions in the documentation. You can set most options in there.