AutoCAD Dynamic Blocks :: Rotate Text And Object Without Rotating Text
Aug 29, 2011
I know this is located in other locations but I can't seem to make it work with my block.
I would like the cross and the text N to rotate independantly of the arrow while the N stays with the thick line. That's the easy part. How can I make the N move along the rotation path and keep the text aligned horizontally? I read something about linked action and move, but I can't make it work.
What I want this block to do is to keep the "REF. NORTH" text aligned and properly spaced whithin a single motion while rotating it with the thick line.
I am working on creating a dynamic block library and am having several problems with text within my blocks. For example... I am working on a North Arrow block and would like the text to rotate with my block, but I want the text to remain right-side up. When I rotate the arrow past 180 degrees the text is upsidedown.
I have attached a basic PTZ block and what I want it to do is when I rotate the block past a certain point +/-90 degrees the text rotate within the rectangle so it's never upside down.
Can I get any direction on what route I need to take to get this done?
I have been working on a drawing with 3 different dynamic blocks for several weeks and everything has been working perfectly. However, all of a sudden this afternoon, the text in all 3 dynamic blocks disappeared and will not display on the screen in paper or model space, and does not print.
As best I recall, I was creating a polyline viewport when this text disappeared.
I cannot turn the text on in these dynamic blocks. The text in on layer 0 which is on, and is unlocked and unfrozen. Additionally I have turned on, unlocked and unfroze all layers in the dwg and this does not work. I have also checked the text layer in the block editor and it is on layer 0.
When I click on any of the blocks, all the information appears to be correct, ie: door numbers, text style, etc. The text, however, just does not appear. Also I have never set any invisible text parameters and when I open the block editor, nothing in the invisible text area is selected or select-able.
Previous versions of this drawing, which I saved yesterday, display all block text perfectly. Perhaps there is a setting I accidentally hit which caused this problem?
I have tried repeatedly turning on all the layers, unfreezing, unlocking, changing parameters in the Style menu. I closed Autocad and turned the computer completely off and back on again.
I want to create some symbols which includes text. For example, I have a square with an "F" centered within the square. The problem I am having is when I insert the block into a drawing and rotate it, the "F" also rotates. Is there any way to make it so the "F" is always horizontal no matter how I rotate the block?
Is there a way, using dynamic blocks, to rotate a line around an ellipse, so that that leader is always centered with the center of the ellipse, but it actually starts at the circumfrence of the ellipse.
Like with a circle, you choose, rotation, using the center of the circle as the base point, and then setting your radius, and choosing the 'rotate' action. I need to do basically the same thing, but with an ellipse.
I am having trouble trying to add text to a dynamic block that will stay locked and centered when I stretch it left/right and up/down. The default text I am looking to have should be 36x24 (36 is the lenght of the unit, 24 is the depth). I can also upload my block.
Attached is my latest block that I'm working on. how to keep a field readable (horizontal) when rotated. What I need to do to update a field that is linked to an attribute when the attribute value is changed? The UPDATEFIELD command does not seem to work on it for me.
I have created a dynamic block with a rotation parameter&action on an object in the block. My problem is that when I pick the grip to rotate the object it only allows me to rotate it to where my cursor is pointing, if I enter an angle when prompted "Specify rotation angle or [Base point/Undo/eXit]:" say 45degrees the object does not rotate 45 degrees it just rotates to wherever my cursor is pointing
I am very new to dynamic blocks. I am starting off learning the small stuff before I get to the larger more complex blocks to convert to dynamic.
I have a reference block I am trying to "master" all the functions we would like to see.
I have two major concerns.
1) Why can't I rotate this block (via rotate action) and have the attributes stay at angle zero? I thought I built the parameters and actions correct.
2) I haven't ran across anything that explains how to stretch 2 linear parameters at the same time with the same distance (ex: stretch both at .25, .5, .75)
The top view is the standard block with the base point as shown. This "Base Point" is the center of the rotating axis.
Issue: After rotating the "1st Point" then rotating the "2nd Point", the Center axis of the "1st Point" moves. Is it possible to perminetly have the "1st Point" rotating axis stay in its original location?
I like to think of myself as pretty competent in AutoCAD but I can't figure this one out for the life of me...
I hope I can explain this clearly: When I rotate an object using grips, the object is not shown spinning in real time. I select the object, pick the object's grip, hit <Enter> <Enter> to go into the rotate command and the object will rotate maybe 45^ or so and freeze (visually).
If I use the command line "Rotate" command, the selected object(s) spin in real time or if I use grips to rotate but then use an object snap, it begins to spin in real time for some reason.
I would like to use grips to rotate my objects and be able to see them rotate (like I used to in previous releases).
Is there any way to have a dynamic block which utilises a similar function to TCOUNT. I am doing drawings for solar panel installations and have set up a dynamic block for our different panels that we use, which i have used xy paramater with the array action to make life simple when inserting panels onto a drawing... however we number these panels 1 to ~ ... we could have 3 on one roof but we could also have over 100... is there any way to have the dynamic block auto increment the text automatically? At the moment i use the block to show 20 panels then i explode and use the tcount command to increment the text in selection order.
Or... how i could go about doing lets say a data entry for example insert block-> Dialogue for amount of panels / amount of panels in a row or column? And after selecting that data the block will automatically have numbers 1-x...
I have attached a sample block so you can try and get an understanding of what im after.
I am trying to set constraints to this block and having some issues. I want to constrain the attribute text so when I stretch the block from the grips the text centers itself automatically within itself. The constraints will not let me pick the grip on the attribute text as a point.
Is it possible to increment text or attributes in a dynamic block? I'm want to create elevation text for grids that can start at a certain value and increment up or down from there.
This is just a basic block to specify a section plane. What I would like to have is a BPT with 4 rotation options (0, 90 180, 270) that would rotate the whole block but it would keep the text upright and be able to stretch the ends of the arrows. I know I must be including/not including something important. Pointers on how to do this
I have created a dynamic block that allows me to change the width and depth by stretch. I have text that the user is prompted to input. I want the text to always be center in the middle of the block no matter how far I pull it left or right. How do I keep it locked in the midpoint of the block.
Is there a way to put constraints on text and a rectangle? I'm trying to make a block so if i change the text the rectangle around it grows automatically. I know it's simple enough to just manually extend it but one of my engineers asked me to try and create this for him and i can figure it out.
i work at a small structural firm and am about the most experienced cad user here, which isn't saying much. I have never wrote any LISP's or anything, but have created many dynamic blocks and have edited some programing my boss got from a previous employee for adding dropdown menus with blocks/layers/etc. Just so you know my level of knowledge when it comes to answering my question. Also I am limited to using 2009 but other co-workers have up to 2013 so i would like this to work for all users. And i have done a bit of research but based on everyone elses level of knowledge am finding a lot of conflicting info and solutions that, to me, are in another language.
So I have a table that is created using polylines and text. It's a funky shape and AutoCAD's tables are a pain for it. i have created a dynamic block where i can array the rows down and the columns left. The issue is, i would like the test to come with each row, but still be editable once the block is done. I have figured out if row one is composed of 5 columns of text put into a single attribute, it is fine. But once you use the array action, to say 3 rows (including now 3 sets of attributes) they are not editable. So what is the work around, if there is indeed a work around?
the two option i see are to only array the rows and columns and left the text outside that block and manually copy it done to how ever many rows the user needs.... Or to have 2 blocks come in together, one as described before, and the other which just arrays the text and then i explode it to edit each line.. but then if you later choose to addd another line you would be left with doing that manually anyway..
I was curious to know if it is possible to flip the orientation of an attribute when using a mirror parameter. I would like to orient my text to the right when I flip it one way and to the left when I flip it the other way.
I have a door in plan view with visibility, flip, rotate, alignment and tag attributes. It all works well except when i rotate it, the text inside the tag rotates as well. I want the text to remain horizontal and read left to right while it rotates. I searched here for an answer but it's got me £@*%ed. It works when i flip it straight up and down.
So I just recently upgraded from LT2005 to LT2009 and am having trouble creating a Dynamic Block.
I am trying to create a 6-sided polygon with a text attribute of either 1 or 2 digit numbers to be used as a hex note. The problem I am having is getting the text to be centered within the polygon and the correct text height.
Is it possible to link text to each other through visibility states without creating a block within the DB? I have 2 visibility states. Right Section, and Left Section. All notes and text stays the same, geometry is the only thing that mirrors between states.
The hope is that when I update the text on the "Right Section" state, that the same text on the "Left Section" state automatically updates with what I did on the "Right Section".
I solved this by creating multiple blocks within the DB. That works great, however there HAS to be an easier way to do this.
I have a line and would like one line of text above and MTEXT below.
Problem is the annotation scaling part where I can't seem to position the text so it scales to the line correctly.
It's ok at 1:100. I can't work out a way of doing it so that the line is central between the first two lines of text and the three lines have equal spacing.
I have an elevation symbol that works OK as a regular block with attributes. Except it takes four of them to look right depending on orientation. But when I try to make just one dynamic block I run into the text/attribute thing.
How do you make a dynamic block with editable text?
Attached is a block that I use a lot. Originally I had two separate single line text attributes for the "title". I modified it to have a single multiline text attribute instead. I want this attributes text box width to stretch along with the line below it, so that long text strings will automatically adjust to single or multiple lines as necessary and not run off the end of the line. As it stands now I have to stretch the line and then adjust the width of the text box to match.
Also it would be nice if the bulk of the text would stay on the bottom line and only the "overflow" would move up to the next line.
I have a dynamic block that contains both geometry as well as text. I don't want the geometry to scale up based on the drawing scale but I do want the text to scle according to the drawing scale. I have tried making the text both annotative and non-annotative in the block and get the same result. I can get the text to scale properly if I make the entire block annotative but that also scales the geometry which is not accurate.
I made what seems to be a very simple dynamic block with text attributes and a few grips attached to stretch and polar stretch actions, but the file size is about 2mb! This is huge... roughly the size of one of our firm's full floor plans. There seems to be nothing purgeable in the file, so I am wondering if this is just the size necessary for the functionality or if I am bloating this somehow.
Is it possible to have a dynamic block with text which, when inserted into a drawing, will show the text orientation matched to the layout? I have a non-dynamic block which is simply a donut and a piece of text. When I insert it into a drawing, the text orientation will change to suit the orientation of the layout. I created another block with the same entities but I also added a couple of lines extending out from the center of the donut. I added stretch and rotation actions in order to rotate and stretch the lines.
I also gave the block visibility states so that either one or two lines would appear (the block is a utility pole,by the way, with the lines representing guy wires). When I insert the dynamic block into a drawing, I cannot get the text to match the orientation of the viewport. I've tried changing different combinations of settings but the text won't appear horizontal.
The two blocks I mentioned above are inserted into one file with a number of other blocks. When I check the properties of the non-dynamic block, the "match orientation" is set to YES. I cannot, however, change the "match to orientation" setting to YES on the dynamic block. Is this simply because it is a dynamic block or am I missing something? I don't create a lot of dynamic blocks and therefore I am not a wizard at it so I am assuming I am doing something wrong.