& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Working with code blocks is pretty intuitive, but let's take a look at some of the general commands we should be aware of First, let's examine how we delete blocks.
Type:
Tutorial
Length:
6 min.
Transcript
00:03
Working with code blocks is pretty intuitive.
00:06
But let's take a look at some of the general commands we should be aware of.
00:11
First, let's examine how we delete blocks.
00:15
There are three primary ways in which we can delete a block.
00:20
The first is to drag a block to the waste
00:22
receptacle icon in the lower right of the canvas,
00:26
dropping the block adds it to the delete receptacle and the icon changes slightly
00:32
showing the receptacle lid ajar to let you know it is no longer empty.
00:38
Clicking on the receptacle icon opens it and
00:40
reveals the contents showing the blocks you've deleted,
00:45
you can select a deleted block and drag it into the canvas to reuse it.
00:50
Note that the block still remains in the deleted block's receptacle. Though
00:56
the second way to delete a block is to drag and
00:58
drop it on the block category's pane to the left.
01:03
Clicking on the receptacle icon again, opens it and reveals the contents
01:07
showing that blocks dropped on the left pane are collected in the receptacle. Also
01:13
a third way to delete blocks and add them to the deleted blocks. Receptacle
01:18
is to simply select them and then press the delete key on your keyboard.
01:23
The deleted blocks,
01:24
waste receptacle is automatically emptied when we exit the product definitions.
01:30
Another common set of tools to know about are
01:33
those we use to duplicate and reuse blocks.
01:36
Here.
01:36
A block is defined and then duplicated using
01:39
the duplicate option on the right click,
01:41
contextual menu.
01:43
The new block is updated in this case to define
01:46
it as a maximum input block for a length parameter.
01:50
And then the right click duplicate connected option is used
01:53
to create copies of the pair of connected blocks.
01:58
Another way to duplicate blocks is to simply select the
02:02
block and then press control C on the keyboard to copy
02:05
and then control V on the keyboard to paste.
02:12
An additional way to reuse blocks is called the backpack.
02:16
The backpack allows you to save blocks and connected blocks for reuse. Later.
02:22
The backpack also allows you to transport blocks between product definitions.
02:27
Here we add connected code blocks to the backpack
02:30
by dragging and dropping on the backpack icon.
02:34
This adds the block to the pack
02:37
but does not remove it from the canvas.
02:40
Clicking on the backpack icon shows the contents of the pack.
02:44
The blocks can be selected from the backpack pane
02:48
and dragged into the canvas.
02:50
Here. The new blocks are updated to use a different parameter,
02:55
making it quick and easy to recreate
02:58
the original block functionality for the parameter.
03:02
This new set of blocks is added to the backpack as well.
03:07
Now we'll click the save button
03:09
and this will save the backpack contents to the product definition.
03:14
Next,
03:14
we'll switch to a new product definition and
03:17
reuse these same blocks in that definition.
03:20
Looking in the backpack, we find the blocks there waiting for us
03:25
ready for them to be used in this product definition. Also,
03:29
another feature to know about is the ability to collapse code blocks
03:34
by selecting them and choosing the collapse option from the context menu.
03:39
This can help make space in the canvas as you edit
03:43
to reverse this,
03:44
select the collapsed block and choose the expand option from the context menu.
03:50
You can also right click in the canvas and choose to collapse all blocks
03:55
to expand all collapsed blocks, right? Click in the canvas and choose expand blocks
04:03
here. Two sets of blocks are stacked one above the other.
04:08
Logically,
04:09
the blocks are red and run from top to bottom.
04:13
What happens though if the blocks are arranged next to each other,
04:17
the answer is
04:18
the blocks are read from top down and then left to right.
04:24
Dragging and dropping blocks in the canvas is simple and easy.
04:29
As long as we know how to handle them.
04:32
When grabbing a block to move.
04:34
If we select the bottom block, it will tear away from the connected blocks.
04:39
Selecting the top block in a block set will move the entire set of connected blocks,
04:46
snapping a block to another can be done by snapping to the top or the bottom.
04:52
Selecting a block in the middle of a set of connected blocks
04:55
will tear away that block and all blocks connected below it.
04:60
Another useful feature to know about is the ability to add comments
05:04
to the blocks by right clicking on a block and choosing a
05:08
comment
05:09
upon doing so, a comment symbol is added to the block.
05:14
And if we click it, we can type in the comment, text,
05:18
clicking the symbol again, hides the comment.
05:21
Finally,
05:23
the ability to disable a block is handy also
05:26
to do so, select the block and then choose disable block from the context menu
05:33
to enable it again,
05:35
you guessed it, select the block and then choose enable block.
05:42
In summary,
05:43
there are three ways to delete blocks
05:46
using the delete blocks, waste receptacle icon,
05:49
using the left hand pane
05:51
and using the delete key on the keyboard.
05:54
Reusing blocks can be done within the current product definition
05:58
by using the right click, duplicate options
06:01
or control C and control V on the keyboard.
06:05
Reuse blocks between product definitions by using the backpack tool.
Video transcript
00:03
Working with code blocks is pretty intuitive.
00:06
But let's take a look at some of the general commands we should be aware of.
00:11
First, let's examine how we delete blocks.
00:15
There are three primary ways in which we can delete a block.
00:20
The first is to drag a block to the waste
00:22
receptacle icon in the lower right of the canvas,
00:26
dropping the block adds it to the delete receptacle and the icon changes slightly
00:32
showing the receptacle lid ajar to let you know it is no longer empty.
00:38
Clicking on the receptacle icon opens it and
00:40
reveals the contents showing the blocks you've deleted,
00:45
you can select a deleted block and drag it into the canvas to reuse it.
00:50
Note that the block still remains in the deleted block's receptacle. Though
00:56
the second way to delete a block is to drag and
00:58
drop it on the block category's pane to the left.
01:03
Clicking on the receptacle icon again, opens it and reveals the contents
01:07
showing that blocks dropped on the left pane are collected in the receptacle. Also
01:13
a third way to delete blocks and add them to the deleted blocks. Receptacle
01:18
is to simply select them and then press the delete key on your keyboard.
01:23
The deleted blocks,
01:24
waste receptacle is automatically emptied when we exit the product definitions.
01:30
Another common set of tools to know about are
01:33
those we use to duplicate and reuse blocks.
01:36
Here.
01:36
A block is defined and then duplicated using
01:39
the duplicate option on the right click,
01:41
contextual menu.
01:43
The new block is updated in this case to define
01:46
it as a maximum input block for a length parameter.
01:50
And then the right click duplicate connected option is used
01:53
to create copies of the pair of connected blocks.
01:58
Another way to duplicate blocks is to simply select the
02:02
block and then press control C on the keyboard to copy
02:05
and then control V on the keyboard to paste.
02:12
An additional way to reuse blocks is called the backpack.
02:16
The backpack allows you to save blocks and connected blocks for reuse. Later.
02:22
The backpack also allows you to transport blocks between product definitions.
02:27
Here we add connected code blocks to the backpack
02:30
by dragging and dropping on the backpack icon.
02:34
This adds the block to the pack
02:37
but does not remove it from the canvas.
02:40
Clicking on the backpack icon shows the contents of the pack.
02:44
The blocks can be selected from the backpack pane
02:48
and dragged into the canvas.
02:50
Here. The new blocks are updated to use a different parameter,
02:55
making it quick and easy to recreate
02:58
the original block functionality for the parameter.
03:02
This new set of blocks is added to the backpack as well.
03:07
Now we'll click the save button
03:09
and this will save the backpack contents to the product definition.
03:14
Next,
03:14
we'll switch to a new product definition and
03:17
reuse these same blocks in that definition.
03:20
Looking in the backpack, we find the blocks there waiting for us
03:25
ready for them to be used in this product definition. Also,
03:29
another feature to know about is the ability to collapse code blocks
03:34
by selecting them and choosing the collapse option from the context menu.
03:39
This can help make space in the canvas as you edit
03:43
to reverse this,
03:44
select the collapsed block and choose the expand option from the context menu.
03:50
You can also right click in the canvas and choose to collapse all blocks
03:55
to expand all collapsed blocks, right? Click in the canvas and choose expand blocks
04:03
here. Two sets of blocks are stacked one above the other.
04:08
Logically,
04:09
the blocks are red and run from top to bottom.
04:13
What happens though if the blocks are arranged next to each other,
04:17
the answer is
04:18
the blocks are read from top down and then left to right.
04:24
Dragging and dropping blocks in the canvas is simple and easy.
04:29
As long as we know how to handle them.
04:32
When grabbing a block to move.
04:34
If we select the bottom block, it will tear away from the connected blocks.
04:39
Selecting the top block in a block set will move the entire set of connected blocks,
04:46
snapping a block to another can be done by snapping to the top or the bottom.
04:52
Selecting a block in the middle of a set of connected blocks
04:55
will tear away that block and all blocks connected below it.
04:60
Another useful feature to know about is the ability to add comments
05:04
to the blocks by right clicking on a block and choosing a
05:08
comment
05:09
upon doing so, a comment symbol is added to the block.
05:14
And if we click it, we can type in the comment, text,
05:18
clicking the symbol again, hides the comment.
05:21
Finally,
05:23
the ability to disable a block is handy also
05:26
to do so, select the block and then choose disable block from the context menu
05:33
to enable it again,
05:35
you guessed it, select the block and then choose enable block.
05:42
In summary,
05:43
there are three ways to delete blocks
05:46
using the delete blocks, waste receptacle icon,
05:49
using the left hand pane
05:51
and using the delete key on the keyboard.
05:54
Reusing blocks can be done within the current product definition
05:58
by using the right click, duplicate options
06:01
or control C and control V on the keyboard.
06:05
Reuse blocks between product definitions by using the backpack tool.
There are three primary ways in which we can delete a block.
The first is to drag a block to the waste receptacle icon in the lower right of the canvas.
Dropping the block adds it to the delete receptacle, and the icon changes slightly, showing the receptacle lid ajar to let you know it is no longer empty.
Clicking on the receptacle icon opens it and reveals the contents showing the blocks you've deleted.
You can select a deleted block and drag it into the canvas to reuse it.
Note that the block still remains in the deleted blocks receptacle though.
The second way to delete a block is to drag and drop it on the block categories pane to the left.
Clicking on the receptacle icon again opens it and reveals the contents showing that blocks dropped on the left pane are collected in the receptacle also.
A third way to delete blocks and add them to the deleted blocks receptacle is to simply select them and then press the delete key on your keyboard.
The deleted blocks waste receptacle is automatically emptied when we exit the product definitions.
Another common set of tools to know about are those we use to duplicate and reuse blocks.
Here, a block is defined and then duplicated using the duplicate option on the right click contextual menu. The new block is updated In this case, to define it as a maximum input block for a length parameter, and then the right click duplicate connected option is used to create copies of the pair of connected blocks.
Another way to duplicate blocks is to simply select the block and then press control c on the keyboard to copy, and then control v on the keyboard to paste.
An additional way to reuse blocks is called the backpack.
The backpack allows you to save blocks and connected blocks for reuse later.
The backpack also allows you to transport blocks between product definitions.
Here we add connected code blocks to the backpack by dragging and dropping on the backpack icon.
This adds the block to the pack, but does not remove it from the canvas.
Clicking on the backpack icon shows the contents of the pack.
The blocks can be selected from the backpack pane and dragged into the canvas.
Here, the new blocks are updated to use a different parameter, making it quick and easy to recreate the original block functionality for the parameter.
This new set of blocks is added to the backpack as well.
Now we'll click the save button and this will save the backpack contents to the product definition.
Next, we'll switch to a new product definition and reuse the same block in that definition.
Looking in the backpack, we find the blocks there waiting for us, ready for them to be used in this product definition also.
Another feature to know about is the ability to collapse code blocks by selecting them and choosing the collapse option from the context menu.
This can help make space in the canvas as you edit.
To reverse this, select the collapsed block and choose the expand option from the context menu.
You can also right click in the canvas and choose to collapse all blocks.
To expand all collapsed blocks, right click in the canvas and choose expand blocks.
Here, two sets of blocks are stacked one above the other.
Logically, the blocks are red and run from top to bottom.
What happens though if the blocks are arranged next to each other?
The answer is the blocks are read from top down and then left to right.
Dragging and dropping blocks in the canvas is simple and easy as long as we know how to handle them.
When grabbing a block to move, if we select the bottom block, it will tear away from the connected blocks.
Selecting the top block in a block set will move the entire set of connected blocks.
Snaping a block to another can be done by snapping to the top or the bottom.
Selecting a block in the middle of a set of connected blocks will tear away that block and all blocks connected below it.
Another useful feature to know about is the ability to add comments to the blocks by right clicking on a block and choosing add comment.
Upon doing so, a comment symbol is added to the block. And if we click it, we can type in the comment text.
Clicking the symbol again hides the comment.
Finally, the ability to disable a block is handy also.
To do so, select the block and then choose disable block from the context menu.
To enable it again, You guessed it. Select the block and then choose enable block.
In summary, there are three ways to delete blocks. Using the delete block's waste receptacle icon, using the left hand pane and using the delete key on the keyboard.
Reusing blocks can be done within the current product definition by using the right click duplicate options, or control c and control v on the keyboard.
Reuse blocks between product definitions by using the backpack tool.
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Sign in for the best experience
Save your progress
Get access to courses
Receive personalized recommendations
May we collect and use your data?
Learn more about the Third Party Services we use and our Privacy Statement.May we collect and use your data to tailor your experience?
Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.