I'm working on creating struts for a vehicle using Creo Parametric 2.0, and I've been having issues trying to get the spring to become flexible, allowing it to shring/grow by specified amounts. The spring I designed is in its maximum height situation, and I'm trying to get it to be able to shring when it's attached to a couple other pieces that I will allow to move (dampener and top bottom part of the strut). The assembly is a rough approximation of what the real item might look like. I've attached the individual files and assembly file to this post.
In addition, there is a black, flexer piece that is attached, which I was able to make flexible by allowing the angle of the flexing pieces to change, but I have no idea if it will actually work.
The essential idea behind all of this is that I could grab the top piece, drag it downward, and the spring and flexing piece would flex, along with the plunger portion moving down/up.
If you are looking to add dynamic, real-time flexibility to your spring part that will not work. Therre are at least a few ways to have it change with a regeneration or to make it flexible. I've attached a couple ideas from the free PTC Learning Exchange.
Hope this helps.