forked from OpeningDesign/Bonsai_Tutorials
168 lines
3.6 KiB
Text
168 lines
3.6 KiB
Text
1
|
|
00:00:00,000 --> 00:00:04,000
|
|
So there's a concept in IFC called aggregates.
|
|
|
|
2
|
|
00:00:04,000 --> 00:00:09,000
|
|
It essentially allows you to group similar objects together.
|
|
|
|
3
|
|
00:00:09,000 --> 00:00:12,000
|
|
For example, when you're making a truss,
|
|
|
|
4
|
|
00:00:12,000 --> 00:00:19,000
|
|
you can compose the bottom and top cord and the web together as one group.
|
|
|
|
5
|
|
00:00:19,000 --> 00:00:24,000
|
|
And so then they act as one when you move them around in space.
|
|
|
|
6
|
|
00:00:24,000 --> 00:00:28,000
|
|
So to do that, to create an aggregate, you select the objects you want in them
|
|
|
|
7
|
|
00:00:28,000 --> 00:00:32,000
|
|
and you go to this interface here and you click on the plus.
|
|
|
|
8
|
|
00:00:32,000 --> 00:00:35,000
|
|
You'll keep this IFC element assembly for now.
|
|
|
|
9
|
|
00:00:35,000 --> 00:00:37,000
|
|
I'll show you why later.
|
|
|
|
10
|
|
00:00:37,000 --> 00:00:41,000
|
|
But just name it whatever you want, aggregate one.
|
|
|
|
11
|
|
00:00:41,000 --> 00:00:45,000
|
|
And then you can turn on and off this little decorator here
|
|
|
|
12
|
|
00:00:45,000 --> 00:00:49,000
|
|
that shows you that these objects are all together.
|
|
|
|
13
|
|
00:00:49,000 --> 00:00:55,000
|
|
And then when you ultimately move them, they should move together.
|
|
|
|
14
|
|
00:00:55,000 --> 00:01:00,000
|
|
And so just like other geometry types in Bonsai,
|
|
|
|
15
|
|
00:01:00,000 --> 00:01:04,000
|
|
to edit this, you would tab into it.
|
|
|
|
16
|
|
00:01:04,000 --> 00:01:08,000
|
|
You can see the interface changes so you can move around individual objects.
|
|
|
|
17
|
|
00:01:08,000 --> 00:01:15,000
|
|
And again, from here, if you want to tab further and then tab to modify the geometry,
|
|
|
|
18
|
|
00:01:15,000 --> 00:01:16,000
|
|
you can do that.
|
|
|
|
19
|
|
00:01:16,000 --> 00:01:22,000
|
|
And then again, you can cycle the tab out.
|
|
|
|
20
|
|
00:01:22,000 --> 00:01:29,000
|
|
This empty here essentially acts as the aggregate's origin.
|
|
|
|
21
|
|
00:01:29,000 --> 00:01:33,000
|
|
So again, you can move that if you'd like to.
|
|
|
|
22
|
|
00:01:33,000 --> 00:01:38,000
|
|
Tab out.
|
|
|
|
23
|
|
00:01:38,000 --> 00:01:45,000
|
|
There is, similar to how types allow you to create instances
|
|
|
|
24
|
|
00:01:45,000 --> 00:01:48,000
|
|
that can all be updated at one time,
|
|
|
|
25
|
|
00:01:48,000 --> 00:01:54,000
|
|
you can actually create types for aggregates, and they're called linked aggregates.
|
|
|
|
26
|
|
00:01:54,000 --> 00:01:58,000
|
|
And so to do that, you select the aggregate that you want,
|
|
|
|
27
|
|
00:01:58,000 --> 00:02:01,000
|
|
go to linked, and say duplicate.
|
|
|
|
28
|
|
00:02:01,000 --> 00:02:04,000
|
|
And it'll create an aggregate off in space somewhere.
|
|
|
|
29
|
|
00:02:04,000 --> 00:02:09,000
|
|
And to tell that they're actual linked aggregates, there's a property set,
|
|
|
|
30
|
|
00:02:09,000 --> 00:02:12,000
|
|
this bbim linked aggregates here, if you select on that one.
|
|
|
|
31
|
|
00:02:12,000 --> 00:02:17,000
|
|
So these now, the geometry between these two are linked.
|
|
|
|
32
|
|
00:02:17,000 --> 00:02:22,000
|
|
So if I change one here, I'm just going to move that up in space,
|
|
|
|
33
|
|
00:02:22,000 --> 00:02:24,000
|
|
and I'll exit out of it.
|
|
|
|
34
|
|
00:02:24,000 --> 00:02:29,000
|
|
And now to refresh that change to the other linked aggregate,
|
|
|
|
35
|
|
00:02:29,000 --> 00:02:32,000
|
|
you hit this refresh tool here.
|
|
|
|
36
|
|
00:02:32,000 --> 00:02:35,000
|
|
See the change is reflected.
|
|
|
|
37
|
|
00:02:35,000 --> 00:02:40,000
|
|
This tool allows you to select all similar linked aggregates in space there.
|
|
|
|
38
|
|
00:02:41,000 --> 00:02:47,000
|
|
This other one will just select the empties of all the linked aggregates,
|
|
|
|
39
|
|
00:02:47,000 --> 00:02:50,000
|
|
which is handy when you have to change the attributes,
|
|
|
|
40
|
|
00:02:50,000 --> 00:02:56,000
|
|
or I think a property set related to that actual individual aggregate.
|
|
|
|
41
|
|
00:02:56,000 --> 00:03:05,000
|
|
And then, yes, if you want to just make it a dumb aggregate again,
|
|
|
|
42
|
|
00:03:05,000 --> 00:03:07,000
|
|
you click on that.
|
|
|