Block Authoring Palette Autocad

Posted on by admin

One of the most powerful features of AutoCAD is dynamic blocks. I mostly use this feature to create dynamic symbols that can be used in drawings, like Section arrows, 2D Pipe ends, North Arrows, etc. A Dynamic block allows you to dynamically change 2D Objects in various ways, like rotate, scale, move, show or hide.The example below is one of my Dynamic blocks.This Section Label can rotate in any direction and be used on any side using the grips identified on the image, but this is just a fraction of what dynamic blocks can do. I will try to demonstrate most of the functions I have used before by applying it to something a little bit more interesting than just creating drawing symbols. Simple Dynamic Block:So to begin with I created some 2D pipe sketches.

  1. Block Authoring Palette Autocad Download
  2. Autocad Block Authoring Palette Empty
  3. Autocad Dynamic Blocks Tutorial

I created an 80NB and 100NB Flange, Pipe, Tee and 90° Elbow. I could add every size available for a pipe specification, but for this example, two sizes are enough. My 2D Sketches look like the image shown below.I create a normal block with my two flange front sketches in it and call it FlangeFront.I do the same for my Flange, Pipe, Elbow and tee sketches and call them respectively Flange Side, Pipe, 90-Elbow and Tee so that I have five blocks in total. After that is completed I select my Flange Front block, right click and select Block Editor and the display should look something like this.I will be using the Block Authoring Palettes highlighted to the left of the screen above.

If it is not there click the Authoring Palettes button on the ribbon highlighted in the image above.The first thing I am going to do is set up the Visibility Parameter on the Authoring Palettes to create grips that will let me pick between the two flange sizes. I select the Visibility Parameter on the Authoring Palettes and place it to one side of the flanges as seen below. I am going to move it later after the setup is complete.Next, I go to the ribbon and select Visibility States option, which will open a new window where I can create the two sizes as shown below. I rename the first to 80NB and add a new one for the 100NB leaving the settings as is and click OK.Now on the same visibility tab of the Ribbon, I make sure the 80NB is selected. Currently, everything is visible in the drawing area. Above the selection drop down there are three buttons.The first button “Visibility Mode” enables or disables the visibility of all items.

The second “Make Visible” is for selecting everything I want to make visible and the third “Make Invisible” is for selecting everything that I want to make invisible.As everything is visible at the moment I will be using the third button to make the 100NB flange invisible under the 80NB selection. I click the button and select everything on the 100NB Flange Sketch.

Autocad

When I press enter the 100NB flange disappears, leaving only the 80NB flange visible. I click on the first option “Visibility Mode” which allows me to still see the 100NB Flange but it appears darker than the 80NB Flange.I can make anything visible again by selecting the second button and selecting the components that are dimmed out. Now I change the selection drop down on the ribbon to the 100NB selection and follow the same procedure as before but instead of selecting the 100NB sketch parts I select the 80NB sketch parts.Now all I need to do is reposition the sketches and Visibility parameter at the block base point which us also the origin. For some reason, in the Block Editor, the move to @0,0,0 will not work so I always draw a line starting at 0,0,0 and then move my sketch to that point on the line and then delete that line.I position the two sketches over each other at the origin of the block and move the Visibility Parameter to look something like the image shown below (Visibility Mode Enabled). I then select Close Block Editor option on the Ribbon and save the block.My first dynamic block is complete. Now when I select my Flangefront block there is a square grip in the middle of the flange for moving the block around which is also the base point of the block.

There is also an arrow drop down grip on its side for choosing the size of the flange. When I pick a size the block switches between the two sketches of my flange.Making “Nested” dynamic blocks:Now I do the same for all the other blocks, adding the Visibility Parameter to all of them and moving them over each other and to the Origin or Basepoint so I can change between the sizes and have a grip at a good place to easily move my blocks. Pay attention to the positions I placed the grips in the image below, the square grip is the Basepoint of the blocks and the down-pointing grip is the size drop down.After adding the base point and visibility parameter I can start adding the other Parameters that will be needed to make this a basic dynamic pipe routing system.Dynamic Blocks can be added to other dynamic blocks. We can add the two flange blocks together to create another dynamic block to select between the front and side view of the flange. Personally, I would prefer having the different pipe fittings & parts separate from each other and just choosing between the views, exploding and then choosing the size.Any blocks can also be added to the as well. All that is needed is a template drawing with all of the blocks in it saved to a folder that will not change and a drawing name that will not change. Adding more parameters to Block:For this next part, I am only going to work with the last 4 side view blocks.

The front view flange block will not be used further in this exercise.I open the FlangeSide dynamic block in the block editor. I am now going to make it rotate. To do this I click on the Visibility Mode button on the ribbon till I can see both of the side flanges over each other one dimmed out a bit.

