I have just encountered this problem, as I've designed a spline sketch and extruded it into a body, and I want to scale the body. The exact scenario is a cable clip with a funky shape, and I want to be able to scale it for different cable sizes.
Manual scale works fine but I wanted a user parameter FlexDiameter, that's then divided by the circle diameter I happened to use for the sketch which is 14.5mm, so I made a derivative user parameter
ScaleFactor = FlexDiameter/14.5.
In October 2023, still you can't put a user parameter into the Scale dialog for a body. It stays red and won't accept it.
So I tried the workaround of editing the Model Parameter "Scale" after specifying a manual scale factor in the scaling dialog. But it refused, saying it was expecting a unitless number. Hmm, tricky. So I set ScaleFactor to be "no units" and it helpfully inserted a division by the original unit into the expression box, so it became
ScaleFactor = "(FlexDiameter/14.5)/1mm" and I thought I was home and dry. NOPE! Still refused it with the same error!
Hmm, very tricky. So then I removed my user parameters and started again.
I created FlexDiameter and set it to NO UNITS and gave it a value of 7.25
Then I created ScaleFactor and set it to NO UNITS and gave it a value of FlexDiameter/14.5
Then I edited the Model Parameter expressions in the "Scale1" for my body, replacing the number that was manually entered in the Scale dialog when doing the scale manually on the body, and put in my ScaleFactor parameter name, and it finally accepted it!
So to summarise, If you run into trouble trying to do a parametric scale (at least on a body, I know that works now), then create your user parameters from scratch using the NO UNITS option in the parameter creation dialog, and add a comment for the parameter to remind you what the units actually are, heheheh! Do a manual scale on the body, then go back into the parameter edit screen and replace the "Expression" for the scale with the parameter ScaleFactor.(I did a non-uniform scale because I only wanted to scale X & Y, so I have three boxes, for ScaleX, ScaleY, and ScaleZ, and I put my Scale Factor parameter into the Expression box for ScaleX and ScaleY and left ScaleZ as "1")
I hope that helps someone else avoid pulling hair out trying to get this to work 🐵
Cheers all!
Tony.
(Attached and embedded - image of finished Parameters dialog for my project with working parametric scaling) 