Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:
  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. Be respectful, on topic and if you see a problem, Flag it.

If you would like to contact our Community Manager personally, feel free to send a private message or an email.

Specify configuration on Partstudio translation - API

marcus_schaefermarcus_schaefer Member Posts: 7 PRO
I am trying to convert a specific configuration of my partstudio to a step file and I keep getting the default configuration. I'm assuming that this configuration string is where to specify and I have tried "configuration={config_parameterID}%3D{config_parameterValue}" (the normal configuration string format), but it still gives the default configuration. When I try it without the "configuration=" just "{config_parameterID}%3D{config_parameterValue}" I get an error. It seems like the first format is accepted but doesn't give the correct result. Has anyone had any success with this or have any ideas?

Answers

  • Caden_ArmstrongCaden_Armstrong Member Posts: 206 PRO
    edited May 2024
    You don't need to include the configuration= part when it's in the body of the request.

    But when it's in the body of the request you also shouldn't URL encode it, which I can see you are doing by the inclusion of %3D. URL encoding is only needed when it's a URL parameter.
    www.smartbenchsoftware.com --- fs.place --- Renaissance
    Custom FeatureScript and Onshape Integrated Applications
Sign In or Register to comment.