How to Create a Dynamic Block and Save Time

Learning
how to create a dynamic block

Dynamic blocks provide capabilities beyond standard AutoCAD blocks. Here, we’ll take a look at how to create a dynamic block and save time, including a couple of basic examples and a real-world example that has also personally saved me a lot of time.

One dynamic block can represent multiple configurations of standard AutoCAD blocks. The Block Editor environment will help you create and edit both dynamic and static blocks. To make a standard AutoCAD block into a dynamic one, all you do is add the appropriate parameters and actions. Each parameter and action provide the ability for the block to be changed after it is inserted. After selecting the block, special grips appear that allow you to change the dynamic block.

Here are some examples of using dynamic blocks with a description of what grips are available and what they do.

Door Block

Stretch Grip: Allows door to be stretched to multiple standard door sizes.
Alignment Grip: Allows door to be “aligned” with any AutoCAD object (e.g., line, polyline, arc, etc.).
Flip Grip: Allows door to be “flipped” (i.e., mirrored).
Point Move Grip: Allows the attribute and circle for the door schedule do be moved around as needed.

Door dynamic block AutoCAD

Window Block

Stretch Grip: Allows window to be stretched to multiple standard door sizes on either side.
Alignment Grip: Allows window to be “aligned” with any AutoCAD object (e.g., line, polyline, arc, etc.).
Point Move Grip: Allows the attribute and circle for the window schedule do be moved around as needed.

Dynamic block window AutoCAD

Real-World Example to Save Time With Dynamic Blocks

Let’s take a look at a really simple dynamic block example that not only saved me a ton of time, but made my life easier to complete the design. This example will go over how to make a dynamic block that combines a sign and the associated callout from a sign legend for a detour plan.

When I first started developing this detour plan, consisting of seven sheets, I inserted two different blocks: one for the sign and one for the callout block. I would then copy these two block, rotate the sign with the rotate command, double-click the attribute to edit it, and then rotate the attribute to the correct orientation.

AutoCAD dynamic block example

This workflow can be much more streamlined with a dynamic block. Let’s begin!

Make a Block

I will first open the sign block up in the block editor and insert the callout block and explode it.

dynamic block AutoCAD

If you have ever edited a block, you have seen the Block Authoring Palette pop-up. And, when it did, you probably closed it. Well, this palette is how you create dynamic blocks, so let’s see why you shouldn’t close it and explain why it’s there.

AutoCAD block authoring palette

The basic workflow for creating a dynamic block is to create a parameter and then give that parameter an action. There are some parameters that can standalone like the Alignment and Basepoint parameters. Notice that there is a Parameter Sets palette. This palette combines some standard parameter/action combinations to make it easier for you.

Parameters Dynamic Block AutoCAD

Add a Rotation Set to the Sign

Let’s start by adding a Rotation Set combination to the sign objects. Click the Rotation Set tool in the Parameters Sets palette.

Rotation set AutoCAD dynamic block

I will click the center of the circle to specify the radius and then the right quadrant. For the default rotation angle, I will polar track 90 degrees, and then place the label somewhere to the right.

AutoCAD dynamic block

Repeat this process for the callout circle. You should now have the following in the image.

Dynamic block callout circle AutoCAD

Now, we need to tell each parameter which objects they should rotate. Notice that there is a rotation action at the bottom right of each of the rotation parameters, and it has an exclamation point. This is a visual cue that the action has not been created for this parameter yet.

Dynamic block parameter AutoCAD

To define the objects for this action, right-click on it, and choose Action Selection Set > New Selection Set.  Select the sign objects, and press ENTER.

AutoCAD dynamic block selection set

You have now completed your first dynamic block parameter and action.

Dynamic block parameter AutoCAD

Now, before we repeat this step for the attribute, you need to make sure that you change the Lock Position property of the attribute to Yes.

AutoCAD dynamic block lock position

To make sure that you are rotating the attribute by the center of the circle, select the Rotation Grip and move it to the center of the callout.

AutoCAD dynamic block rotation grip

Now, perform the rotation action as shown previously, selecting only the attribute.

Add a Point Move Set to the Callout

Thinking ahead as to how I will need to manipulate the different components of this block, I will also need to somehow move the callout objects around for proper orientation to the sign depending on the orientation of the road, while the sign objects stay at their required orientation.

Click the Point Move tool in the Parameters Sets palette.

AutoCAD dynamic block point move tool

