Brandon_Velmex
Member
Hello everyone,
I'm trying to change the length of a part in my assembly. I would like to steer clear of configurations, because I need the part to be able to be any length. Currently I have the length linked to a global parameter, which I am able to change in a script, but the length will not change unless I click "update design" in the global parameters file. Having to click the global parameters file basically negates what I'm trying to do with the script anyway, so I am looking for a way around this. I havet thought of 3 options which I am not able to find ways to do:
I'm trying to change the length of a part in my assembly. I would like to steer clear of configurations, because I need the part to be able to be any length. Currently I have the length linked to a global parameter, which I am able to change in a script, but the length will not change unless I click "update design" in the global parameters file. Having to click the global parameters file basically negates what I'm trying to do with the script anyway, so I am looking for a way around this. I havet thought of 3 options which I am not able to find ways to do:
- Update the global parameters file with a line or two of code
- Edit the part in a separate window, close the window, and refresh the assembly
- Edit the part's extrusion value directly in the assembly