How about a macro
This will insert the named block with the base point at the point you select it will then rotate the block to align the second point you pick (on the block) with a third point (on the object you wish to align with).
If you change the above to
Then at the start it will ask you for the block name - no dialogue box - names with spaces will need entering with quotes.
This might not be your ideal solution but hopefully will give you something to work with as an alternative to dynamic blocks
I've bean out off the office.
I've tried to make this macro but I keep getting error messages.
Can you tell me how I have to make this makro.
First off, what are you doing and what are the error messages you get.
I have copied the text from earlier message and pasted it in.
Menu / Manege / VBA manager / I choose Macro and create a new one / now I get the visual basic editor that begins
here is where I have pasted the text
I get errors : compile error
I use Autocad LT so no VBA, but I think that is something else, anyway without going into a long post on creating a new command with the CUI, here is a quick and dirty method just to see if it works. In your toolpallete right click on any tool and pick copy, then right click in an empty area on your toolpalette and choose paste, next right click on the new tool and select properties, in the tool properties box fill in a new name then copy the macro into the 'command string' section replacing what is already there. Click on ok then just click on the new tool to try it out. Don't forget to change the Block Name.
If it works as you would like then, it would be a good idea to look up creating a new command using CUI
If it works as you want, then the next question is how do you want to use it. What method do you want to use to start the command.