Friday
Autocad, Blocks, Dynamic Blocks, Hints & TipsAutomatic insertion angle in Dynamic Blocks
AutoCAD 2006 and higher versions
In this article, I will explain how to make a smart block which determines the angle of the line over which the block is placed and aligns itself to that angle.

Fig. 1
Of course, I am assuming that whoever tries to get use of this article should have enough knowledge about dynamic blocks or have read my articles dynamic blocks I, II and III. All of their links are given at the beginning of article. In order to start our block, we first enter dynamic block editor. Here, I drew a simple washbasin. You can start with a simple rectangle. Insertion point of our block will be as shown in Fig. 2.

Fig. 2
Then, let’s assign an ALIGNMENT parameter to the marked point (Fig. 3).

Fig. 3
While assigning the parameter, mark the ALIGNMENT TYPE as TANGENT. I would like to remind you that if we select PERPENDICULAR here, then our block will be perpendicular to the entity over which it is placed.
Specify alignment direction or alignment type [Type] : T
Enter alignment type [Perpendicular/Tangent] : T
Specify alignment direction or alignment type [Type] : 0
Aligning parameter does not require any operation. As soon as you assign the parameter, it will look like as shown in Fig. 4.

Fig. 4
As we have finished our work, now it is time to close the block editor and have a look at how good we have done. Let’s run the usual INSERT command that we always use and select the insertion point of the block as the midpoint of a line that is not straight but angular. Then, you will notice that our block will be immediately inserted as aligned to this line. However, it still needs some practice to determine which side it will be placed. Alignment will be towards the side where you approach the line. You can easily understand this by making some practice.
Technorati Tags: AutoCAD, blocks, dynamic blocks
Viewed 7,769 times so far... This week: 48 Today: 2 Latest: 5 July 2009, 2:57Read in other languages:
Post Tags:
Related Posts
Popular
- Hip tip: Increasing view resolution with VIEWRES system variable
07/03/2009 04:39 am
7 Comments - Sirince – IZMIR
07/02/2009 11:02 am
1 Comment - Visual LISP: Programming user interfaces with OpenDCL
07/01/2009 10:15 pm
10 Comments - 3D Modeling 7: EXTRUDE
06/30/2009 02:14 pm
10 Comments - Ask DailyAutoCAD: Which Notebook to Buy?
06/30/2009 12:17 pm
1 Comment
Featured Articles
- AutoCAD 2009 Update 3 Released
- Speed Up As AutoCAD 2009 Ribbon Menu Helps You!
- MEP Analysis Extension for AutoCAD MEP extended to March 31, 2009
- Recap of AutoCAD-related technologies on Autodesk Labs
- Technology Preview of MEP Analysis Extension extended to 12/31/08
- Autodesk Labs: Forward and Backward utility for AutoCAD
|

Jun 25, 2007
Reply
How can I make text in a dynamic block always at “0″ no matter what the angle of the block is?
Jan 3, 2008
Reply
Yes I would like to know this two.
Apr 4, 2008
Reply
thank for all teachers on this websit.
Apr 7, 2008
Reply
I’ve found that if you create a separate node in the dynamic block for text, you can create a rotation parameter that rotates everything except the text, then set the default rotation in the dynamic block.
Jul 9, 2008
Reply
dear sir i would like to say how to make stretch dynamic block