hi,
i have around 75 instance parameters in a family that they start with 9.0 that needs to be changed to 3.0
is there any package for this?
thanks
hi,
i have around 75 instance parameters in a family that they start with 9.0 that needs to be changed to 3.0
is there any package for this?
thanks
Are you renaming the parameter or setting the parameter value?
For the former not all parameter types can be renamed, and for those which can be you often don’t actually want to automate this as you wind up breaking other things (i.e. formulas, schedules, etc.).
For the later Element.SetParameterValue should work fine.
renaming the actual parameters, dont have any formulas
Are they family parameters or shared parameters?
If the former I do not believe there is much API access to the class and renaming isn’t possible. A list of available method sand parameters is available here, note that Name is ‘get’ only so you can’t update it programmatically.
If the later there is more API access, but name is still ‘locked’.
Best to proceed manually as even 75 of these is a short task with some keyboard effort, but confirm there is a VALID reason to do this in the first place (usually there isn’t).
family parameter…
In that case…
I’d proceed by hand after you confirm the validity of the need.
yeah i go by hand most of the time…
thanks Jacob!