AutoCAD Civil 3D :: Dynamic Block With Text Inserted Into Drawing Show Text Orientation Matched To Layout
Apr 17, 2013
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.
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.
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 do-nut 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 do-nut. 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.
Since it's a snow day here I have some time to work on some office stuff. I've created my new template now I want to update my blocks. Because I have to place blocks that show a direction for operation I have created 4 blocks of the same symbol-up, down, left, right. I do this because these blocks have text with them that needs to be orientated to the layout (otherwise I get a nasty letter back from the fire marshal). Now for the text that is constant I just use a annotative text style and have the text match the layout but the text that is an attribute I'm not sure if that can be annotative and match the layout as well.
How to make txt orientation match layout without also having annotative scales. I need the txt to be a fixed size according to other drawing objects in different viewports -with different scales - and with different orientation.
I made a simple block for a utility pole in plan view. It consisted of a donut with one string of mtext beside it. I had created it so that the text would orientate itself to be horizontal in each viewport regardless of the ucs angle. I later added a line for a guy wire and made the block dynamic with visibility states. Now I am unable to have the text orientate to a horizontal position in the viewports.
I've written a method that creates a block definition and inserts one instance the newly created block definition. The block is comprised exclusively of lines and text entities. When the method is completed, all entities appear correctly on my machine.
However, when other users try to run the routine on their machines, the lines appear correctly but the text entities all appear positioned at the block insertion's origen. And the other users must manually regen the drawing after the command is run to trigger the text entities to move (or appear to move) into their proper location.
Though it wasn't necessary on my machine, I tried adding the following line as the last instruction in my command-method:
_drawing.Editor.Regen();
But even that last line's programmatically-triggered regen didn't solve the text location issue for my users. They still have to manually regen.
I also ensured that all (or most) of a test user's system variables were set to the same values that I use (via Express Tools export & import). But that didn't work either.
I am running into some trouble with user parameters that have been inserted into a dimension's "text box". I sometimes hide the dimension itself and insert these parameters so that iLogic can manipulate the upper & lower tolerance limits for a dimension.
The problem seems to arrise anytime one of the dimension's arrows becomes detached from the drawing (and perhaps for other reasons, too, although this is the only clear cause so far). I can reattach the arrow and the dimension seems healthy again, but if I go into the text editor, I notice that the link to any parameters that I've inserted has been lost. They appear as they were last set, but will not update if the parameters themselves change.
Is there a better workaround for this, or can we expect a solution in IV2013? I've invested close to a year's worth of work expecting this method to perform properly, and it will be a letdown if there's no solution.
A client gave us a file in which the drawing in model space has an orientation wherein the N is in positive y-axis. But if I go to layout (viewport), the orientation of the drawing is different, N is 45 deg from the x-axis. How does the orientation of a drawing in layout (viewport) changed without changing the original orientation of the drawing in model space?
“Dynamic block” that contains an inserted “field”,
I’m now encountered into two problems with this regard:
Why sometimes we get the number sign “####”?How can the field automatically be updated in case a “stretch” is made without the need to go and click “update fields”?How to make the “precision” of the field value (which represent the length) to be 5 such that the 2568 will appear as 2570 and the 2563 will appear as 2565 I’m attaching the block in case your time permits to have a look
We have a problem with AutoCAD R2011. The drafter made a rectangle, put some M Text in it, and when he looked at the layout the text does not show up. It's on a visible layer, and when he takes some existing text and sticks it in the rectangle, it works fine. We are just using "MatchProp" to work around the problem. Is there a way to "globally" set the text properties of the drawing to those of a particular instance of text?
I am working on making some view tags, and I would like the underline between the tag's title and the scale (any arch or engineer would know what im talking about) to stretch as text is added or taken away. Basically I want the right end of the underline to always be aligned with the right "edge" of the last letter of text. And no, I can't just underline it, the architect is very particular about not doing that. Right now I have this awesome dynamic sheet view tag with a rotatable north arrow and a dozen visibility states for the scale bars, but it all seems in vain if I still have to work with it manually. The text is an attribute, no special properties or settings, just locked in position.
I'm just trying my hand at learning to create some dynamic blocks, but need a solution to keep the text unrotated. I have attached a file of my troublesome file for you experts to look at, if possible.
PileTest.dwg
The file is basically a plan view of 4x foundation columns for overhead line towers (pylons). These towers can be different sizes and at different orientations, hence the dynamic options I have applied. However, when I rotate the block I want the text to rotate with it (to keep aligned with each column A, B, C, D), but I don't want rotation to be applied to the text, if that makes sense?
I have a feeling that constraints might work, although I know nothing about them, but these usually lag my PC. At present I am having to explode the block and apply a 0 rotation to all the text.
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 a section symbol that I want to rotate and keep the text at 0degress relative to UCS. The text is not in the middle so I can't rotate about the cetner of the text. I'll attach the block so it's more clear.
Right now the only fix is to assign a seperate rotation grip to both attribute text items.
I have a dynamic block (attached) for our single line schematics. It works great, but there's a piece missing. The text in the file (In / Out) I would like to have insert with the block, but it needs to be editable, so it can't really be PART of the block... if that makes sense.
If at all possible, I'd like to have the text array down when you stretch the block...
I want to make a dynamic block of just text. I want to be able to insert a block with a drop down pick list of preset texts and select the text I want it to display.
The attached file containing the various options of text I want to be able to pick from the list. I want to maintain the insertion point common to each text variation shown with a crosshair and the justification of the text as right and the height as 10. I would like to know how to add/remove variations to the block too.
LINK TO FILE IF ATTACHMENT DOESN'T WORK
[URL]......
I am not familiar at all with the controls in the block editor.
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 want to change the text "A" in my dynamic block to "B,C,D,E,..." When i click on a blue arrow. and the text "16 A" to "20 A , 25 A, ..." When i click on another blue arrow. Text Dynamic Block.jpg
I have a dynamic block with attributed text that I want to remain horizontal right reading even when the block is rotated. I have set up the parameters and the actions how I was taught and even revisited one of AU's downloadable lessons to try to get it correct. my settings are the same as in the lesson. I have the rotate parameter / action set to only the geometry and did not select the attributed text. I also have the attribute locked. Nothing I do gets the text to rotate with the block and stay horizontal and right reading. It will either rotate the text along with the block or just leave the text stationary. I have tried adding a point parameter to the text but that doesn't seem to work either. I am using Base ACAD 2010 I have also attached the block for troubleshooting.
I have encountered a problem with some of my 'Dynamic Blocks', which seem to have become corrupted & have incorporated differing attributes. The text has moved out of the field it was originally intended to be in & I can not get it to return to its correct location, using 'Block Editor'. After testing one particular block, I have discovered it has picked-up contrasting attributes:
(i) If one 'double-clicks' on the dynamic block the 'Attributes dialog box' offers one set of 'Text Options.' However, (ii) If the Block Attribute Manager command 'Battman' is used for the same block, different 'Text Options' are shown?
These are un-editable, without losing all of the data in the drawing. Moreover, I cannot get into the depths of the drawing to synchronize it without losing all of the data? Plus, it will not allow me to redefine the block, via the design center, Blocks (Right-Hand Click & redefine). Plus, I cannot drop a fully functioning block in from another drawing & redefine?
Wondering if there was a way to have text maintain a rotation angle of 0 while being included in a rotation parameter. I am wanting the "N" for my North Arrow to follow the direction of the symbol of my viewport tag without the "N" character rotation angle changing with it.
I've created a dynamic block that simply flips a connector input from a connector output. Like This:
Attachment 26540
But if you put more than three numbers after the L- prefix, the alignment gets screwed up. Is there a way to change text alignment in a dynamic block? Or, conversely, what do the Align and Fit justifications do? Could I make those work for this purpose?
I am using AutoCAD 2011, there are new options of "no columns" "dynamic columns" and "static columns" for multiple text. I am used to "No columns" but it seems to be set to "Dynamic columns" by default, wonder if there is any setting to change default to "No columns". Or any Lisp can be used.
How can one add numbers in text strings that are in seperate blocks or dynamic blocks with pull down menus? I can get a sum of numbers in a text string to add up, but once it is in a block or dynamic block with pull down menus they don't all add up.
How can one bcount dynamic blocks with pull downs?