I need to set up the rotation for both sizes and make the Rotate grip visible for both.Now I select the Rotate Parameter in the Authoring Palettes, I click on the midpoint of the front of the flange then I move out a bit and click again. Then I need to move the mouse cursor around the flange till it shows 360 degree rotation then click again. Now it should look something like the image shown below.Notice the yellow exclamation box on the Rotation Parameter. This is because this Parameter requires an Action to go with it.

Switch to the action tab on the Block Authoring Palettes, as shown in the image below.I select the Rotate Action from the Actions tab of the Block Authoring Palettes. It prompts me to select the Parameter so I select the Rotation Parameter I just created. Then it will prompt to select all the items that we want to rotate.

I select everything except the visibility Parameter and press enter. Remember that I need to see both flanges, both need to rotate, but not the Visibility Parameter, I want that to stay where it is.Next step is to make sure that the Rotate grip is visible on both flanges. I am currently on the 80NB Flange so I change to the 100NB and use the Make Visible button and select the Rotation Parameter and the round grip and press enter to enable visibility for the rotation grip in the 100NB selection.There is a Test Block Button on the ribbon as shown above that allows testing the Block in a new drawing window without closing the block editor. After testing the block you can close Test window and save the block, the final block should look like the image shown below.I did same for the Pipe, Tee and 90-Elbow Blocks, to make them all rotate as shown in the image below.Adding actions to the Block:Now there is only one final step left to do before I can start assembling my dynamic pipeline using the parts I created. I open the Pipe Block in the block editor. On the Block Authoring Palette I go back to the Parameter tab and select the Linear Parameter.Then with both of the pipe sizes visible I select the one endpoint of the top line and then the other endpoint of the top line of the 100NB Pipe sketch and move the mouse cursor up, like placing a dimension.Then I go back to the Action tab on the Authoring Palettes and select the Stretch Action.

It will prompt to select the parameter which I want to use, I select the Linear Parameter. Then it will prompt to select one of the two arrows on the Linear Parameter to indicate which direction I want to stretch in.I choose the left one to keep the origin or basepoint at the end of the pipe sketch. After that, I need to select the object that needs to be stretched, similar to a normal stretch. Click below left of the bottom line of sketch and draw a box over all the left end points of my two pipe sketches just like the stretch command, so it looks like the image shown below.You will notice that there is still an exclamation mark at the right arrow of the Linear Parameter. This is only because I can set up two stretch actions for one Linear Parameter if I want.

For my purposes one is good. Remember to enable visibility on the linear stretch grip on both sides of the pipe so as to keep grips visible when we change the sizes of the pipe.The Action function is represented by the small blue squares with a picture of its action. I will have to right click the rotation action to change my selection to include the Linear Parameter and stretch action so it will rotate with the sketch.I just want to add a word of caution here, if you rotate or mirror a dynamic block with the normal commands it will make a mess of the dynamic features you added.That’s it!

My basic Dynamic 2D Pipe block is complete.I can rotate all the components. I can change the size from 80NB to 100NB with minor position adjustments at the elbow that could be made easier by adding additional control points. I can stretch the pipe length to any length I want.This is only the basics of what can be accomplished with dynamic blocks.

The list of actions and parameters is long and they can be combined to form even more complex 2D blocks for use in AutoCAD. 3D dynamic Block:Some of the parameters can also be used on 3D objects, but remember that a block is a 2D thing so you need to create the block in the correct view to perform the action you want on a 3D object.If you create a block from a 3D object you need to be in one of the 2D views, Top, Left, Front, etc. And if you open the 3D block in the block editor you will only have that view you created to work with.You can’t stretch a 3D object the same way you stretch a 2D object, so the Stretch action will not work. I have a 3D Manway/Access lid which I turned into a Dynamic Block to make the lid open and close.I had to create the block in the left view and added the Rotation Parameter so the lid could open and close from the hinge. After it was created I could open and close the lid in 3D.I think this is not something Autodesk envisioned when they added the Dynamic Block feature, but it is kind of cool to be able to do something like this in AutoCAD. It could be used for anything you want to rotate or any part you want to make visible or invisible.I could just as easily have added a drop down to show the manway with the lid or without the lid or to remove the safety grating covering the hole. Conclusion:I hope this will be of use to someone.

Block Authoring Palette Autocad Download

It is something I learned in the beginning of my dealings with AutoCAD and it is one of the things I use every time I create a drawing in AutoCAD and something I almost miss in the Inventor drawing environment.Do you have questions related to this article? Let us know in the comments below.

This is a guest post, you can share as well.