Snap to the center of the callout and put the label somewhere beyond the circle.

AutoCAD dynamic block snap to center

Select the Standard Grip and move it below the attribute so that it is not overlapping the rotation grip.

AutoCAD dynamic block standard grip

Right-click on the Move action and choose Action Selection Set > New Selection Set. Select the callout objects and the rotation parameter and action associated with it, and press ENTER.

AutoCAD dynamic block selection set

And that’s it!

AutoCAD dynamic block

Now, let’s test out the block before we put it to good use. Navigate to the Ribbon > Block Editor tab > Open/Save panel > Test Block tool.

AutoCAD dynamic block test block

Select the block and notice the grips that appear. The circular grips are the rotation parameters, and the square grips are the move grips.

AutoCAD dynamic block grips

Clicking on the grips allows you to change the rotation and locations of the individual sets of objects.

AutoCAD dynamic block rotation

To close the Test Block environment, simply click the Close Test Block tool at the right end of the ribbon.

AutoCAD dynamic block close test block

Close the Block Editor and save it. I now have a block that allows me to easily change to any orientation necessary to get my detour plan done. Dynamic blocks rule!

AutoCAD dynamic block
Try AutoCAD free for 15 days
The AutoCAD Blog is all about helping you get the most out of AutoCAD. It's also the best way for you to connect with the makers of AutoCAD. Subscribe to keep up with AutoCAD

______
icon-svg-close-thick

Cookie preferences

Your privacy is important to us and so is an optimal experience. To help us customize information and build applications, we collect data about your use of this site.

May we collect and use your data?

Learn more about the Third Party Services we use and our Privacy Statement.

Strictly necessary – required for our site to work and to provide services to you

These cookies allow us to record your preferences or login information, respond to your requests or fulfill items in your shopping cart.

Improve your experience – allows us to show you what is relevant to you

These cookies enable us to provide enhanced functionality and personalization. They may be set by us or by third party providers whose services we use to deliver information and experiences tailored to you. If you do not allow these cookies, some or all of these services may not be available for you.

Customize your advertising – permits us to offer targeted advertising to you

These cookies collect data about you based on your activities and interests in order to show you relevant ads and to track effectiveness. By collecting this data, the ads you see will be more tailored to your interests. If you do not allow these cookies, you will experience less targeted advertising.

icon-svg-close-thick

THIRD PARTY SERVICES

Learn more about the Third-Party Services we use in each category, and how we use the data we collect from you online.

icon-svg-hide-thick

icon-svg-show-thick

Strictly necessary – required for our site to work and to provide services to you

Qualtrics
W
Akamai mPulse
W
Digital River
W
Dynatrace
W
Khoros
W
Launch Darkly
W
New Relic
W
Salesforce Live Agent
W
Wistia
W
Tealium
W
Upsellit
W
CJ Affiliates
W
Commission Factory
W
Google Analytics (Strictly Necessary)
W
Typepad Stats
W
Geo Targetly
W
SpeedCurve
W
Qualified
#

icon-svg-hide-thick

icon-svg-show-thick

Improve your experience – allows us to show you what is relevant to you

Google Optimize
W
ClickTale
W
OneSignal
W
Optimizely
W
Amplitude
W
Snowplow
W
UserVoice
W
Clearbit
#
YouTube
#

icon-svg-hide-thick

icon-svg-show-thick

Customize your advertising – permits us to offer targeted advertising to you

Adobe Analytics
W
Google Analytics (Web Analytics)
W
AdWords
W
Marketo
W
Doubleclick
W
HubSpot
W
Twitter
W
Facebook
W
LinkedIn
W
Yahoo! Japan
W
Naver
W
Quantcast
W
Call Tracking
W
Wunderkind
W
ADC Media
W
AgrantSEM
W
Bidtellect
W
Bing
W
G2Crowd
W
NMPI Display
W
VK
W
Adobe Target
W
Google Analytics (Advertising)
W
Trendkite
W
Hotjar
W
6 Sense
W
Terminus
W
StackAdapt
W
The Trade Desk
W
RollWorks
W

Are you sure you want a less customized experience?

We can access your data only if you select "yes" for the categories on the previous screen. This lets us tailor our marketing so that it's more relevant for you. You can change your settings at any time by visiting our privacy statement

Your experience. Your choice.

We care about your privacy. The data we collect helps us understand how you use our products, what information you might be interested in, and what we can improve to make your engagement with Autodesk more rewarding.

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.