<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AutoCAD Tips Blog &#187; dynamic blocks</title>
	<atom:link href="http://www.ellenfinkelstein.com/acadblog/tag/dynamic-blocks/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ellenfinkelstein.com/acadblog</link>
	<description>AutoCAD tips &#38; tutorials to help you work faster &#38; smarter</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:49:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Dynamic blocks in AutoCAD&#8211;When and why?</title>
		<link>http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-in-autocad-when-and-why/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-in-autocad-when-and-why/#comments</comments>
		<pubDate>Mon, 11 Jul 2011 13:13:02 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[Editing]]></category>
		<category><![CDATA[block library]]></category>
		<category><![CDATA[dynamic blocks]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=1386</guid>
		<description><![CDATA[
			
				
			
		
<p>I&#8217;ve written posts about how to create specific types of dynamic blocks and about some of their features, but I&#8217;ve never explained when and why you would use a dynamic block.</p>
<p>If you have a block library that contains variations on an object or component and you insert them at various scales and rotations angles, you [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fdynamic-blocks-in-autocad-when-and-why%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fdynamic-blocks-in-autocad-when-and-why%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p><img class="alignright" src="http://www.ellenfinkelstein.com/acadblog/wordpress/wp-content/uploads/2011/autocad_tips-dynamic-blocks-why-when-1.PNG" alt="" width="504" height="316" />I&#8217;ve written posts about how to create specific types of dynamic blocks and about some of their features, but I&#8217;ve never explained when and why you would use a dynamic block.</p>
<p>If you have a block library that contains variations on an object or component and you insert them at various scales and rotations angles, you can probably save a lot of time with dynamic blocks. For example, you may have a desk that comes in various lengths. You can create one dynamic block to replace all the individual variations.  Moreover, your dynamic block will give you even more flexibility to add additional lengths.</p>
<p>It takes some time to define a dynamic block &#8212; of course, simple ones take less time but complex ones can take a long time. For this reason, the most common use for dynamic blocks is to create a block library. That means you don&#8217;t usually define  dynamic blocks for your current drawing. Instead, you create them and save them to use in future drawings.</p>
<p>But if  you&#8217;ll need to draw several components in variations in your current drawing, you can create a quick dynamic block to save yourself some time.</p>
<p>The first part of the process of creating dynamic blocks is to define the block. Here&#8217;s an overview of the workflow:</p>
<ol>
<li> In your block library drawing or a new drawing, create the block.</li>
<li> Choose Home tab&gt; Block panel&gt; Block Editor (BEDIT command) or just double-click the block. In the Edit Block Definition dialog box, choose the block, and click OK to open the Block Editor. (You can also start the BEDIT command, name the block, and create the objects in the Block Editor.)</li>
<li> Add parameters and associated actions, or geometric parametric constraints. <a href="http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-tutorial/" target="_self">Here&#8217;s a tutorial on creating a dynamic block</a>.</li>
<li> Save the block definition in the Block Editor.</li>
<li> Close the Block Editor.</li>
<li> If the drawing will contain just this block, use the BASE command to set the drawing origin where you want the insertion point to be, usually somewhere on the block. You do this when creating a block library that has one block per drawing.</li>
<li> Save the drawing.</li>
</ol>
<p>You may want to follow this process for any number of blocks. When your blocks are defined, do the following to insert your dynamic blocks:</p>
<ol>
<li> In your current drawing, either use the INSERT command to insert the drawing containing the block, or use the DesignCenter to choose the block from within the drawing.</li>
<li> Select the block to see its special grips. These grips show you where you can modify the block.</li>
<li> Usually, you click and drag a grip to modify the block. Some dynamic block parameters involve choosing a visibility or option from a drop-down list or table.</li>
</ol>
<p>Here you see the process of stretching the desk length.</p>
<p><img class="aligncenter" src="http://www.ellenfinkelstein.com/acadblog/wordpress/wp-content/uploads/2011/autocad_tips-dynamic-blocks-why-when-2.PNG" alt="" width="620" height="308" /></p>
<p>When and why do you use dynamic blocks? What is your process for creating and storing them?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-in-autocad-when-and-why/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Chain dynamic blocks (AutoCAD 2006 and later)</title>
		<link>http://www.ellenfinkelstein.com/acadblog/chain-dynamic-blocks-autocad-2006-and-later/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/chain-dynamic-blocks-autocad-2006-and-later/#comments</comments>
		<pubDate>Sun, 27 Feb 2011 14:08:05 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[AutoCad2006]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[dynamic blocks]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=1141</guid>
		<description><![CDATA[
			
				
			
		
<p>Dynamic blocks, introduced in  AutoCAD 2006, are very powerful, but sometimes they can get  complicated. One of the more involved features of dynamic blocks is  chaining. In this tip, I try to make chaining easy.</p>
<p>Sometimes, you want one action to execute a  second action at the same time. If the relationship [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fchain-dynamic-blocks-autocad-2006-and-later%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fchain-dynamic-blocks-autocad-2006-and-later%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Dynamic blocks, introduced in  AutoCAD 2006, are very powerful, but sometimes they can get  complicated. One of the more involved features of dynamic blocks is  chaining. In this tip, I try to make chaining easy.</p>
<p>Sometimes, you want one action to execute a  second action at the same time. If the relationship between the two  actions is simple and direct, you can accomplish this easily &#8212; without  chaining. You just attach two actions to the same grip on the same  parameter. When you grip-edit one action, the other happens at the same  time.</p>
<p>For example, in this desk set, the desk has a  linear parameter and a stretch action attached to the right grip of the  parameter. The top-right chair has a move action attached to the same  grip. The bottom chair also has a move action attached to that same  grip, but the distance multiplier is set to 0.5.</p>
<p>So when you stretch the desk, the top chair  moves the same distance, always remaining lined up with the right side  of the desk. The bottom chair moves half the distance, always remaining  centered behind the desk.</p>
<p>But, your geometry may require more than one  parameter.  To activate one action with another in this situation, you  use the chaining feature. Note that the secondary parameter, the one  whose action will be activated by the primary action, must be a point,  linear, polar, XY, or rotation parameter. There are some other  limitations, too, but they&#8217;re hard to explain, so just experiment.</p>
<p>Remember that you want one action (with its  parameter) to activate another action, also with a parameter. So you  need two actions and two parameters. Create a chained parameter as  follows:</p>
<ol>
<li>Create the block and open it in the Block Editor.</li>
<li>Decide on the parameters you&#8217;ll need and their actions.</li>
<li>Decide which action you&#8217;ll grip-edit in the  drawing. This is the primary action that will activate the other,  secondary, action.</li>
<li>Create both parameters first, before creating any actions.</li>
<li>Create the primary action and attach it to its parameter (the primary parameter).</li>
<li>When you specify the objects for the  primary action, include the parameter of the secondary action. This is  very important. But don&#8217;t include the objects that will be in the  selection set of the secondary action.</li>
<li>Create the secondary action, attach it to its parameter, and select its objects.</li>
<li>Select the secondary parameter, open the Properties palette, and set its chaining property to Yes.</li>
</ol>
<p>To summarize, the basic principles of chaining are as follows:</p>
<ul>
<li>The primary parameter has an action whose  selection set includes the secondary parameter in addition to any other  objects it will act on. (If the action is a stretch action, the stretch  frame also needs to include the secondary parameter.)</li>
<li>The secondary parameter&#8217;s chaining property is set to Yes.</li>
</ul>
<p>Save your block, close the Block Editor  and try out your chained dynamic block. When you grip-edit the primary  action, the secondary action will be activated at the same time.</p>
<p>As you drag the primary parameter&#8217;s grip, the secondary  parameter&#8217;s grip moves in response to the result of the primary action.  For this reason, chaining is useful when you want to maintain a constant  relationship between two components in a block.</p>
<p>In this cover, the handle needs to stay the same distance from  the top of the cover. The cover comes in three sizes (the linear  parameter has a value set) and has a stretch action. As the cover is  scaled, the handle moves up.</p>
<p>Note: Once you&#8217;ve perfected your block, you can remove the grips  from the secondary parameter, because you don&#8217;t need them. In the Block  Editor, select the secondary parameter, right-click it, and choose Grip Display &gt; 0.</p>
<p>The move action is attached to the top grip of its linear  parameter. As the cover is scaled, this parameter (the secondary  parameter) moves up, thereby moving the handle.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/chain-dynamic-blocks-autocad-2006-and-later/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>&#8220;AutoCAD Block Best Practices,&#8221; an e-book by Edwin Prakoso</title>
		<link>http://www.ellenfinkelstein.com/acadblog/autocad-block-best-practices-an-e-book-by-edwin-prakoso/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/autocad-block-best-practices-an-e-book-by-edwin-prakoso/#comments</comments>
		<pubDate>Wed, 15 Dec 2010 20:21:32 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[Training]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[dynamic blocks]]></category>
		<category><![CDATA[e-books]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=525</guid>
		<description><![CDATA[
			
				
			
		
<p>Edwin Prakoso has written an excellent and thorough e-book on AutoCAD blocks. In 69 pages, he covers the following:</p>

Creating, inserting, modifying, and replacing blocks
Creating and using attributes
Creating annotative blocks
Creating dynamic blocks, including visibility states, parameters, and constraints
Extracting data from blocks
Best practices examples
Managing and sharing blocks

<p>The book is only $10 and he&#8217;s offering a 40% discount [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fautocad-block-best-practices-an-e-book-by-edwin-prakoso%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fautocad-block-best-practices-an-e-book-by-edwin-prakoso%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Edwin Prakoso has written <a href="https://www.e-junkie.com/ecom/gb.php?cl=103602&amp;c=ib&amp;aff=7962&quot; target=&quot;ejejcsingle" target="_blank">an excellent and thorough</a><a href="https://www.e-junkie.com/ecom/gb.php?cl=103602&amp;c=ib&amp;aff=7962&quot; target=&quot;ejejcsingle" target="_blank"> e-book on AutoCAD blocks</a>. In 69 pages, he covers the following:<a href="https://www.e-junkie.com/ecom/gb.php?cl=103602&amp;c=ib&amp;aff=7962&quot; target=&quot;ejejcsingle" target="_blank"><img class="alignright" src="http://www.ellenfinkelstein.com/acadblog/wordpress/wp-content/uploads/2010/12/autocad_block_best_practices_cover.PNG" alt="" width="272" height="210" /></a></p>
<ul>
<li>Creating, inserting, modifying, and replacing blocks</li>
<li>Creating and using attributes</li>
<li>Creating annotative blocks</li>
<li>Creating dynamic blocks, including visibility states, parameters, and constraints</li>
<li>Extracting data from blocks</li>
<li>Best practices examples</li>
<li>Managing and sharing blocks</li>
</ul>
<p>The book is only $10 and he&#8217;s offering a 40% discount with the<strong> CN2010</strong> code.  It&#8217;s only good until December 31st, which is why I wanted to get this post out to you now. That makes the book only $6!</p>
<p>I suggest that you <a href="https://www.e-junkie.com/ecom/gb.php?cl=103602&amp;c=ib&amp;aff=7962&quot; target=&quot;ejejcsingle" target="_blank">take a look by clicking this link</a>. (Full disclosure: I make 30% commission.) He also has 2 e-books on Revit, if you&#8217;re interested.</p>
<p>I asked Edwin some questions to learn more about him and why he chose this topic:</p>
<p><strong>Q1: Why did you decide to focus on AutoCAD blocks?</strong></p>
<p>I believe that to be productive in AutoCAD, we need to focus on three areas: having good templates, good libraries, and good customizations. Customization need programming knowledge, and not many people can create a program. But AutoCAD blocks are quite simple to create.</p>
<p>I have seen that AutoCAD blocks today can be really useful, not only as reusable content, but also to automate some tasks. By optimizing blocks, we not only become more productive, but also reduce human errors in our design.</p>
<p><strong>Q2: Tell me a little about your background.</strong></p>
<p>I worked in Architecture consultant for a couple of years, then I moved to a building contractor. So I&#8217;m familiar with the design process and how we use AutoCAD in that area. I saw that many people tried to create custom programs to be more productive. Then I started to work at an Autodesk reseller, so I had more chances to explore AutoCAD features. I started to see that much of the automation can be done in AutoCAD without any programming. One feature that we can use is AutoCAD blocks. For example, we can use dynamic blocks and data extraction.</p>
<p><strong>Q3: You have 3 e-books, one on AutoCAD and two on Revit. Why did you decide to start writing? Are there any other books on AutoCAD in the pipeline?</strong></p>
<p>I started to write on my blog since 2004. My first blog was written in Indonesian. Some of the readers asked if I could provide the contents in e-book format. It was not easy and expensive to have an Internet connection at that time. I thought it was a good idea. So I decided to also have e-books, especially for materials that can&#8217;t be covered in blog posts. At the moment I only have one AutoCAD e-book, but I have plan to cover more about AutoCAD best practices.<br />
Wish me luck!</p>
<p>Good luck, Edwin!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/autocad-block-best-practices-an-e-book-by-edwin-prakoso/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>AutoCAD Tutorial: Create a dynamic block of a door</title>
		<link>http://www.ellenfinkelstein.com/acadblog/autocad-tutorial-create-a-dynamic-block-of-a-door/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/autocad-tutorial-create-a-dynamic-block-of-a-door/#comments</comments>
		<pubDate>Tue, 15 Jun 2010 08:56:44 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[AutoCAD]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[door]]></category>
		<category><![CDATA[dynamic blocks]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=232</guid>
		<description><![CDATA[
			
				
			
		
<p>Dynamic blocks are an amazing feature, but they can be complicated.  This tutorial will teach you many techniques that you can use in your  own blocks. The door will do the  following:</p>

 Stretch to 3 sizes
 Flip left/right
Flip in/out

<p>This tutorial is updated for AutoCAD 2010 and 2011. Follow these steps:</p>

In a new [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fautocad-tutorial-create-a-dynamic-block-of-a-door%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fautocad-tutorial-create-a-dynamic-block-of-a-door%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Dynamic blocks are an amazing feature, but they can be complicated.  This tutorial will teach you many techniques that you can use in your  own blocks. <span id="IL_AD5">The door</span> will do the  following:</p>
<ul>
<li> Stretch to 3 sizes</li>
<li> <span id="IL_AD9">Flip</span> left/right</li>
<li>Flip in/out</li>
</ul>
<p>This tutorial is updated for <span id="IL_AD1">AutoCAD</span> 2010 and 2011. Follow these steps:</p>
<ol>
<li>In a new <span id="IL_AD10">drawing</span> using  architectural units, create a Door layer and make it the current layer.</li>
<li> Draw a rectangle 1-1/2&#8243; x 30&#8243;. This is the door.</li>
<li> Start <span id="IL_AD11">the ARC</span> command and use the Center <span id="IL_AD12">option</span>.  Specify the lower-left corner of the door as the center. For the first  point, move the cursor to the right at 0°, and type <span>30</span> on the command line/dynamic input tooltip. Specify the upper-right  corner of the door to draw the arc and complete the <span id="IL_AD2">swing</span>.</li>
<div class="wp-caption aligncenter" style="width: 226px"><img src="http://www.ellenfinkelstein.com/images/acadtips_dynblk_door-1.png" alt="Arc drawing with completed swing" width="216" height="216" /><p class="wp-caption-text">Arc drawing with completed swing</p></div>
<li>Select both objects, and start <span id="IL_AD4">the BLOCK</span> command. Call the block Door. Set its base point at the lower-left  corner of the door. Check the <em>Open in Block Editor</em> check box.  Click OK. The door opens in the Block Editor with its base point at the  0,0 point of the axes.</li>
<div class="wp-caption aligncenter" style="width: 236px"><img src="http://www.ellenfinkelstein.com/images/acadtips_dynblk_door-2.png" alt="Block door drawing" width="226" height="233" /><p class="wp-caption-text">Block door drawing</p></div>
<li>From the Parameters tab of the Block Authoring palettes, choose Linear  Parameter. At the prompt, pick the lower-left corner of the door and  then the start point of the arc on the right. If prompted, pick a point  below the door for the <span id="IL_AD3">label</span>.</li>
<div class="wp-caption aligncenter" style="width: 411px"><img src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_dynblk_door-3a.png" alt="Block door label" width="401" height="408" /><p class="wp-caption-text">Block door label</p></div>
<p><strong>Note:</strong> The exclamation point indicates that the process  is incomplete or incorrect. You almost always see the exclamation point  when you place a parameter, because most parameters need an action.</p>
<li>Select the parameter, right-click it, and choose Grip Display&gt; 1. This removes the left grip, which is important because you&#8217;ll be stretching from the right grip only. If you don’t do this step, the exclamation point won’t go away when you add the action.</li>
<li>With the parameter still selected, open the Properties palette. In the Property Labels section, click the Distance Name item and change the value to <strong>Door width</strong>.</li>
<li>From the Actions tab of the Block Authoring Palettes, choose Stretch Action. At the prompt, select the linear parameter.</li>
<li>At the <em>Specify parameter point to associate with action or enter [sTart point/Second point] &lt;Start&gt;</em>: prompt, click the right grip (the turquoise triangle).</li>
<li>At the <em>Specify first corner of stretch frame or [CPolygon]: </em>prompt, pick a point above and to the right of the door. At the <em>Specify opposite corner: </em>prompt, pick a point to the left of the door and down, as you see here.</li>
<div class="wp-caption aligncenter" style="width: 321px"><img src="http://www.ellenfinkelstein.com/images/acadtips_dynblk_door-4.png" alt="Specify door corners" width="311" height="282" /><p class="wp-caption-text">Specify door corners</p></div>
<li>At the <em>Select objects: </em>prompt, pick the door (the rectangle), but nothing else. End selection.</li>
<li>At the <em>Specify action location or [Multiplier/Offset]: </em>prompt, right-click and choose the Offset option. This option lets you change the angle of the stretch action. At the <em>Enter angle offset &lt;0.00&gt;: </em>prompt, enter <strong>90</strong>. (In earlier releases, you&#8217;ll be prompted for an action location. Pick a point to the right of the grip.) In newer releases, the command ends, placing a small action icon automatically.</li>
<li>Select the action icon and open the Properties palette. It&#8217;s sometimes hard to select the action icon, so check that Stretch Action displays at the top of the Properties palette. In the Overrides section, change the Angle Offset value to 90. As you stretch to the right, the door will stretch upward.</li>
<div class="wp-caption aligncenter" style="width: 381px"><img src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_dynblk_door-5a.png" alt="Stretch action" width="371" height="379" /><p class="wp-caption-text">Stretch action</p></div>
<li>Before going any further, click the Save Block button on the Block Editor&#8217;s toolbar/tab and click the Close Block Editor button. It&#8217;s a good practice to test your dynamic block at each stage. In AutoCAD 2010 or later, you can test by clicking Test Block.</li>
<li>Save your drawing, too. Select the door, click the Stretch grip on the right and drag to the right. The door should stretch in the 90° direction, as you see here. Of course, the arc doesn&#8217;t do anything, but we&#8217;ll fix that later.</li>
<div class="wp-caption aligncenter" style="width: 370px"><img src="http://www.ellenfinkelstein.com/images/acadtips_dynblk_door-7.png" alt="Door stretch 90° direction" width="360" height="246" /><p class="wp-caption-text">Door stretch 90° direction</p></div>
<li>In order to constrain the width of the door to common widths, select the  door and open the Block Editor again or close the Test <span id="IL_AD8">Block window</span>.</li>
<li>
<div style="overflow: hidden; color: #000000; background-color: transparent; text-align: left; text-decoration: none; border: medium none;">Select the linear parameter. In the Properties palette, scroll down to  the Value Set section.</div>
</li>
<li>
<div style="overflow: hidden; color: #000000; background-color: transparent; text-align: left; text-decoration: none; border: medium none;">Click the <em>Dist Type</em> item and choose List from the drop-down  list. Click the <em>Dist Value List</em> item and click the Ellipsis  button. Enter <strong><span>32</span> </strong>in the Distance to Add box  and press Enter. Then enter <strong><span>36</span> </strong>and press  Enter. Then click OK. You now see thin, vertical bars to the right of  the door to indicate the allowable door widths.</div>
</li>
<div class="wp-caption aligncenter" style="width: 247px"><img src="http://www.ellenfinkelstein.com/images/acadtips_dynblk_door-8.png" alt="Adding distance value" width="237" height="270" /><p class="wp-caption-text">Adding distance value</p></div>
<li>Save the block again and close the Block Editor. You may see this dialog  box or a similar one now or later in this tutorial. Sometimes, saving  changes to a block that&#8217;s already in your drawing can <span id="IL_AD7">cause problems</span>, but usually it&#8217;s all  right. So click Yes.</li>
<div class="wp-caption aligncenter" style="width: 289px"><img src="http://www.ellenfinkelstein.com/images/acadtips_dynblk_door-9.png" alt="Save block changes" width="279" height="147" /><p class="wp-caption-text">Save block changes</p></div>
<li>Try stretching the door this time. You’ll see those vertical bars again and you’ll be able to stretch only to those distances.</li>
<li>Now it’s time to get that arc to follow the door. You might think that you could stretch the arc, too, but stretched arcs become distorted. Instead, you want to scale the arc. Because you want the arc to stretch by the same amount that you stretch the door, you use the same parameter and add another action to it, this time a Scale action. So, open the Door block in the Block Editor again.</li>
<li>On the Actions tab, choose Scale Action. At the <em>Select parameter: </em>prompt, select the linear parameter. At the <em>Select objects: </em>prompt, select the arc and end selection. For earlier releases, at the <em>Specify action location or [Base type]: </em>prompt, place the action label near the arc.</li>
<div class="wp-caption aligncenter" style="width: 463px"><img src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_dynblk_door-9a.png" alt="Arc action label" width="453" height="430" /><p class="wp-caption-text">Arc action label</p></div>
<li>Save and test. As you stretch the door, the arc scales accordingly. Make sure that there are no gaps at any width. If there are, you need to correct something.</li>
<li>It would be great to create a door that can flip in all directions because this could replace four separate blocks or remove the necessity to insert a door block at negative values. To do this, return to the Block Editor.</li>
<li>From the Parameters tab, choose Flip. At the <em>Specify base point of reflection line or [Name/Label/Description/Palette]: </em>prompt, Shift+right-click and choose Mid Between Two Points. Then specify the endpoint at the basepoint of the block and the endpoint at the start point of the arc. At the <em>Specify endpoint of reflection line: </em>prompt, move up 90° and pick. (The length of the reflection line is not important.) At the <em>Specify label location: </em>prompt, pick a location inside the arc.</li>
<li>From the Actions tab, choose Flip. At the <em>Select parameter: </em>prompt, choose the Flip parameter. At the <em>Select objects: </em>prompt, select the door and its arc. If prompted to do so, place the label next to the Flip parameter.</li>
<li>Save the block and test .Select the block. Click the flip grip and the door flips. Flip it back again. Now try stretching the door to its maximum width and flip again. There are two problems:
<ul>
<li>The stretch grip stays on the right when you flip the door, so now you can’t stretch the door.</li>
<li>Did you notice that the flip grip stays where it was? It’s no longer in the middle of the door, which means that it won’t flip properly. If you draw two walls with a 3’ gap and flip the door, you’ll see this clearly.</li>
</ul>
</li>
<p><strong>Note</strong>: You can see why you need to test dynamic blocks thoroughly!</p>
<div class="wp-caption aligncenter" style="width: 306px"><img src="http://www.ellenfinkelstein.com/images/acadtips_dynblk_door-11.png" alt="Test dynamic blocks" width="296" height="227" /><p class="wp-caption-text">Test dynamic blocks</p></div>
<li>To make the stretch grip flip, you need to include it in the selection  set of the flip action. In fact, you need to include the linear  parameter, the stretch action, and the arc’s scale action so that  everything works no matter which way the door is flipped. So, open the  door in the Block Editor again.</li>
<li>Select the flip action icon (not the flip parameter). Right-click it and  choose Action Selection Set&gt; New Selection Set. At the <em>Select  object to add to action set or [Remove]:</em> prompt, type <strong>all</strong> and press Enter to end selection.</li>
<li>Save the block and exit the Block Editor. Start by stretching the door  back to its minimum of 30&#8243;. Flip the door a couple of times and you’ll  see that the stretch grip flips back and forth at all widths. The arc  works properly, too.</li>
<li>To fix the problem with the flip grip not staying at the midpoint, you  need to move it when you stretch the door. In fact, you need to move it  half the distance that you stretch. This will keep the flip grip  centered. Open the door in the Block Editor again.</li>
<li>From the Actions tab, choose Move. At the <em>Select parameter:</em> prompt, select the linear parameter, because you want the flip parameter  to move <span id="IL_AD6">in concert</span> with (but  half the distance of) that parameter. At the<em> Specify parameter point  to associate with action or enter [sTart point/Second point]  &lt;Start&gt;:</em> prompt, pick the right grip on the linear parameter.  At the <em>Select objects:</em> prompt, select the flip parameter (not  the action). End selection. Select the Move action icon and open the  Properties palette. Set  the Distance Multiplier option to .5. If  prompted, place the move label near the flip parameter.</li>
<li>Save and test the door at the 3 widths. Now, when you stretch the door,  after you click, the flip grip jumps to the new midpoint of the door.</li>
<li>Actually, there’s another problem! You don’t see it unless you do the  following. Start with the door opening to the right (its original  direction) and stretch it to its maximum width, 3’. Flip it. Then  stretch it to its narrowest width. Do you see how the block’s insertion  point doesn’t move with the block? This makes moving the block  difficult. So open the door for editing again.</li>
<li>From the Parameters tab, choose Base Point. At the prompt, specify the  bottom-left corner of the door, which is 0,0 in the Block Editor. You  can use the Endpoint object snap to specify the point.</li>
<li>Now, select the flip action, right-click, and choose Action Selection  Set&gt; Modify Selection Set. At the <em>Select object to add to action  set or [Remove]:</em> prompt, select the new base point parameter and  press Enter to end selection.</li>
<li>Save and test the block again as you did before (it may have moved &#8212; if  so, move it back). You’ll see that the block’s base point always stays  on the block.</li>
<li>There’s just one more procedure—to add a flip action going the other  way, so that the door can open inward or outward. So open the door for  editing again.</li>
<li>Choose Flip from the Parameter tab and start the reflection line at the  lower-left corner of the door &#8212; the basepoint. End this horizontal  reflection line at the bottom endpint of the arc. Place the label to the  left of the door.</li>
<li>On the Actions tab, choose Flip Action. At the <em>Select parameter:</em> prompt, choose the flip parameter. At the <em>Select objects: </em>prompt,  type <strong>all</strong> and end selection. (That’s what you learned  you needed to do in the previous steps.) You should see <span>13 found</span>. If prompted for a location, place the  label beneath the flip parameter label.</li>
<li>Save and  test the door.</li>
<li>You probably thought you were done, but there’s one more step. As you  did before, stretch the door to its maximum width. Flip the door to the  left and then stretch it to its narrowest. You’ll see that the new flip  grip doesn’t follow. That’s because it isn’t included in the first flip  action you created. (It couldn’t be, because the new flip action didn’t  exist then.) In fact, you want the in/out flip parameter to flip with  the left/right flip action.</li>
<li>Re-edit the block. Select the first flip action, right-click and choose  Action Selection Set&gt; Modify Selection Set. At the <em>Select object  to add to action set or [Remove]:</em> prompt, select the new flip  parameter. Save, exit, and test again.</li>
</ol>
<p>As you can see, there is often an iterative process, requiring you to  go back and include new objects in actions that you created earlier.  Remember to thoroughly test your dynamic blocks!</p>
<p>Watch the video of how the door functions.</p>
<div id="media" style="text-align: center;"><object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="587" height="435" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.ellenfinkelstein.com/autocadtips/images/autocad_dynamic_block_of_door_controller.swf" /><param name="bgcolor" value="#1a1a1a" /><param name="quality" value="best" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /><param name="scale" value="showall" /><param name="flashVars" value="autostart=false#&amp;thumb=FirstFrame.png&amp;thumbscale=45&amp;color=0x000000,0x000000" /><param name="name" value="csSWF" /><param name="flashvars" value="autostart=false&amp;thumb=FirstFrame.png&amp;thumbscale=45&amp;color=0x000000,0x000000" /><param name="allowfullscreen" value="true" /><embed id="csSWF" type="application/x-shockwave-flash" width="587" height="435" src="http://www.ellenfinkelstein.com/autocadtips/images/autocad_dynamic_block_of_door_controller.swf" name="csSWF" flashvars="autostart=false&amp;thumb=FirstFrame.png&amp;thumbscale=45&amp;color=0x000000,0x000000" scale="showall" allowfullscreen="true" allowscriptaccess="always" quality="best" bgcolor="#1a1a1a"></embed></object></div>
<div style="overflow: hidden; color: #000000; background-color: transparent; text-align: left; text-decoration: none; border: medium none;"><!--begin main content --></div>
<p><a href="../../../autocadtips/images/dynamic_block_of_door.dwg">Download  the drawing.</a></p>
<p>Thanks to Edwin Prakoso for helping me debug this block. He  suggested typing &#8220;all&#8221; to select objects.</p>
<p><strong>Related tips</strong></p>
<ul>
<li><a href="../../../AutoCAD_tips_dynamic_blocks_white_papers.html">Dynamic  blocks white papers</a></li>
<li><a href="../../../AutoCAD_tips_dynamic_blocks_tutorial.html">Dynamic  blocks tutorial</a></li>
<li><a href="../../../AutoCAD_tips_flip_objects_dyn_blocks.html">Flip  objects with dynamic blocks</a></li>
<li><a href="../../../AutoCAD_tips_chain_dynamic_blocks_2006.html">Chain  dynamic blocks</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/autocad-tutorial-create-a-dynamic-block-of-a-door/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Working with Blocks: The BASE command, the Basepoint option, and the Basepoint parameter</title>
		<link>http://www.ellenfinkelstein.com/acadblog/working-with-blocks-the-base-command-the-basepoint-option-and-the-basepoint-parameter/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/working-with-blocks-the-base-command-the-basepoint-option-and-the-basepoint-parameter/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 21:32:58 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[base]]></category>
		<category><![CDATA[basepoint]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[cycling]]></category>
		<category><![CDATA[dynamic blocks]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=138</guid>
		<description><![CDATA[
			
				
			
		
<p>Blocks and basepoints go hand-in-hand. Knowing how to work with basepoints can make your life much easier. It&#8217;s so frustrating to insert a block and have it disappear into outer space because the basepoint is in the wrong location!</p>
The Basepoint option of the INSERT command
<p>When you insert a block, a Basepoint option appears with the [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fworking-with-blocks-the-base-command-the-basepoint-option-and-the-basepoint-parameter%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fworking-with-blocks-the-base-command-the-basepoint-option-and-the-basepoint-parameter%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Blocks and basepoints go hand-in-hand. Knowing how to work with basepoints can make your life much easier. It&#8217;s so frustrating to insert a block and have it disappear into outer space because the basepoint is in the wrong location!</p>
<h3>The Basepoint option of the INSERT command</h3>
<p>When you insert a block, a Basepoint option appears with the <span class="prompt">Specify insertion point:</span> prompt. When you use this option, you can move the insertion base point of the block to anywhere you want. This option can be really helpful sometimes but I don&#8217;t think it&#8217;s used very often.</p>
<h3>The BASE command</h3>
<p>A block library often has one block per drawing. You save each block in its own drawing. By default, the basepoint of a drawing is 0,0. But unless you put the block right at 0,0, you&#8217;ll want to change that. (Another option that works is to use WBLOCK and choose to write just the block. Then, the basepoint is taken from the block and is in the right place.)</p>
<p>Use the BASE command in the drawing containing the block to specify the origin of the drawing, which is usually on an object snap somewhere on the block. Then, when you insert the drawing, your basepoint will be right on the block.</p>
<div class="wp-caption alignleft" style="width: 199px"><img src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_base&amp;basepoint-1.png" alt="The Basepoint parameter for dynamic blocks" width="189" height="394" /><p class="wp-caption-text">The Basepoint parameter for dynamic blocks</p></div>
<h3>Creating a Basepoint parameter</h3>
<p>For a dynamic block, the Basepoint parameter  sets a base point for the block. This is useful when you&#8217;re turning a block into a dynamic block and want to change the basepoint. You add a Basepoint parameter in the Block Editor, from the Parameters tab of the Block Authoring Palettes, as you see here. The basepoint functions like any other block basepoint.</p>
<p>During insertion of a dynamic block, you can use the Basepoint option as I described earlier.</p>
<p>But you can do something else with dynamic blocks.</p>
<p>While you&#8217;re inserting a dynamic block, you can press Ctrl to cycle among the grips if their Cycling property is set to Yes. (By default, it is.) Each time you press Ctrl, the cursor moves to another grip on the block. This lets you visually see the results of each basepoint before you commit to inserting the block.</p>
<p>To check the Cycling property, double-click the block to open the Edit Block Definition dialog box, and click OK to open the Block Editor. Click any grip and open the Properties palette. Look for the Cycling property in the Misc section, as you see here.</p>
<div class="wp-caption alignright" style="width: 252px"><img src="http://www.ellenfinkelstein.com/autocadtips/images/acadtips_base&amp;basepoint-2.png" alt="Cycling property of dynamic blocks in AutoCAD" width="242" height="87" /><p class="wp-caption-text">Cycling property of dynamic blocks in AutoCAD</p></div>
<p>If the Cycling property is set to No, click the item, click the drop-down arrow, and choose Yes.</p>
<p>Do you have any other tips for controlling blocks with basepoints?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/working-with-blocks-the-base-command-the-basepoint-option-and-the-basepoint-parameter/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create a rectangle with an adjustable corner, Part 2: Using a dynamic block</title>
		<link>http://www.ellenfinkelstein.com/acadblog/create-a-rectangle-with-an-adjustable-corner-part-2-using-a-dynamic-block/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/create-a-rectangle-with-an-adjustable-corner-part-2-using-a-dynamic-block/#comments</comments>
		<pubDate>Mon, 02 Nov 2009 21:19:53 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[dynamic blocks]]></category>
		<category><![CDATA[rectangle]]></category>
		<category><![CDATA[stretch]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=101</guid>
		<description><![CDATA[
			
				
			
		
<p>In a previous post, &#8220;Create a rectangle with a flexible corner,&#8221; I showed how to create a rectangle whose upper-right corner is strechable, creating a flexible rectangle that doesn&#8217;t lose its shape. In this post, I show how to do the same with a dynamic block.</p>
<p>Thanks to Joel, whose comment to the earlier post helped [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fcreate-a-rectangle-with-an-adjustable-corner-part-2-using-a-dynamic-block%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fcreate-a-rectangle-with-an-adjustable-corner-part-2-using-a-dynamic-block%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>In a previous post, &#8220;<a href="http://www.ellenfinkelstein.com/acadblog/create-a-rectangle-with-an-adjustable-corner/">Create a rectangle with a flexible corner</a>,&#8221; I showed how to create a rectangle whose upper-right corner is strechable, creating a flexible rectangle that doesn&#8217;t lose its shape. In this post, I show how to do the same with a dynamic block.</p>
<p>Thanks to Joel, whose comment to the earlier post helped me figure this out.</p>
<p style="text-align: center;"><object id="csSWF" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="400" height="318" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="src" value="http://www.ellenfinkelstein.com/autocadtips/images/flexible_rectangle_using_dynamic_block.swf" /><param name="bgcolor" value="#1a1a1a" /><param name="quality" value="best" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="false" /><param name="scale" value="noscale" /><param name="flashVars" value="autostart=false" /><param name="name" value="csSWF" /><param name="flashvars" value="autostart=false" /><param name="allowfullscreen" value="false" /><embed id="csSWF" type="application/x-shockwave-flash" width="400" height="318" src="http://www.ellenfinkelstein.com/autocadtips/images/flexible_rectangle_using_dynamic_block.swf" name="csSWF" flashvars="autostart=false" scale="noscale" allowfullscreen="false" allowscriptaccess="always" quality="best" bgcolor="#1a1a1a"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/create-a-rectangle-with-an-adjustable-corner-part-2-using-a-dynamic-block/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Tutorial: Use fields to automatically label dynamic blocks</title>
		<link>http://www.ellenfinkelstein.com/acadblog/tutorial-use-fields-to-automatically-label-dynamic-blocks/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/tutorial-use-fields-to-automatically-label-dynamic-blocks/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 10:27:23 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Customization]]></category>
		<category><![CDATA[AutoCAD]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[dynamic blocks]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=1332</guid>
		<description><![CDATA[
			
				
			
		
<p>You can use fields (AutoCAD 2005 and later) to create automatic labels that provide information about objects.</p>
<p>I&#8217;ve covered aspects of this topic before. In &#8220;Tutorial: Display the area of an enclosed figure,&#8221; I show how to use fields to create a label that displays an area.</p>
<p>In &#8220;Tutorial: Create attributes,&#8221; I mention that you can use [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Ftutorial-use-fields-to-automatically-label-dynamic-blocks%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Ftutorial-use-fields-to-automatically-label-dynamic-blocks%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>You can use fields (AutoCAD 2005 and later) to create automatic labels that provide information about objects.</p>
<p>I&#8217;ve covered aspects of this topic before. In <a href="../../../AutoCAD_tips_display_area_enclosed_figure.html">&#8220;Tutorial: Display the area of an enclosed figure,&#8221;</a> I show how to use fields to create a label that displays an area.</p>
<p>In &#8220;<a href="../../../AutoCAD_tips_create_attribute.html">Tutorial: Create attributes,&#8221;</a> I mention that you can use fields in attributes.</p>
<p>In this tutorial, I&#8217;ll expand on the idea of using fields in  attributes, which are labels attached to blocks. This example shows the  use of fields that label geometric parameters of  dynamic blocks.</p>
<ol>
<li>Open the Block Editor. (Tools&gt; Block Editor or Blocks &amp; References tab&gt; Block panel&gt; Block Editor.</li>
<li>Create the objects for the block.</li>
<li>Create the parameter and action you want to label. For  example, for a desk, I created a Linear Parameter and a Stretch Action. I  renamed the Linear parameter&#8217;s label to <em>Length</em> in the Properties palette. If you need further instructions, you can download my complete dynamic blocks tutorial from my &#8220;<a href="../../../AutoCAD_tips_dynamic_blocks_tutorial.html">Dynamic blocks tutorial</a>&#8221; page.</li>
</ol>
<p align="center"><img src="../../../autocadtips/images/acadtips_fields_attributes_dynblocks-1.png" alt="" width="471" height="294" /></p>
<ol>
<li>Start the ATTDEF command (Draw&gt; Block&gt; Define Attributes  or Blocks &amp; Reference tab&gt; Atrtributes panel&gt; Define  Attributes).</li>
<li>In the Attribute Definition dialog box, type in a tag name,  such as Length. For the Deafult entry, type the text that you want to  appear before the value, such as <span>Length: </span>.  (Add a space after the colon.) Check the Constant check box so that you  won&#8217;t get a prompt. The whole point is to make the label automatic. Set  the Text Settings section as desired.</li>
<li>Then right-click in the Default text box or click the Insert  Field button at the right to open the Field dialog box. From the Field  Category drop-down list, choose Objects. Then choose  BlockPlaceholder  as the field name. The Block reference property should be the name of  the parameter you used. This is Length in our example. Set the format as  desired, and click OK.</li>
</ol>
<p><span>Note:</span> The Length property is on  the list only because I created a parameter named Length. The other  properties are available for all blocks.</p>
<ol>
<li>You&#8217;re now back in the Attribute Definition dialog box, which  should look like the figure below. Click OK. Place the label where you  want it.</li>
</ol>
<p align="center"><img src="../../../autocadtips/images/acadtips_fields_attributes_dynblocks-2.png" alt="" width="346" height="309" /></p>
<ol>
<li>Save the dynamic block by clicking the Save button in the Block Editor. Close the Block Editor.</li>
<li>Back in your drawing, insert the block (Insert&gt; Block or  Blocks &amp; References tab&gt; Block panel&gt; Insert). Before you  specify the insertion point, you&#8217;ll see the following for the label.</li>
</ol>
<p align="center"><img src="../../../autocadtips/images/acadtips_fields_attributes_dynblocks-3.png" alt="" width="358" height="240" /></p>
<p>After you insert the block, you&#8217;ll see the value of the field.</p>
<p align="center"><img src="../../../autocadtips/images/acadtips_fields_attributes_dynblocks-4.png" alt="" width="318" height="218" /></p>
<ol>
<li>After you modify the dynamic block, you&#8217;ll need to update the  field. In this example, changing the length makes the desk longer. Enter  <span>updatefield</span> on the command line to update the field.</li>
</ol>
<p align="center"><img src="../../../autocadtips/images/acadtips_fields_attributes_dynblocks-5.png" alt="" width="385" height="200" /></p>
<p>Tested in AutoCAD 2009.</p>
<div style="overflow: hidden; color: #000000; background-color: transparent; text-align: left; text-decoration: none; border: medium none;">
<a style="color: #003399;" href="../../../autocadtips/AutoCAD_tips_field_automatic_labels.html#ixzz1QTPvpFXG"></a></div>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/tutorial-use-fields-to-automatically-label-dynamic-blocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic blocks: the white papers</title>
		<link>http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-the-white-papers/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-the-white-papers/#comments</comments>
		<pubDate>Tue, 06 Mar 2007 14:12:32 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[dynamic blocks]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=1144</guid>
		<description><![CDATA[
			
				
			
		
<p>I&#8217;ve written three white papers for Autodesk on Dynamic Blocks.  Together, these three white papers provide a thorough overview of the  dynamic block feature.</p>
<p>Part 1: Dynamic Block Overview and Quick-Start Tutorial. In  this white paper I explain the concepts behind dynamic blocks and  suggest some scenarios for their use. I display [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fdynamic-blocks-the-white-papers%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fdynamic-blocks-the-white-papers%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ve written three <span id="IL_AD12">white papers</span> for Autodesk on Dynamic Blocks.  Together, these three white papers provide a thorough overview of the  dynamic block feature.</p>
<p><strong>Part 1: Dynamic Block Overview and Quick-Start Tutorial. </strong>In  this white paper I explain the concepts behind dynamic blocks and  suggest some scenarios for their use. I display some sample dynamic  blocks and explain the steps for creating one. I define the components  of dynamic blocks, parameters and actions. I end the paper with a short  tutorial to run you through the process of creating, inserting, and  editing your first dynamic block. <a href="../../../images/white_paper_on_dynamic_blocks_part_1.pdf" target="_blank">Download Part 1</a>(PDF, 10 pp.)</p>
<p><strong>Part 2: Inventory of Block <span id="IL_AD9">Editor</span>, Commands, Parameters, Actions, and Parameter Sets. </strong>In  this white paper I document dynamic block properties and  characteristics. I list dynamic block capabilities and provide a  thorough review of the Block Editor, which is the interface for creating  dynamic blocks. Then I list and describe all the parameters, which are  the building blocks of dynamic blocks. I explain how to attach actions  to parameters. Actions are like editing commands, which control how you  can edit a dynamic block. I end the paper with a table of parameter  sets, which are parameter-action combos that you can quickly apply to a  block. <a href="../../../images/white_paper_on_dynamic_blocks_part_2.pdf" target="_blank">Download Part 2</a> (PDF, 12 pp.)</p>
<p><strong>Part 3: Advanced Features of Dynamic Blocks. </strong>In the final  white paper, I explain some of the advanced features, best practices,  and capabilities of dynamic blocks. Here are the topics:</p>
<ul>
<li>Naming parameters and actions</li>
<li>Selecting objects for actions</li>
<li>Specifying stretch frames</li>
<li>Cycling through insertions points</li>
<li>Changing the direction of an action</li>
<li>Keeping objects centered</li>
<li>Stretching a block equally in opposite directions</li>
<li>Chaining parameters</li>
<li>Using visibility states</li>
<li>Using lookup parameters and tables</li>
</ul>
<p><a href="../../../images/white_paper_on_dynamic_blocks_part_3.pdf" target="_blank">Download Part 3</a> (PDF, 15 pp.)</p>
<p>Here&#8217;s <a href="http://myfeedback.autodesk.com/files/dynblock.wmv">a video</a> showing the use of dynamic blocks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-the-white-papers/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flip objects with dynamic blocks</title>
		<link>http://www.ellenfinkelstein.com/acadblog/flip-objects-with-dynamic-blocks/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/flip-objects-with-dynamic-blocks/#comments</comments>
		<pubDate>Wed, 10 Oct 2001 14:09:57 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[AutoCAD]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[dynamic blocks]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=752</guid>
		<description><![CDATA[
			
				
			
		
<p>You can create dynamic blocks  that you can easily flip after you insert them. This is great for doors  which may open from the left or right, or open inward or outward.  Dynamic blocks were introduced in AutoCAD 2006.</p>
<p>Follow these steps to create a door that flips both ways:</p>
<p>Start with a door [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fflip-objects-with-dynamic-blocks%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fflip-objects-with-dynamic-blocks%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>You can <span id="IL_AD3">create</span> dynamic blocks  that you can easily flip after you insert them. This is great for doors  which may open from the left or right, or open inward or outward.  Dynamic blocks were introduced in <span id="IL_AD1">AutoCAD</span> 2006.</p>
<p>Follow these steps to create a door that flips both ways:</p>
<p>Start with a door block, like this one. You might want to insert  it into a new drawing. You don&#8217;t need to explode it; when you open it in  the Block Editor, you&#8217;ll have access to all the individual components,  as if you had exploded it. That&#8217;s one of the great features of dynamic  blocks; you can work with complex blocks that contain many components  and individually <span id="IL_AD2">program</span> each component.</p>
<p><img class="aligncenter" title="door block" src="http://www.ellenfinkelstein.com/images/acadtips_flip_dyn_blk-1.jpg" alt="" width="249" height="236" /></p>
<p><img src="../../../images/acadtips_flip_dyn_blk-2.jpg" alt="" width="24" height="23" />Choose Block Editor from the Standard toolbar (the BEDIT command). Here&#8217;s what you see.</p>
<p><img class="aligncenter" title="the BEDIT command" src="http://www.ellenfinkelstein.com/images/acadtips_flip_dyn_blk-3.jpg" alt="" width="461" height="263" /></p>
<p>Note that the Block Editor has <span id="IL_AD5">its own</span> toolbar. It also has its own  UCS icon. This is very important, because 0,0 in the Block Editor will  be the insertion point of the block. When you open the block in the  Block Editor, its insertion point will be at 0,0 in the Block Editor,  like this:</p>
<p><img class="aligncenter" title="0,0 in the Block Editor" src="http://www.ellenfinkelstein.com/images/acadtips_flip_dyn_blk-4.jpg" alt="" width="323" height="304" /></p>
<p>The first flip action we&#8217;ll create will be like mirroring with a vertical <span id="IL_AD8">mirror</span> line; it will flip the door to the left or right. Unflipped, the door  will be as you see it here, which means it opens from the right to the  left. <span id="IL_AD10">Flipped</span>, the door will open from the left to the right.</p>
<p>Click the Parameters tab of the Block Authoriing Palettes window and choose Flip Parameter. At the <em>Specify base point of reflection line or [Name/Label/Description/Palette]:</em> prompt,  choose the Label option. This option lets you customize the  label. It&#8217;s important to change it, because we&#8217;ll have two flip  parameters when we&#8217;re done. Enter <span>Flip Left/Right</span>.</p>
<p>You can also customize the names for both states (which appear in  the Properties palette). so the next thing you see is this prompt:</p>
<p><em>Specify values for items in the flip property dropdown control:</em></p>
<p><em>Enter flip <span id="IL_AD6">property value</span> for an unflipped state &lt;Not flipped&gt;:</em></p>
<p><em>Enter flip property value for a flipped state &lt;Flipped&gt;:</em></p>
<p>You can leave the defaults (Not flipped and Flipped), but instead, enter <span>Opens at right</span> for the unflipped state and enter <span>Opens at left </span>for the flipped state. Later, when you select the block, you can see which state you have in the Properties palette.</p>
<p>You can change these values at any time by selecting the parameter and using the Properties palette.</p>
<p>Now the original prompt returns. <em>Specify base point of reflection line or [Name/Label/Description/Palette]: </em>Specify the midpoint of the bottom horizontal line of the door.<br />
<em>Specify endpoint of reflection line:</em> Specify any point 90° above the midpoint, to make a vertical flipping line.<br />
<em>Specify label location:</em> Place the label above the door.</p>
<p><img class="aligncenter" title="make a vertical flipping line" src="http://www.ellenfinkelstein.com/images/acadtips_flip_dyn_blk-6.jpg" alt="" width="281" height="282" /></p>
<p>Notice the exclamation point. That tells you that you haven&#8217;t  completed the process of flipping the door. That&#8217;s because most  parameters also require a <span id="IL_AD7">corresponding</span> action.</p>
<p>Click the Actions tab of the Block Authoring Palettes window and  choose Flip Action. A Flip action always goes with a Flip parameter.</p>
<p>At the <em>Select parameter:</em> prompt, select the parameter you just added.</p>
<p>At the <em>Select objects:</em> prompt, select all the objects of the door. In this situation, you can include the parameter, too.</p>
<p>At the        <em>Specify action location:</em> prompt, place the action, usually near the parameter label. It doesn&#8217;t <span id="IL_AD9">show</span> in your drawing, so it&#8217;s just for your convenience when editing the block in the Block Editor.</p>
<p>You can change the action&#8217;s name. Select it and change the Action Name value  in the Property palette to <span>Flip left/right action</span>. I find it helpful to distinguish the parameter label from the action name. Our door now looks like this in the Block Editor.</p>
<p><img class="aligncenter" title="door's resulting appearance in the Block Editor" src="http://www.ellenfinkelstein.com/images/acadtips_flip_dyn_blk-5.jpg" alt="" width="363" height="287" /></p>
<p>Click <img src="../../../images/acadtips_flip_dyn_blk-7.jpg" alt="" width="24" height="22" />Save  Block Definition on the Editor&#8217;s toolbar (the 2nd button from the  left). To try it out, click Close Block Editor. If you already have  inserted an instance of the block in the drawing, you get a message  about it. Click Yes.</p>
<p>To test the block, choose Insert Block from the Draw toolbar and  choose the block. In the Insert  dialog box, you should see that yellow  lightning icon in the preview box, to show that it&#8217;s a dynamic block. Make sure that only the Insertion Point Specify On-Screen check box is checked and click OK.</p>
<p>Specify the insertion point in your drawing to insert the block.  To flip it, select it and you&#8217;ll see the turquoise flip grip on the  block. Click the grip to flip the door. Click it again to flip it back.</p>
<p><a href="../../../images/acadtips_flip_dyn_blk-8.avi">Watch the process in an AVI file.</a></p>
<p>When you&#8217;re satisfied, open the Block Editor again, choose the  block and click OK. Now you need to add the flip for the other  direction.</p>
<p>Again, click the Parameters tab and choose Flip Parameter. <em>At the Specify base point of reflection line or [Name/Label/Description/Palette]: </em>prompt, pick the midpoint of the right side of the door &#8212; the short side. You may have to zoom <span id="IL_AD12">in to</span> do this.<br />
At the<em> Specify endpoint of reflection line: </em>prompt, move the cursor to the left and pick any point 180° from the first point (creating a horizontal mirror line).<br />
At the <em>Specify label location:</em> prompt, pick a point to the right of the door, or perhaps just beneath it.</p>
<p><span>Tip:</span> When you zoom in and out, sometimes the size of the labels gets out of synch. Click the <img src="../../../images/acadtips_flip_dyn_blk-8.jpg" alt="" width="26" height="20" />Update Parameter and Action <span id="IL_AD11">Text Size</span> <span id="IL_AD4">button on</span> the Editor&#8217;s toolbar.</p>
<p>Select the parameter. In the Properties palette, change the label to <strong>Flip in/out</strong>.</p>
<p><img class="aligncenter" title="change the label to Flip in/out" src="http://www.ellenfinkelstein.com/images/acadtips_flip_dyn_blk-9.jpg" alt="" width="419" height="342" /></p>
<p>Click the Actions tab and choose Flip Action. At the prompt, select the parameter you just created.</p>
<p>At the prompt to select objects, select the door. Not only can  you select this action&#8217;s parameter, but you can select everything else  (which makes it easy).</p>
<p>If you want, change the name of the action in the Properties  palette. I changed it to Flip in/out action. Here&#8217;s the final dynamic  block in the Block Editor.</p>
<p><img class="aligncenter" title="the final dynamic block in the Block Editor" src="http://www.ellenfinkelstein.com/images/acadtips_flip_dyn_blk-10.jpg" alt="" width="390" height="244" /></p>
<p>Click Save Block Definition and click Close Block Editor. If you get  the notice about an existing block reference existing in the drawing,  click Yes.</p>
<p><a href="../../../images/acadtips_flip_dyn_blk-11.avi">Here you can see the block at work</a>. It flips both ways!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/flip-objects-with-dynamic-blocks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dynamic blocks tutorial</title>
		<link>http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-tutorial/</link>
		<comments>http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-tutorial/#comments</comments>
		<pubDate>Wed, 19 Sep 2001 13:31:07 +0000</pubDate>
		<dc:creator>Ellen</dc:creator>
				<category><![CDATA[Drawing]]></category>
		<category><![CDATA[AutoCAD]]></category>
		<category><![CDATA[blocks]]></category>
		<category><![CDATA[dynamic blocks]]></category>

		<guid isPermaLink="false">http://www.ellenfinkelstein.com/acadblog/?p=735</guid>
		<description><![CDATA[
			
				
			
		
<p>Usually, I include the entire tip here, but this one is too long and includes a drawing. So instead, download the tutorial. This tutorial requires AutoCAD 2006 or later and will help you get up and running with dynamic blocks. You&#8217;ll learn how to add parameters and actions to make your blocks flexible and intelligent.</p>
<p>Specifically, [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fdynamic-blocks-tutorial%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.ellenfinkelstein.com%2Facadblog%2Fdynamic-blocks-tutorial%2F&amp;style=normal&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Usually, I include the entire tip here, but this one is too long and includes a drawing. So instead, <a href="../../../images/dynamicblocktutorial.zip">download the tutorial</a>. This tutorial <span id="IL_AD2">requires</span> <span id="IL_AD1">AutoCAD</span> 2006 or later and will help you get up and running with dynamic blocks. You&#8217;ll learn <span id="IL_AD3">how to add</span> parameters and actions to make your blocks flexible and intelligent.</p>
<p>Specifically, you&#8217;ll work with a desk, chair, telephone, and  computer block. You&#8217;ll create a block in which you can move the chair  independently, stretch the desk within certain constraints, stretch the  computer&#8217;s monitor from a drop-down list, and make the phone appear or  disappear.</p>
<p>If you want to understand this powerful new feature, this tutorial is for you.</p>
<p>Here&#8217;s the final block in the Block Editor:</p>
<p><img class="aligncenter" title="the final block in the Block Editor" src="http://www.ellenfinkelstein.com/images/acadtips_dynblk_tut_fg1.jpg" alt="" width="412" height="312" /></p>
<p>Here&#8217;s the same block in a drawing, reading for dynamic editing:</p>
<p><img class="aligncenter" title="the same block in a drawing" src="http://www.ellenfinkelstein.com/images/acadtips_dynblk_tut_fg2.jpg" alt="" width="427" height="363" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ellenfinkelstein.com/acadblog/dynamic-blocks-tutorial/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

