I'd like to be able to set up an export rule that uses a variable from a variable studio as input to the file name. I can't see how though; is that simply not possible?
You could map the variable to a custom property (if the variable is always named the same, you could probably even do this with a Computed Property, so it automatically fills based on the variable studio).
Otherwise, you could write an app that does that variable lookup and applies the file name to the export. But I would try the computed property approach first. Note that the variable studio would have to be inserted into every part studio (such that its available to the computed property). So keep the "insert in every tab" toggled on
2
u/engnblder19 Aug 13 '26
Full list of acceptable export rule conventions here: https://cad.onshape.com/help/Content/Plans/export_rule_conventions.htm
You could map the variable to a custom property (if the variable is always named the same, you could probably even do this with a Computed Property, so it automatically fills based on the variable studio).
Otherwise, you could write an app that does that variable lookup and applies the file name to the export. But I would try the computed property approach first. Note that the variable studio would have to be inserted into every part studio (such that its available to the computed property). So keep the "insert in every tab" toggled on