Bulk purge of unused parameters?

Bulk purge of unused parameters?

tookemtoni
Collaborator Collaborator
933 조회수
7 답변
1/8 메시지

Bulk purge of unused parameters?

tookemtoni
Collaborator
Collaborator

Does any one have a good solution for this? 

0 Likes
수락된 솔루션(2)
934 조회수
7 답변
답변 (7)
2/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
3/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
4/8 메시지

Drewpan
Advisor
Advisor
수락된 솔루션

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

5/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
6/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
7/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

8/8 메시지

tookemtoni
Collaborator
Collaborator
수락된 솔루션

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