- [Instructor] Here I'm going to talk about
how to select elements and interfacing with the tree
and elements within the graphics window.
So the first thing I want to do is I want to turn on
several elements to help demonstrate this.
I'm going to go into Tools, Show, All Sketches.
Now, we see all of our sketches in the graphics window.
If I select a sketch, you'll notice that
it highlights the sketch here.
It also wants to highlight it in the tree.
The problem is is we don't see where it's highlighting it
in the tree exactly
and the reason behind that is
is because it's not expanded out to the sketch.
If I right mouse click on top of that sketch,
I can say center graph and it'll take me to that sketch.
You can see now where it's located at.
If I go up into View and under Tree Expansion,
I can say Expand Second Level.
Here we can see our expanded tree out to now all
of the second level elements.
So, here, if I highlight over a sketch,
you can see now where that sketch is in the tree.
Again, if you can't, you can just right mouse click
over the top of it, say center graph, and it'll take you
to that element.
If I go back up into View and go into Tree Expansion
and say Collapse All levels,
you can see now the tree is nicely cleaned up.
If I expand again, you'll see it expands all down
to the second level automatically.
I can also select an element in the tree
and it'll show me where that element is out
in the graphics window.
If I want to multi-select elements, Sketch 1.
I'm going to hold the Control key down.
I'm going to go to Sketch 3.
Sketch 4, you'll notice that all
of those elements remain selected.
If I were to do something like pick Sketch 1
and failed to hold the Control key down and picked Sketch 3,
you'll notice that it deselects the previous element
and selects and highlights the next element.
So, in order to multi-select elements,
I have to use the Control key on the keyboard.
I can also pick a range of elements.
So, if I pick Pad 1 and hold the Shift key down,
come down to, say, Pad 5 and select again,
all the elements in between are now selected.
You'll notice that these selection methods are very similar
to how Excel spreadsheet works.
So, if you're going to pick a range of elements,
you pick one cell, hold the shift key down,
pick the next appropriate cell,
and everything in between gets selected.
Other selection methods
that you should be aware of are traps.
If I come in, click and hold down my first mouse button,
and do a trap, by default,
the trap type set is
inside the rectangle,
not inside and intersecting,
just everything that is inside the rectangle.
I can change that using the Select icon
and say intersecting rectangle trap.
So, with an intersecting rectangular trap, I'm going to click,
drag, and everything that's intersecting now gets selected,
as well.
As you can see here, all of these elements were intersecting
within the rectangle and now they are all selected.
There are other various methods of selection, as well.
You have the polygonal, free hand selection trap,
just like a paintbrush, so, if I do a paintbrush stroke,
just click and hold, you'll see everything
that intersects that paintbrush stroke is now selected.
So, you can play around with these.
One that is not very often used, but I find very handy,
is outside rectangular selection trap.
So, basically, I pick everything that I do not want.
So, by doing a trap, in this case, as soon as I release it,
you'll see everything that was outside of that trap,
in this case, this sketch was the only thing outside
of that trap, now gets selected.
So, this is an inverse selection.
It's very useful, when you do need it.
Something else that you should be very wary of is,
when you do go to pick things to apply a feature,
you want to make sure
that you don't have something accidentally selected.
So, let me go ahead and reset my trap.
Go back to standard.
And I'm going to accidentally select this face.
And the reason why you don't want to have anything
accidentally selected is, when I go into a next function,
it's going to infer that you're going
to perform that function on that face or the edge or sketch
or whatever you may have selected.
So, the moment I pick this, you're going to end up with,
in this case, a warning.
And for a new user, you're going to ask questions.
What did I do wrong?
It's not that you did anything wrong,
it's just that you had something currently selected.
v5 remembers your previous highlighted selected element
and it wants to perform whatever function it is
that you selected on that element.
So, to help not paint yourself in that corner,
I highly recommend using the Escape key.
So, before I pick anything,
a lot of times what I'll do is
I'll hit the Escape key a couple times.
It will cancel out of a function
and it'll help you deselect everything,
by selecting the Escape button twice.
And the last thing I want to discuss here is,
if I'm going to use a function over and over again,
if I come in and select an icon, in this case, Hide/Show,
and I pick this sketch, you'll notice that
it hides the sketch, but that function is no longer active.
If I want to use a function over and over again,
I can double-click on the icon.
By double-clicking it, I'm telling CATIA v5
that I want to reuse the icon.
So, when I select on the sketch to hide, it hides it.
Pick it again.
I had two sketches very similar to each other on top
of one another,
so that's why it looked like it didn't hide it initially,
but it hid the first one.
Pick the next sketch and, as you can see,
that stays highlighted.
So, as I go through, pick things, function stays active.
When I'm done, I can do one of two things.
I can come over here and select on it, to turn it off.
Or I can come over again and hit the Escape key twice
to turn off that function.