Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- 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.
Is there a list of available Dynamic Properties?
Is there a list of all Dynamic Properties to use?
Specifically - I want my export names to be:
${document.name}${part.name}${workspace.name}${version.name}_${export.timestamp}
Intended to be used as: Project (document) - PartName - PartVersionName - PartVersionRevisionName - Timestamp
That way, when I export the part multiple times to prototype at different stages, I have all the information I need. It seems it is only possible to get the workspace OR version name, and not both…. One solution is to just include my version name in each revision name…Also it seems impossible to get the part name…
Is it possible to get the part (the exported solid) name? (not the partStudio.name)?
For now I have settled on this:
${document.name}${partStudio.name}${workspaceOrVersion.name}_${export.timestamp}
Thank you!
P.S. Is it possible to change the date/time format? I would like the timstamp to be "2024-10-28T10:26:08" instead of "2024-10-28 10:26:08"
Answers
try ${name}. it returns the name of the object being exported (part)
when you just type ${*
one letter for the *, and the autocomplete will basically work as a list for you.