Bonsai_Tutorials/113000_20250418_1626 - Purging unused materials and styles from the file/113000_20250418_1626 - Purging unused materials and styles from the file.srt

88 lines
2.3 KiB
Text

1
00:00:00,000 --> 00:00:07,500
So naturally as you're working you'll come up with styles and materials that
2
00:00:07,500 --> 00:00:13,000
are not used or attached to any objects and there there's a quick way to purge
3
00:00:13,000 --> 00:00:18,240
all those styles and materials that you don't use and you can tell if they're
4
00:00:18,240 --> 00:00:24,860
being used or not by the number at this location here and see how many objects
5
00:00:24,860 --> 00:00:32,580
are using it. So if you want to purge then all the styles that you're not
6
00:00:32,580 --> 00:00:39,140
using you would go to purge data and before we do that we're gonna see we got
7
00:00:39,140 --> 00:00:48,220
30 styles and we had 39 materials. So I'm just gonna do purge unused styles first.
8
00:00:48,220 --> 00:00:55,900
So we went down to 28 surface styles and you'll notice there's some still
9
00:00:55,900 --> 00:01:00,660
that say zero but they did not get deleted. The reason being most of the
10
00:01:00,660 --> 00:01:05,660
time is that the style is attached to a material and so it's not going to delete
11
00:01:05,660 --> 00:01:13,460
it if it has that connection. So if you go back to here and go to purge unused
12
00:01:13,460 --> 00:01:21,580
materials and then purge styles you'll notice okay we lost another style so I
13
00:01:21,580 --> 00:01:27,300
think it was that air gap style. So it was attached to material we delayed that
14
00:01:27,300 --> 00:01:32,740
material and then we were able to delete the style. So a lot of times I like to
15
00:01:32,740 --> 00:01:38,860
just click these back and forth and make sure everything's purged. There are
16
00:01:38,900 --> 00:01:47,740
sometimes still styles of zero related to them. I haven't totally figured that
17
00:01:47,740 --> 00:01:55,539
out yet I'm sure there's rhyme and reason to it and trying to see if it
18
00:01:55,539 --> 00:02:00,100
applies to materials too. Sometimes it'll apply materials but doesn't look as
19
00:02:00,100 --> 00:02:07,700
often but yes this is a way to purge stuff that you don't use and there's
20
00:02:07,740 --> 00:02:14,380
also you can purge unused profiles and sorry unused types as well but I'm not
21
00:02:14,380 --> 00:02:18,060
going to do that because there's some types in here that I want to use later
22
00:02:18,060 --> 00:02:21,660
that are not applied quite yet.