Ok so I'm working on incorporating a bunch of blocks into a custom ribbon for my company. We have the blocks, and I have them working perfect using macros.
However, this morning I came across how to rotate the block and attributes/text, but keep the text in a proper left-to-right reading direction. I was able to get a block working with this, but now I want to be able to mimic my current macro, but use the dynamic block rotation parameter rather than the traditional autocad rotate upon insertion.
Has anyone done this before and can provide me with input, or better yet have the LSP file I can just use? hehe.
Oh, attached is a file with the block in it. In the long run, I have multiple blocks that I would like to work exactly the same as what I'm trying here.
[ I don't have a new-enough version to have dynamic Blocks, so I can't help you on this one. But for future reference, to increase the chances of catching the attention of someone who can help with any given question, see:
As it is, your Subject line could apply to a respectable percentage of all threads on this forum. You'll be better off with Subject lines that convey something meaningful about the issue at hand. ]
If you are working with blocks, especially if you are working with dynamic blocks, you should be using palettes instead of the ribbon. Individual palettes can be grouped and maintained easily. The dynamic block properties can be managed at the tool without programming.
The ribbon is better for command tools.
Thanks. I'll look into the tool palette solution. What was really appealing to me and others in the company is the ability to select a command from the ribbon, have it insert a block, bypass scale or rotation or attributes, (depending on the purpose of the block), and once it's all done, the macro would automatically repeat the process with the same block.
We're an electrical construction company with a fairly large customer base, and while we don't always engineer large jobs, we do some jobs for our customers that we engineer and document all the way through. Blocks/symbols like receptacles and lighting fixtures that are repetatively inserted work better in the macro of a command via the ribbon, but I haven't fully explored palettes.
What was really appealing to me and others in the company is the ability to select a command from the ribbon, have it insert a block, bypass scale or rotation or attributes, (depending on the purpose of the block), and once it's all done, the macro would automatically repeat the process with the same block.
Sounds like you need a Screen Menu to get the job done!
Forget the drag-and-drop pallets - no 2 stations will have the same blocks / block order,
unless you company does not observe "everyone to be on the same page".
A Screen Menu can be paged - allowing an infinite number of "buttons" to appear in the same area.
In the Screen Menu macro, not only can you insert the block, but you can add text as well.
A Screen Menu is one less click than a Pull-down (MENUBAR).
Here's an example for inserting a duplex with corresponding GFI text (* that repeats):
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register