In this video you will learn how to create the block unique command. all of these will give you the ability to
simplify tasks and simply be more productive, so
Let me explain you why do we need these tooI
I Have
This block right now, which is the same as this one?
So let's see what happen if i modify it
Can you see what happened?
I only wanted to change this door not this one since they are the same block
They changed
So I’m gonna undo
So that's why we need our block unique command if I click on it
It's done now let's see what happen if I change again this block
Can you see that?
So that's why we need this handy command
So, let's do it!
The first step is to type cui enter
Let's try it again cui enter
Okay now, we are good
We're going to create a new command
Let's rename it, block unique
We're gonna type the following code or macro, we’re gonna apply
So now, we look for our block unique command. it's right here
Second step is to add it to our ribbon
I'm going to add it to my drawing panel for now, but you can add it. Anywhere you want
Apply and close
So it's right here, you cannot see any icon because I didn't apply any icon to it
But let's use the command again
I'm gonna copy this door
I'm gonna use my brand new block unique command click
And done. I’m gonna edit it just to show you that it works
And boom it works
so now
You might be thinking well. I already saw the code
I got it right. I can leave now and actually
Yeah, you could
seriously leave right now
But for you
Still there let me explain you what we really did so you can tweak it and apply it
Maybe for a different task
So we're gonna go back to the cui and
We're gonna find our block unique command
So
We what we really did
Was use the flatten command what is the flatten command well
Let me
show you
Here all autodesk knowledge
Flatten command creates a 2d representation of
selected objects and projects them onto the current viewing plane
So you can use flatten to create a 2d drawing from a 3d model
Or you can use it to force the thickness and elevation of selected objects
So basically this simple command it's a powerful command the we are not actually using it
and
As you can see here
This is even a lisp so flatten is a lisp routine
So if we gave flatten a
Nice use, it's to make this block unique common
because it will flatten the block and
It will
automatically rename it
So it will give it a new name
Which means is a new block
So basically we're using
Flatten right here these 2 C's means the scape keys
So we can get out of any command, then we're using flatten
We're using
this semicolon which means enter,
a Slash for pause or
For user input because we're going to click to select the block
Then we're hitting again enter
and
Then we're saying no
and
Enter again and enter to accept, and then finally this is
Dash or
underscores means
we're
Entering a new command which is re which means
regenerate for regenerate the whole drawing and kind of refresh our new block and
enter
So that's basically what we did
So now you know
exactly
How we create this
Make block unique command. for more tricks
subscribe, comment, and share!
Because we are lazy, lazy, lazy!