Been sometime since I constructed DB's so feeling a bit rusty, attached is a simple block for polar stretch and flip text.
It works as intended without any problems but since I used a block property tablet to control my polar-angle-flip the entire block is a bit slow for my computer to handle, anybody got an idea of how to archieve the same function without using a block property tablet.
PS: I don't want anymore grips then the one I have.
Function: See attached, when the polar parameter angle goes above 180° the text flips over the line.
Had a bash at trying to make my suggestion work but couldn't; I got the intermediate attribute to update so that I only had 5 different values to deal with but I couldn't get the flip state to change based on the attributes value.
I don't know if a similar approach using constraints and user parameters might work but I simply can't get my head round constraints at all so I wouldn't know where to start with that approach.
Not too sure you can if you need the text the Stretch away from the dot as well.
You've done this that I have attached haven't you?
If not I've attached several examples of this type of rotation for you to look dissect.
I don't think there is any other way to archieve the same function without using a block property tablet, not when the line is supposed to be centered under the text at all time... =/
Charles, you had some good alternatives but in this specific case I need the line to be centered under the text, and your alternative "Test-1.dwg" would in other cases be an excellent substitue, the only problem is that when the text is placed in 90° the line will cover the text if the text is over 4 letters, in my case the text will range between 5-16 letters.
Thank you all for inputs!
A double lookup achieves the same functionality without being hitchy, provides infinite angle values and is easier/faster to set up as it only requires defining two ranges rather than all the incremental values. It literally took me less than a minute to delete your block properties table and make the double lookup and have the block working as attached. If you want it incremental, then you can add the increment to the polar parameter instead.
Access a broad range of knowledge to help get the most out of your products and services.