By Dennis Collin
A common AutoCAD question from users, is how to create batting insulation elements for walls and slabs etc. I always respond that this can be done with the use of an AutoLisp routine, however, another option is to use a Dynamic block. This can be created without any coding knowledge or the risk of using external code from an unknown source.
Dynamic blocks have been with AutoCAD for over 15 years and can be used to create this type of element in building plan and section drawings.
For more information click on my previous posts on Dynamic Blocks for Part 2 (Flip Action).
To create an array-able batting line, create a block with a single batting line shape drawn to some typical dimensions. The batting width is set to a 75mm width with a 35mm repeat as per the image below. If desired, an alignment parameter could be added to ease the placement of the block.
On the Parameter tab of the Block Authoring palette, choose linear parameter and place a start and end point as marked.
On the Block Authoring palette, choose the Array action of the Actions tab and select the linear parameter, the elements to array and the offset distance for the array action (in this example 35mm).
Once complete, exit the block editor and test. The result should be like the animation below.
This block can be added to a suitable AutoCAD palette, so it is available to future drawings and for use by the wider AutoCAD team. The animation uses AutoCAD’s newer block palette, but it is also possible to access dynamic blocks via the older tool palette or design centre environment.
Fig 4. A Stretchable batting line!
Creating and managing dynamic blocks is just one of several topics that we cover on the 2-day AutoCAD Intermediate Course. However, we also do focused days just on dynamic blocks. Visit https://training.cadline.co.uk where we will be happy to help.
Comments (0 comments)