• Home
  • Training Books
  • Subscribe to Our Email Newsletter
  • About
    • Contributors
    • Feedback
    • Contact
    • Privacy policy
    • Cookie Policy

CADnotes

CAD Tutorials and Best Practices for professionals and students

  • Featured
  • AutoCAD
    • AutoLISP
  • Revit
    • Revit Architecture Basic
    • Revit MEP Basic Tutorial
  • Inventor
  • MicroStation
    • MicroStation Basic Tutorial
You are here: Home / AutoCAD / Dynamic Block Tutorial #1: Creating Wall

Dynamic Block Tutorial #1: Creating Wall

August 20, 2009 by Edwin Prakoso 27 Comments

Dynamic block feature has opened many possibilities to enhance your AutoCAD libraries and your workflow. You can manage less objects in your library, and you can automate some process with it. In this first AutoCAD dynamic block tutorial, we will learn how to create an object with adjustable length. Many practices can use this process, but this time we will create a wall.

How long does it take to draw a simple floor plan with AutoCAD? Let’s say a typical rent office plan, not much walls to be drawn, plenty of open spaces. What if I say only need a few minutes? Includes annotation, door schedule, column schedule, and wall schedule? Drawing, not designing.

The secret is prepare your template, create some reusable content definitions, some customization, use the proper tools, then you are ready to rock! I will post several tutorials to prepare them, and will close this series with using all of them in creating our plan! In this topic, we will create a wall definition with dynamic block. You will see how dynamic block can speed up the design process.

Creating the Wall

Create a new file. Use acadiso.dwt as template. Sorry if you use imperial units, you might want to try use the same unit as I do, or use imperial by converting it.

Lets create 3 layers:

  1. A-Wall, set the color to red, lineweight to 1.5
  2. A-Wall-Structure, set the color to 9, lineweight to 0.09
  3. A-Wall-Pattern, set the color to 8, lineweight to 0.00

layers

For your information, if you are not familiar with lineweight 0.00, setting it to 0.00 will plot the AutoCAD geometry using the lineweight as thin as your plotter can support.

Why we created 3 AutoCAD layers? We separate the structure and hatches so we can represent our AutoCAD drawing in different details. When we represent it in relatively large scale drawing, we can show all of them. But when we use very small scales, we will hide some details i our drawing. Yes, if you are Revit user, I’m imitating Revit detail level :)

Let’s start drawing our object. Activate layer A-Wall. Draw a rectangle with size 500×150 like below. Then draw rectangle 500×110 inside it on layer A-Wall-Pattern. After that, add a brick pattern on layer A-Wall-Structure. I use ANSI32 with scale 8 for this drawing. Make sure the pattern is associated!

brickwall

Defining Block

After creating the wall geometry, let’s create a block from it.

create block

Select your wall as the block objects, and pick insertion point as shown below. Give your block name ‘brickwall’.

insertion point

First step is done. You’ve created a reusable content for wall object, next we will add some intelligence to our object.

Add some Action

I want my wall can be stretched so it can fit wherever I place it. This is a very simple AutoCAD dynamic block, but I think it’s perfect practice if you never created a dynamic block. To add actions to your block, you have to open it in block editor.

Select your block, right click, and select Block Editor from context menu. This will bring you to block editor interface. Let’s take a look to Block Authoring Palette.

block authoring palette

It has three palette: parameters, actions, and parameter sets. Placing parameters is how you specify which parts of your objects to be references, and provide the information to actions you will add later.

Open your parameter palette, then activate linear parameter. Place the linear parameter like below. It’s similar to placing dimension!

linear parameter

See the arrow on both side. We only need this wall stretched on the right side only, so we don’t need the left arrow. Select the left arrow, and delete it.

Open properties palette, it’s on view tab. Or you can simply type CH [enter] for command line freaks.

palletes

Select your parameter, change the distance label to ‘Length’.

property labels

We will use this label to create our wall schedule later. If you don’t change it, then you will have the default value ‘distance’ as column header.

Now we have finished placing our parameter. Now the block know we want to do something with the distance with the referenced points. There are several action can use linear parameter, but now we want to use stretch.

Open the action palette. Activate stretch action.

Select parameter:
Select the linear parameter you’ve placed before.

Specify parameter point to associate with action or enter [sTart point/Second point] <Second>:

parameter point

Select the right point of our parameter, we want the wall stretched to this side.

