rotating Text within a circle in a Dynamic block

rotating Text within a circle in a Dynamic block

Anonymous
Not applicable
2,582 Views
18 Replies
Message 1 of 19

rotating Text within a circle in a Dynamic block

Anonymous
Not applicable

I am tryng to create a dynamic block.  It has a leader and at the other end there is a circle with an ATTDEF. I have it set up to where i can manipulate the arrow anywhere and the circle; however, i cant get the text to stay horizontal, it rotates with in the circle as well but i want it to stay horizontal. I have not been able to find antyhing related to this topic. The purpose of this block is to be able to label a line with a number.  Can someone please help. 

0 Likes
2,583 Views
18 Replies
Replies (18)
Message 2 of 19

scot-65
Advisor
Advisor
It's been a while for me on the Dynamic Blocks...
When you assign a action and select objects for
that action, be sure to exclude the text object
([Shift] and select with the mouse button to deselect the text)

I'll make a guess at this on what you have:
1 text object.
1 circle enclosing the text object
1 leader type object
1 rotation action
1 stretch action
The rotation action is "anchored" from the center of the
circle and only has the leader as the member of the action.
The stretch action is for the leader. Encase only one end of the leader.

???

Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.

0 Likes
Message 3 of 19

GrantsPirate
Mentor
Mentor

An mleader might be a better choice.


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.

0 Likes
Message 4 of 19

Anonymous
Not applicable

@Anonymous wrote:

I am tryng to create a dynamic block.  It has a leader and at the other end there is a circle with an ATTDEF. I have it set up to where i can manipulate the arrow anywhere and the circle; however, i cant get the text to stay horizontal, it rotates with in the circle as well but i want it to stay horizontal. I have not been able to find antyhing related to this topic. The purpose of this block is to be able to label a line with a number.  Can someone please help. 


Will a horizaontal parametric constraint work in this situation?

0 Likes
Message 5 of 19

steve216586
Advisor
Advisor

See attached.

"No one can make you feel inferior without your consent. "-Eleanor Roosevelt
0 Likes
Message 6 of 19

Anonymous
Not applicable

Ive tried that as well but i cant seemt to get it to work. Im attaching what i have so far.  I need to base points, one at the end of the leader, and the other at the base of the circle.  I dont know if there is an easier way to this. 

0 Likes
Message 7 of 19

Anonymous
Not applicable

well im not sure how to fit that in. this is what i have so far

 

0 Likes
Message 8 of 19

Anonymous
Not applicable

Yes that is something of what i need. But i need the arrow head to rotate 360 degrees.  I need to base points or grips one at the arrow head and the other at the center of the circle. I got it to do that, but the text rotates along with it to and wont stay horizontal.  

0 Likes
Message 9 of 19

nrz13
Advisor
Advisor

Here's a keynote block I created for our office.  It looks like it may be what you're needing.  It has a visibility state option for 0-5 arrows and a wipeout behind the circle that you can delete if you don't need.


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
Message 10 of 19

Anonymous
Not applicable

That is very similar to what i need. How do you add that option to add extra arrows? Im sorry i have never messed with this before.

0 Likes
Message 11 of 19

steve216586
Advisor
Advisor

The block I sent you has a dynamic leader. It will go to any angle you desire as well as any length. The text and circle does not rotate. You only need to insert it into your drawing as you would a block. It is also annotative so you don't need to scale it, ever.

 

Edit: You didn't save it and call it the same as your block did you?

 

"No one can make you feel inferior without your consent. "-Eleanor Roosevelt
0 Likes
Message 12 of 19

nrz13
Advisor
Advisor

Look up Visibility States in help.  You access it in the block editor, see image below.

Manage Visibility States.png


Work:  AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-8700K, 32GB RAM, Samsung 960 Pro SSD, AMD Radeon Pro WX 5100, 3 Dell Monitors (3840x2160)
Home: AutoCAD 2022.1.3, Windows 10 Pro v22H2 64-bit, Intel Core i7-11700, 64GB RAM, Samsung 980 Pro SSD, NVIDIA Quadro P2200, Dell Monitor (3840x2160)
0 Likes
Message 13 of 19

Anonymous
Not applicable
This is pretty much what i need. The only thing is i need the arrow head a certain size. I use Surveyors Units.Decimal. I could use the circle a bit smaller, but other than that its perfect. I did'nt save it under the same name. haha. I eventually need to find a way where I can Autoannotate a polyline and have these number each line. I just dont know if or how i can do that.
0 Likes
Message 14 of 19

steve216586
Advisor
Advisor

If you insert th eblock into a drawing you can then open it in the block editor. Click on the leader to select it, then right click to pull up the menu to select PROPERTIES. In PROPERTIES you can adjust the arrow size to anything you like.

 

Do you mean have the text automatically number or just that you need to change the number manually? The number is attributed. You simply double click on the number and the ATTEDIT dialog will pop up. change the number and only that one block will change all others in your drawing will stay what they are.

 

See screencast:

"No one can make you feel inferior without your consent. "-Eleanor Roosevelt
Message 15 of 19

dmfrazier
Advisor
Advisor

"well im not sure how to fit that in."

 

It's not a matter of "fitting anything in".

GrantsPirate has suggested (and I second that) that you define an MLeader style that matches the DB you're attempting to create.  Basically, AutoCAD has already done the hard work.

CaptureMLStyle3.PNG

 

CaptureMLStyle2.PNG

 

CaptureMLStyle1.PNG

 

Give it a try.

 

 

0 Likes
Message 16 of 19

Anonymous
Not applicable

I inserted the block you sent me, however, the arrow heads seem too shrink down. When i go into block edit properties, i cant change the size of the arrow. The arrow head size properties dont appear. Only the lengh of arrow.  

 

I like that i can automatically change the text by using the attdef.  I eventually want to get this to label automatically when I use Auto Annotate so it can label a string of polylines. 

0 Likes
Message 17 of 19

steve216586
Advisor
Advisor
The arrowhead on the block should match your mleader and qleader arrowheads as well as dimension arrows. That is unless you are using a custom block and architectural ticks.
"No one can make you feel inferior without your consent. "-Eleanor Roosevelt
0 Likes
Message 18 of 19

Anonymous
Not applicable

Im using AutoCad with Carlson Survey. I dont know if thats messing it up.  I am using the block you sent me. 

0 Likes
Message 19 of 19

steve216586
Advisor
Advisor

Ahhh, Carlson Survey. Disrupting/ Corrupting Autocad since 1983.

"No one can make you feel inferior without your consent. "-Eleanor Roosevelt
0 Likes