View Full Version : Rotating Attributes around Callout
Chris.N
2006-02-07, 02:59 AM
ok, a while back someone was having difficulty with a callout block and getting the attributes to move as desired. (derned if i can find the post now, hence this thread) what i have is an interior elevation marker with 4 points. they have a default value of A, B, C, & D that shows up upon block insertion. there is a rotation parameter that will move the points of marker and also move att. text about in a ferris-wheel action, and grip-moved individually if needed.
Please note that no 'SETS' are used in these steps.
How i created this with no hitches from start to finish (and honestly, on first try) was to create all the attributes. (i have attached a screen shot to show the ATT dialog box right before clicking 'OK'). Next I created the Rotation parameter. After that I added Point parameters to each of the attributes outside the marker. Then i double clicked the Point parameters, selected 'Move', and added each attribute to it's Point's Move action. Once finished, i double clicked on Rotation parameter to invoke selection of items to be rotated and then selected the four marker 'points', and then only the Point parameters and their nodes (not the att's themselves). Last, i made the Point parameters (all at once) a 'Yes' in the Chain Action option of the properties dialog box of the Block Editor.
Based on some lit by Ellen F., i believe most of the secret lies in waiting till all 'sub' parameters (points) are in place before adding to main parameter's object selection set (Rotation).
I hope this block works for you, it did twice for me in new files.
Mike.Perry
2006-02-07, 08:46 AM
ok, a while back someone was having difficulty with a callout block and getting the attributes to move as desired. (derned if i can find the post now, hence this thread)...Hi Chris
In the interest of trying to follow along and fully understand the issue / problem you are addressing here, do any of the below links point to the thread / post in question...
Thread: Updating Existing Block Attributes (http://forums.augi.com/showthread.php?t=28008)
Thread: No luck rotating attributes... (http://forums.augi.com/showthread.php?t=27319)
Post: RE: Dynamic Block file sharing anyone? & RE: Dynamic Block file sharing anyone?
:beer: Mike
Chris.N
2006-02-07, 02:47 PM
Hi Chris
In the interest of trying to follow along and fully understand the issue / problem you are addressing here, do any of the below links point to the thread / post in question...
Thread: Updating Existing Block Attributes (http://forums.augi.com/showthread.php?t=28008)
Thread: No luck rotating attributes... (http://forums.augi.com/showthread.php?t=27319)
Post: RE: Dynamic Block file sharing anyone? & RE: Dynamic Block file sharing anyone?
:beer: MikeHi Mike,
it was awilson's post i was looking for. thanks! (i hope i'm not being redundant....) ^^^ :Oops:
Hi Mike,
it was awilson's post i was looking for. thanks! (i hope i'm not being redundant....) ^^^ :Oops:
Very cool discovery. I had done something similar before, however I think that your way is easier. My way was to include rotate parameters and actions at each point, which meant physically (or is that manually?) rotating each quadrant point. Your way basically automates this procedure thus reducing the amount of work involved.
It's also interesting to note that if you include the "Move Actions" in the master rotate, the block will not work properly. I found that fascinating because it means that there are LAYERS of information still to be discovered pertaining to DBs.
Kudos to you. You are quickly becoming a Master at this DB thing. ;)
Mike.Perry
2006-02-07, 11:00 PM
Hi Mike,
it was awilson's post i was looking for. thanks! (i hope i'm not being redundant....) ^^^ :Oops:Hi Chris
Thanks for confirming :)
Nope! you are not being...
:beer: Mike
TSqwear
2007-02-27, 08:57 PM
This is beautiful. So I read your approach and applied it exactly as perscribed to our interior elev. tag with poor results...hmmm. So I took your tag and modified it to look like what I wanted and, of course, it works! I think you have some special powers...
I've attached a dwg with an example of each..can anyone tell me what the difference is between these blocks???
This is beautiful. So I read your approach and applied it exactly as perscribed to our interior elev. tag with poor results...hmmm. So I took your tag and modified it to look like what I wanted and, of course, it works! I think you have some special powers...
I've attached a dwg with an example of each..can anyone tell me what the difference is between these blocks???
Yeah, I can tell you. The problem here is that you've given ALL your attributes an X for the tag.
Remember that each attribute NEEDS to be unique in every single way to operate correctly, otherwise CAD won't be able to differentiate between them and it WILL malfunction as it has in your. I've attached the fixed version for your review. Other than that, everythign else looks good. Nice work. :beer:
TSqwear
2007-02-27, 10:50 PM
Yeah, I can tell you. The problem here is that you've given ALL your attributes an X for the tag...
I SEE said the blindman as he picked up his hammer and saw...
Gosh - I'm glad AutoCAD is encouraging diversity! Kudos for the tip, I don't think I would have figured that out on my own...
I SEE said the blindman as he picked up his hammer and saw...
Gosh - I'm glad AutoCAD is encouraging diversity! Kudos for the tip, I don't think I would have figured that out on my own...
Diversity?!?!? This is the melting pot of universal design, not the mosaic of design diversity! ;)
Chris.N
2007-02-28, 03:45 AM
Diversity?!?!? This is the melting pot of universal design, not the mosaic of design diversity! ;):lol: i think he meant diversity in attribute tag names... :p
shinji130
2007-02-28, 03:27 PM
Is it possible to combine the ALIGN parameter with the ROTATE Parameter to achieve the same result? The ferris wheel effect is great but I want to know if we can modify a DB further so that it rotates automatically when I place it on a wall.
Is it possible to combine the ALIGN parameter with the ROTATE Parameter to achieve the same result? The ferris wheel effect is great but I want to know if we can modify a DB further so that it rotates automatically when I place it on a wall.
The alignment parameter already does that. and depending on which side of a line you choose, the block is aligned to back against that side. :confused: not very clear .... depending on which side of the wall you choose, the block is aligned to match. There. that's better.
Chris.N
2007-02-28, 03:41 PM
Is it possible to combine the ALIGN parameter with the ROTATE Parameter to achieve the same result? The ferris wheel effect is great but I want to know if we can modify a DB further so that it rotates automatically when I place it on a wall.not really, the alignment parameter works on the block as a whole upon insertion, kind of an 'external' action, while the rotate is considered an 'internal' DB action.
shinji130
2007-02-28, 04:37 PM
Sorry for my poor english. What I meant was, instead of chaining Rotate & Move parameters to the attributes, can I chain Rotate and Align parameters so that wherever I insert my DB the attributes will remain at zero degree?
Chris.N
2007-02-28, 05:02 PM
Sorry for my poor english. What I meant was, instead of chaining Rotate & Move parameters to the attributes, can I chain Rotate and Align parameters so that wherever I insert my DB the attributes will remain at zero degree?no, see my answer above for why. it's also something that's been asked before.
shinji130
2007-02-28, 06:57 PM
no, see my answer above for why. it's also something that's been asked before.
Wishlist item then?
Chris.N
2007-02-28, 07:05 PM
Wishlist item then?Well, one could incorporate another rotation just for the text, but that wouldn't be automatic, either.
ChrisCAD
2008-07-02, 07:50 PM
Huge props, been trying to figure this one out for a while now. Thanks!
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.