Tool palettes are a great tool that offers quick access to many AutoCAD tools and commands. You can expand the usability of AutoCAD tool palettes by making your own palette to store favorite blocks, dimension style, hatch patterns and even commands.In this article, I will tell you about Making, Modifying, Exporting and importing tool palette. Let’s start with making a new tool palette. Making tool palette:Press CTRL+3 to open tool palettes, you will see many tabs arranged in this palette like annotation, construction and modeling. Right click on any tab from this palette and select new palette from the contextual menu which appears.

Open tool palette in autocad

Give your palette a name, for our example, I am naming it as Custom palette. Adding Tools to Palette:Now you are ready to add your custom objects in the tool palette. In this article, I will show you how to add dimension style and block to the palette and you can add other objects using similar methods.Open the drawing containing required dimension style and block. Make sure you have made at least one dimension with the dimension style which you want to add to the palette. Click on the dimension made with your custom dimension style then drag and drop it on the tool palette.A new tool will be added to the palette and name of the tool will be same as the name of dimension used.

Right click on the tool select rename from the contextual menu and give your tool a new name.Although you will see only single dimension type added to the palette but when you click on the arrow beside that dimension tool on palette all other dimension options will appear and you can select any dimension command from that palette.In a similar way drag and drop block from your drawing to the tool palette but make sure your drawing is saved before adding blocks to the palette.To remove any tool from palette right-click on it and select delete from the contextual menu. Do not delete the drawing containing the block of tool palette otherwise the block will become inaccessible.

Block

Adding custom icon to tools on the Palette:You can add your own custom icon to the tool to give it a personal look. For that, you need an image in jpg, png, tiff, BMP or gif format. Right click on the tool for which you want to change the icon and select Specify image option from the contextual menu.A new dialog box for selecting an image will appear with columns for selecting images for the light and dark theme.

Autocad Block Authoring Palette Empty

Select browse and locate image which you want to use for icon and click OK to close the specify images dialog box. Repeat the process for both light and dark theme images.I am using AutoCAD logo in PNG format for my custom block, after modification, the tool looks like this.Exporting and importing tool palette:You can export this tool palette in a transferable format or you can also include this tool palette in the. For exporting this tool palette right-click in the blank area of tool palette and select customize palettes from the contextual menu. Alternatively, you can also use CUSTOMIZE command.A new window will pop up with the list of all tool palettes listed on the left side of this window. Select your palette then right click and select export from the contextual menu.A window will pop up where you need to specify a location for saving your tool palette or XTP file then click on save.For importing any tool palette open customize window and right click on any tool from palettes panel of customize window and select import from the contextual menu.

A new import palette window will pop up, locate your XTP file and click on open. Your new palette will be added to the list of existing palettes.Do you have questions related to this tip? Let us know in the comments below. I am a mechanical engineer and I have worked with Design, Manufacturing and Training industries but now SourceCAD is my full-time work and I use it to train students all over the world. I also train corporate clients and help them develop the skill set of their workforce.

I am Autodesk AutoCAD Certified Professional and an Autodesk expert elite member. I am a regular contributor of AUGI World magazine and apart from SourceCAD I also develop AutoCAD video courses for Pluralsight and other E-Learning businesses. Not sure if this is your not but I create a drawing with all the blocks or toolsI want. After I’ve pasted or created the block I save the drawing. Then i drag each block into either an existing tool palette or a new one I’ve created by right clicking on a tool palette tab and selecting new.

Autocad Dynamic Blocks Tutorial

I have been having issues when creating new paletttes with the dragged in blocks not inserting properly so I have been reusing existing ones and renaming and deleting the blocks on it and dragging my blocks into it. As a safety measure I export the new tool palette as a back up.When dragging them in you need to drag something other than a grip.Hope that helps. I use tool palettes for custom blocks that I use a lot in my drawings. I have found that importing an XTP file from another machine requires re-pathing all of the blocks in order for them to be useable on a new machine. I have tried numerous fixes but unless the paths are identical it takes a fair amount of time to change the paths on each of the blocks.A bit off topic but I noticed that I can not insert these blocks into the drawing when I’m currently editing a reference. This means to insert it I have to close the reference I am working on, drag the block from the palette open the block for editing again and add it to the block.

Quite a bit of extra work that doesn’t seem to be necessary. You can insert a block using the ddinsert command but can not drag the block from the palette.Seems strange to me. If you use tool palettes for your custom blocks too often then I would suggest you to add all your blocks used in tool palette in a fixed folder and add that folder path in the support files path of AutoCAD, to add it type OP on command line and press enter then select files tab and expand “support file search path” tree then click on add button on the right of this window and add path of your created folder there and click OK. Now you need not worry about placing blocks and correcting its path again and again just paste your blocks in the folder you added and you are done.Hopefully this will also resolve your issue with inserting blocks in X-ref too,let me know if you have questions.