Hey, design nation!
In this session you're going to learn how to make flippable dynamic blocks in AutocAD.
So today we're going to construct a door, and we're going to change the location of the swing.
So first I'm going to start to draw
I'm going to choose 0-0-0 the base point.
We're going to make this jam 2*4, so 2C for close
we're going to make this door 3'*6
we're going to make it two inches wide, and then when it down use them
inferencing and see for close. Draw a circle for the arc of the door, the swing.
Take this CO for copy, move it all the way across to this intersection,
and TR for trim. And there we go. There's our door.
I'm going to select the door type block to make it a block,
and specify my base point on screen and change the name to "Door" 3ft6 in (for inches)
Select this point down here to set my base point.
I'm going to left-click on the door and then right-click and go to block editor.
So now we're in the block editor you can see this authoring palette came up
that's what we're going to use to construct the dynamic block.
For some reason your block authoring palette
didn't show up. If it wasn't here you can type B author palette, you'll see it
comes up here and that'll pop that back up. You can also find these actions in
your ribbon if you have that, but for this we're just going to use this palette.
So we're going to go to the parameters tab, we're going to select flip.
We're going to come to our door, and we're going to select the middle of this jam.
And put the flip state over here.
I'm going to take this arrow and move it to the center of the door,
so I'm going to move it over 1'9,
and then I'm also going to make another flip state in the center of this door,
so flip going to go up vertically and specify the label location just click.
So then I'll select this hit M for move, and move this over 1'9.
Okay, so we're good! I'm going to move this arrow up
to about the middle of the door, so it's just easy to click on
and now you can see that my two flip states have these warnings,
that's basically they say "Hey, you don't have an action applied to us!"
So we're going to apply an action, we're going to go to
actions and we're going to choose flip.
Once we choose flip it's asking us to select a parameter,
so we've made these two parameters and we're just going to select one of them.
Now I've selected the parameter it's prompting me
to select objects, so this is the mirror line, so whatever objects I select are
going to be reflected to the opposite side of that. So, the objects I'm gonna
select is a swing, and this door. And I can't forget to select this little guy.
And because I also want this flip state I want this arrow
whenever something gets mirrored across this line I want this arrow to go with it.
I'm also going to select that arrow, and then right-click, and we're good.
You can see that the attention icon that is on this flip state disappeared from this one.
So I'm going to select this flip action, so like this flip state number two
it's going to ask for objects again, and I'm going to select the door.
The same door that I just selected.
I don't need to select the door jam in either of these states,
because these are going to stay the same no matter what for this particular block,
but after I selected my door, I'm going to right-click, and we're good to go.
I'm going to head to test block, select my door
you can see that my arrows are here, so if I select this arrow,
it's going to flip and you can see that I actually missed this portion.
But I'm just going to continue to test and make sure that everything else is okay,
and it looks like it I just missed a little piece, and that's perfectly fine.
And I closed the test block, and you can see if you go over this action,
you can see that line isn't dotted, so I'm going to click on this, action selection modify selection,
and it says select object to add to action set or are from remove essentially.
I'm going to just add this line, and then right-click and hit the enter.
And I go back to my test block, you can see now it should be fixed, and we're good to go.
I'm going to close the test block, close the block editor
when it asked me to save, of course I want to save, and now I'm back in my model space.
If you notice when I do the block in the block editor,
I do everything on layer 0. It's a good way to draw blocks like this, because now I can
select this block, I want to go to my layer, I can go to a door, and it will
change the color of my door, and change that so I know that it's on this layer.
If you found this video helpful, please like and share it, and don't forget to
subscribe to our You Tube channel.
Pull in some cars backed in
and the variety of color changes you can get a really dynamic feel without having a ton
of different models, so this is kind of like a fancy.