Specify first corner of stretch frame or [CPolygon]:

stretch frame

This time you will have to define the stretch frame. Same with when you are doing stretch, only this time you predefine it.

Specify objects to stretch

We want all of our objects to stretch, so select them all.

Specify action location or [Multiplier/Offset]:

Place the action location. You can place it anywhere, it’s just a symbol. But the better place is near your action, so if anybody want to modify it later can find it easily.

Close your block editor. When AutoCAD ask you to save your block, save it. You are done!

Test your block, see if it works perfectly. stretch it to lengthen and shorten it.

brickwall

Next, we will create another dynamic block. We will create multiple size of column inside a block. We will also use the column in our complete plan I promised you earlier.

 

About Edwin Prakoso

I work as a Sr. Consultant in PT Cipta Satria Informatika. I've been using AutoCAD since R14 and Revit since Revit Building 9. I occasionally write for AUGIWorld magazine and I am also active in Autodesk discussion forum. I'm a member of Autodesk Expert Elite, an appreciation for individuals who give contributions to the Autodesk community.
Connect with me on twitter or LinkedIn.

Filed Under: AutoCAD Tagged With: dynamic block tutorial

5 1 vote
Article Rating
Subscribe
Login
Notify of
guest

guest

This site uses Akismet to reduce spam. Learn how your comment data is processed.

27 Comments
Inline Feedbacks
View all comments
msrl
msrl
4 years ago

Nowadays, after i made some dynamic block for wall and use it for a while, the hatchs always reset to it origin length, in that case i need to stretch the block twice to get the hatch adjust the block length… one by one, so desperate. Please, is there any suggestion for me, mr edwin?

0
Reply
Samuel Chai
Samuel Chai
7 years ago

Hi Edwin,

Great post! Thanks for your kind sharing.

In your example above, the wall conveniently meets a perpendicular column. However, when the wall meets another wall at a corner, for example, it looks messy because the lines overlap. What do you typically do in such instances?

Thanks in advance for your reply.

Yours,

Sammy

10
Reply
dana
dana
7 years ago

I was alright until the last step: ‘Specify action location or [multiplier/ offset]. how do I place it. the command line says BACTIONTOOL Select objects: and the cursor is a pickbox. I pick the right arrow, then exit the editor, but only the arrow moves/stretches, the wall doesn’t.
also, there’s a yellow square with ! in it next to the left corner of the wall.
what am I doing wrong?
I’ve tried it several times, and cant figure it out.

3
Reply
inga
inga
Reply to  dana
7 years ago

yeap… same here

0
Reply
(Nur) Abul F. Alam
(Nur) Abul F. Alam
8 years ago

Thank you Edwin for demonstrating the technique in a very lucid way.

0
Reply
Robert McCombie
Robert McCombie
9 years ago

Many thanks for this article. A must read and practice for all CAD users. Keep up the good work. Thanks again.

0
Reply
Medley
Medley
9 years ago

Thanks for the tutorial, It really helped me understand the process for creating a stretching block.

0
Reply
zaenal
zaenal
10 years ago

Super sekali mas Edwin, biasanya gambar manual saja gak pernah pake block. kesannya ribet. tapi lihat penjelasan diatas jadi pengen mencoba, hehe…
Trims

0
Reply
narmada
narmada
10 years ago

It is nice to learn from u, and i also want to learn step by step to draw ahouse plan or other plans.

0
Reply
Hamid Reza Karami Majoumerd
Hamid Reza Karami Majoumerd
10 years ago

Thanks for article. that’s really good.

0
Reply
« Previous 1 2
wpdiscuz   wpDiscuz

Featured

What’s New in AutoCAD 2023

AutoCAD 2023 has been released. Find out what are new features and see if you can use it in your daily work!

Recent Articles

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available

Advertisement

New on CADnotes

  • Autodesk Construction Cloud Activity Log
  • Exporting AutoCAD Plant 3D Model to Navisworks
  • Autodesk Data Connector for Power BI is Now Available
  • Autodesk Forma Design Contest
  • Revit 2025: Toposolid Enhancements

Meet the Authors

avatar for
avatar for
avatar for
avatar for
avatar for
avatar for

Get Connected

CADnotes on FacebookCADnotes on InstagramCADnotes on TwitterCADnotes on YouTube

© 2009 – 2025 CADnotes · Feedback · Privacy Policy · Become an affiliate

wpDiscuz