Home
Username:
Password:
Autodesk AutoCAD 2007 for Architects Tutorials

Dynamic Blocks / Attributes & Visibility State




Visitors to VTC.com will be able to view all introductory videos for each training course.
Free Trial Members will gain access to first three chapters for each training course.
Full Access Members have full access to VTC.com’s entire library of video tutorials.


Learn More

Subtitles of the Movie

I would like to demonstrate what is possible with dynamic blocks that contain attributes and visibility states by focusing on an example of a dynamic block that requires attention to detail. In this example I have an updated elevation marker, it is a dynamic block, I'd like to demonstrate the difference between this dynamic block and the static blocks that were part of this project. First I highlight the dynamic block and by clicking on the look up grip I can select a state that shows the elevation marker to the left of the text or the elevation marker to the right of the text, thus eliminating the need for two separate blocks. As you can see because dynamic blocks were not available at the time this drawing was created the option would have been to create two static blocks with that same feature. We will never know if the architect how to settle or accept the imposed drawing limitations of an older version of AutoCAD. Second, by highlighting the dynamic block I can click on the linear grip and stretch the line to any required length, this would not be possible in a static block and as you can see this line is independent of that attribute block. I will now control tab to the dynamic block and explain the small revisions I had to make in order to have this dynamic block work according to my needs. I created this block entirely in the block editor; you can still create the block using the classic block dialog box and then use the block editor to add the parameters and actions. But since I was going to eventually use the editor I decide to start here, I will not tell you how many times I had to test this block before I was completely satisfied with the results. I stopped counting after ten. The attributes on the left and right side of the elevation marker are the same, but I had to provide different tag names so the visibility states would identify them as different attributes, thus the same title and elevation attributes are now title R and elevation R to the note right justified attributes and title L, elevation L to the note left justified attributes. Then of course I used visibility states to control the visibility of the attributes on the right and left of the elevation marker which remains constant. As far as the line is concerned let me quickly demonstrate how I placed their card linear grip on the two lines by drawing one line down here with ortho on. From the parameters tab I select the linear parameter, if I want the line to stretch from the right side I select the left endpoint first with O-snap on of course and then the right endpoint and I am going to specify the label location here. Then I go to the actions tab and select the stretched action. I am prompted to select the parameter so I am going to select this linear parameter and then prompted to select the parameter point associated with the action. So I am going to select the right endpoint. I then need to create the stretch frame, so I specify the first corner point here, followed by the second corner point here. Now I need to select the objects so I am going to select the line which represents the object I need to stretch and I enter and I place the action location near the frame. Before I test the dynamic block I am going to select the linear parameter and I am going to right click it and go to properties. In the properties palette under the miscellaneous category I am going down to where it reads number of grips and I am going to change that from 2 to 1. I will now close the properties palette and I am going to close the block editor. I am going to save the block definition and update block references. With ortho on or off I can select the linear grip and stretch the line in the direction that I want it to go. I am going to tap the escape key, I am going to open the block editor one more time by highlighting the block, right clicking and selecting block editor. I am going to open the properties palette, I am going to select the stretch action and I am going to come down to the miscellaneous category and show you how I can change that action name from say stretch to stretch one, closing the properties palette, closing the block authoring palettes, you can see how I changed the name of my actions to better understand the block that I was creating. I do not claim to understand all of the uses you will have for the parameters and actions of dynamic blocks but through practice and much trail and error you will succeed in creating dynamic blocks that meet your needs. This dynamic block is included in the tutorial.

Tutorial Information

Course: Autodesk AutoCAD 2007 for Architects
Author: Ivanhoe Tejeda
SKU: 33850
ISBN: 1-934743-54-2
Release Date: 2008-02-27
Duration: 13 hrs / 136 lessons
Work Files: Yes
Captions: Available on CD and Online University
Compatibility: Vista/XP/2000, OS X, Linux
QuickTime 7, Flash 8

VTC Sign up & Benefits

  • Unlimited Access
  • 98,729 Video Tutorials (23,265 free)
  • Video Available as Flash or QuickTime
  • Over 1026 Courses
  • $30 for One Month Access
  • Multi-User Discounts Available