Skip to main content
4-Participant
Dec 5, 2024 8:19 AM UTC
Question

Automation - Export part/assembly to different STEP file options

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.

7 replies

17-Peridot
Dec 6, 2024 4:38 AM UTC

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

 

Translate
4-Participant
Dec 23, 2024 10:57 AM UTC

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.

Translate
17-Peridot
Dec 25, 2024 6:58 AM UTC

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"

Translate
Catalina
Community Moderator
Dec 12, 2024 11:39 AM UTC

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,

Translate
Catalina | PTC Community Moderator
14-Alexandrite
Jan 16, 2025 8:17 AM UTC

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.

Translate