Bulk purge of unused parameters?

Bulk purge of unused parameters?

tookemtoni
Collaborator Collaborator
904 Views
7 Replies
Message 1 of 8

Bulk purge of unused parameters?

tookemtoni
Collaborator
Collaborator

Does any one have a good solution for this? 

0 Likes
Accepted solutions (2)
905 Views
7 Replies
Replies (7)
Message 2 of 8

Drewpan
Advisor
Advisor

Hi,

 

Can you post a file with an example please?

 

How are you creating these parameters you want to get rid of? Why do you want/need to get rid o them?

Does not CTRL-A then Delete not work? Why doesn't it work?

 

Why did you create a bunch of Parameters if you are not going to use them?

 

Love to help but in the dark right now. (Not just because it is night time in Australia!)

 

Cheers

 

Andrew

0 Likes
Message 3 of 8

tookemtoni
Collaborator
Collaborator

Hi Andrew,

 

Hi Andrew>

 

Ctrl+A doesn't work for me.   Looks like you can only delete one at a time.

 

Here you go: https://a360.co/3uijR5a  This is a simplified example. It would be awesome to purge unused parameters.  Like I do in Rhino with unused layers. 

 

I want to delete them because the parameters are created from a script but when I make changes to the script the old unused parameters remain.

 

I have tried Save As but the parameters remain.

 

Any ideas?

 

 

0 Likes
Message 4 of 8

Drewpan
Advisor
Advisor
Accepted solution

Hi,

 

Try this. Select the first parameter in the group you want to delete. Hold down Shift and click on the last

parameter in the group. This makes all of the parameters between select as blue highlight. Click the Delete

icon (rubbish bin) and they all disappear.

Drewpan_0-1699595403409.png

Worked for me on you file.

 

Cheers

 

Andrew

Message 5 of 8

tookemtoni
Collaborator
Collaborator
That's cool. I am so used to the old param UI in which that feature wasn't there. I am living in the modern world now.
0 Likes
Message 6 of 8

g-andresen
Consultant
Consultant

Hi,


@Drewpan wrote:

Try this. Select the first parameter in the group you want to delete. Hold down Shift and click on the last

parameter in the group. This makes all of the parameters between select as blue highlight. Click the Delete

icon (rubbish bin) and they all disappear.

 

Worked for me on you file.

 


However, this only works if none of these parameters are used in existing equations.

 

günther

0 Likes
Message 7 of 8

Drewpan
Advisor
Advisor

Hi Gunther,

 

This is true but the original question was to delete excess unused parameters from a script. If they were

being used then presumably you wouldn't want to delete them.

 

Cheers

 

Andrew

Message 8 of 8

tookemtoni
Collaborator
Collaborator
Accepted solution

So to follow up....

Bulk Delete Unused Parameter=

1. You can just select all your User Parameters and hit the trash can icon. 

2. Wait for a fusion to process what is being used

3. You will then get a warning of the parameters that can not be deleted because they're being used 🙂

4. Voilà.... you will have only used parameters in the parameter table.

 

Here is video demo.  Deleting 4 pages of unused parameters

0 Likes