Author Topic: Maintain attribute rotation at ZERO degrees?  (Read 16238 times)

0 Members and 1 Guest are viewing this topic.

Guest

  • Guest
Maintain attribute rotation at ZERO degrees?
« on: March 22, 2007, 09:18:25 AM »
I've got a DB that I'm trying to make work (maybe it's possible, maybe it's not).  It's a key note call out (leader attached to a circle with a number inside).  The circle can be moved about the end point of the leader.  The problem arises when you rotate the circle past 90 or 270, at which point the attribute in the circle becomes "unreadable".  In other words, it's upside down.  Is it possible to keep the attribute rotation at ZERO degrees?  If so, how?  I've attached the DB that I've been dabbling with (it ACAD 2007).

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #1 on: March 22, 2007, 09:37:26 AM »
Matt,

It is a very easy fix.  I will give you some guidance and see if you can fix it.  I learn better if I do some thing than if something is done for me.

The attribute needs its own 'point'.
The attribute will 'move' not rotate.
'Chaining' will be involved.

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #2 on: March 22, 2007, 09:38:42 AM »
'Chaining' will be involved.
Sounds kinky!  I'll give it a shot.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Maintain attribute rotation at ZERO degrees?
« Reply #3 on: March 22, 2007, 09:42:20 AM »
I have a lisp I run to dynamically set the rotation of attributes to somewhere between 315 and 90 .. depending upon the rotation of the block.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #4 on: March 22, 2007, 09:44:37 AM »
You might figure this out but I will mention it as another clue, changes will have to be made to the original rotation action.

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #5 on: March 22, 2007, 10:00:24 AM »
How ya doing Matt?

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #6 on: March 22, 2007, 10:01:05 AM »
Auuuggghhhh!!!  Alright, what am I missing?  (I bet it's one of those things that's just staring you right in the face).

I've attached the modified (still not working correctly) block.


Can you throw me another clue?

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #7 on: March 22, 2007, 10:09:43 AM »
Okay, first you have to remove the attribute and the move action from the selection set of the rotate action.  Then you have to add the point parameter only to the rotate action.

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #8 on: March 22, 2007, 10:18:19 AM »
Getting closer... The attribute stays at zero degrees, but it ain't stayin' in the middle of the circle!

*sigh*

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
Re: Maintain attribute rotation at ZERO degrees?
« Reply #9 on: March 22, 2007, 10:22:23 AM »
set the justification to middle center
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #10 on: March 22, 2007, 10:24:24 AM »
Right-click on the block and select 'Reset Block'.

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #11 on: March 22, 2007, 10:24:30 AM »
set the justification to middle center
The attribute?  It already is.

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #12 on: March 22, 2007, 10:36:00 AM »
Right-click on the block and select 'Reset Block'.
I don't have a RESET BLOCK option.  I'm using ABS 2007 (for what it's worth).

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #13 on: March 22, 2007, 10:37:21 AM »
Huh, whaddayknow.... RESETBLOCK is a command line command.  I typed that, selected the block and all is well.

Thanks a BUNCH for your help!!

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #14 on: March 22, 2007, 10:52:51 AM »
Glad it worked out for you Matt.

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #15 on: March 22, 2007, 10:53:54 AM »
Just to give everyone else a tutorial in case they should ever need this information.

The first thing to do is remove the attribute from all actions currently in your DB.  Then add a Point Parameter to the center of the attribute.  Then add a Move action to the Point parameter and select the attribute.  Next select the Point parameter and go into the Properties window and change "Chain Actions" to "Yes".  Then add the Point parameter, not the attribute, to the Rotate action.  You may need to "Reset Block" and "Attsync" to get everything to function properly.

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #16 on: March 22, 2007, 11:02:51 AM »
Don't leave just yet, Will.

I'm gonna need some more guidance on another key note leader DB.  In the attached image, I would like the BLUE objects to stretch and the RED objects to move only.  I'm having trouble even getting started with this.  First off, can THIS be done (I'm guessing it can) and secondly, what type of parameters would I need - I assume I'm going to need a different combination than the other key note DB, correct?

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #17 on: March 22, 2007, 11:26:44 AM »
Nevermind... I think I've almost got it figured out.  I'll post the finished DB when I'm done.

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #18 on: March 22, 2007, 11:41:00 AM »
I'll post the finished DB when I'm done.
And here it is...

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #19 on: March 22, 2007, 11:54:15 AM »
Glad you were able to figure it for yourself.   :-)

I added a flip to the attribute.  See if you like it.

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #20 on: March 22, 2007, 12:03:54 PM »
Glad you were able to figure it for yourself.   :-)

I added a flip to the attribute.  See if you like it.

I thought it was going to involve more than what it actually took to create it.

And as for the flip, that was going to be my next step (but that was the easy part).  I'm also going to add some visibility states for different leader types.  I'll post the finished DB when that's done.


Thanks again for all of your help!

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #21 on: March 22, 2007, 12:04:55 PM »
Sure thing! No problem!

Guest

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #22 on: March 22, 2007, 12:17:06 PM »
And as promised, here's the finished product.  I hope someone else can use this as a good learning tool as I have.

whdjr

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #23 on: March 22, 2007, 01:30:41 PM »
Good Job with that block Matt.

Josh Nieman

  • Guest
Re: Maintain attribute rotation at ZERO degrees?
« Reply #24 on: March 22, 2007, 01:46:20 PM »
And as promised, here's the finished product.  I hope someone else can use this as a good learning tool as I have.

thanks.. and I have learned a good bit watching this development.

thanks to you all!