sent drawing out to vendor, received back drawing where they had changed the width factor to .75. is there a way to globally edit all these mtext entities?
Working in Autocad 2011, PC version.My drawing has blocks that contain (1) visibible and editable attribute. Also contain (4) invisible and constant attributes. I need to update text information in the (4) invisible attributes. Using BATTMAN seemed the easiest way to do this, but when "Sync" ing the changes, the rotation angle/placement of the Visible attribute changes globally in the drawing.
(Many of the Visible attributes location were adjusted to prevent overlapping with other drawing lines.
How can I update text values of invisible attributes without rotating/adjusting the placement of my visible one?I've tried -attedit & attredef - neither of them did what I needed.
I have an attribute blocks and this att block has two tag values , is there a simple code for to change 1st tag values automaticly according to 2nd values ?
for example :
1st tag (50x50) - 2nd tag ( 100 ) ==> 50x50-100
if i enter 201 valuse to 2nd tag then 1 st tag has to change as 100x100
if i enter 501 valuse to 2nd tag then 1 st tag has to change as 150x510
Is there any way to have duplicate attributes in a block but with different values so when I use data extraction both sets of values will be sorted in the proper columns?
This is what I'm trying to achieve:
QTY.....ID.....#...........Description 1.........12.....POSCL....POS CABINET – LEFT 1.........12.....POSWL...POS WALL - LEFT
The block is for a unit that is made up of two fixtures (a cabinet and a wall with a counter top). Our customer uses the same ID for both fixtures and treats it as one unit, whereas our order form lists both the cabinet and the wall separately for production purposes. So both of our fixtures will have the same ID, but will have different product numbers and descriptions. In order for the information to show up in the table properly, I need two instances of an ID, # and Description attribute. If I use a different name for the additional attributes, I will get two extra columns.
I was curious to see if there's a way to set up Autocad (2010) to recognize when MTEXT objects are edited, and have it adjust their defined width automatically (both single- and multi-line)--versus having to click on the arrow every time to snap the text box "margin" to the actual text. I'd like to do this to keep my background masks the exact width of the text; I just hate it when the mask doesn't cover enough of the text, or when it covers more and the background is unnecessarily obscured. I'm careful about keeping things neat, but my coworkers aren't .
I have an interesting challenge. I am tasked with updating old drawings. The only difficulty that I've run into with the old files are that the TitleBlocks are all done with all of the attributes are named "SPEC". There are 90 attributes. I'm really struggling with getting each attribute's value and then storing the value to a variable so that I can then put that value into a new TitleBlock. The old TB will be deleted to avoid future confusion in the file.
(To clearify, the old TitleBlock is in model space, while there are actually nine new TitleBlocks all in seperate paper space Layouts, and this program may have to run on hundreds of files.)
getting the values from the Old TB. I need them in order of first to last or last to first (either way will work since I have the variable names in a list that can be reversed if necessary.)
simple function to read through the block's attributes in order and store the attribute's value to a variable name in the seperate list (also in order)?
I am using 2008 and I have a dynamic block with attributes that I want to insert with the below program and have the attritute values filled in automatically. I have done this with other programs in the past and they worked great with literally no problems. They were not dynamic blocks may be the reason this does not work. Why the block will not fill in the attributes like it should. Occasionally in my testing I see a message about "units" when I am inserting the block but I have my insunits set to 0. I have attached one of the blocks I want to use. I am thinking either you cannot do this because it is a dynamic block or there is a new variable that won't let it work.
Basically, we get documents from other people and we convert those to our formats to do our work. We use a font called Simplex, but sometimes their document is filled with, like, Comic Sans or something stupid.
The match properties command doesn't seem to change font, just size and alignment. When I use the font properties dialog box, I can set simplex as the font, but when I make new text, it still matches their comic sans.
So two questions: How do I change the default font for the document so that all new text is the way I want it?
And is there a LISP routine which will find all text and change the font property and stuff the way I want it? For multi-line and single line text.
Also note, I've tried selecting all the text and editing properties, but font is not one of the properties I can change. To change font, I have to edit every piece of text one by one. And then ONLY multiline text has the properties to change font. I don't even know how to change the font of a single line text object.
I got too smart for myself today in bringing an old drawing up to current standards...Everyone seems to want their block attributes to be zero - I have blocks where the attributes are best when they match the rotations of each blocks.
I have an old drawing that was rotated (as it should be) at approx 2deg.
I used a lisp routine to global edit all the blocks that needed to be at zero. BUT for some reason (and after hundreds of blocks were corrected), I noticed I now have two blocks that should NOT have been in the set have had their attributes rotated to zero....and the attributes should be at the same rotation as their block's rotation.
Because those two blocks have a fixed tic mark, I can click on the mark to see what the block rotation is, then rotate its attribute to that rotation, but I have hundreds of blocks! One-at-a-time sucks....
Any chance there is a GLOBAL way to edit an attribute rotation to match its own block's rotation?
I used the BEDIT command (editor) on my block to modify the text size then save the block editor changes. Then use ATTSYNC to perform the changes on all existing blocks references to resize the texts, but after i complete the ATTSYNC command, the text in all the blocks disappear.
I have a bolt program that draws the thickness of a bolts in elevation as a polyline with a global width, what i need is a lisp to then change this lwpolyline to a hatch, ie if global width is 20 and the polyline is 30 long i need to change this to a 20x30 solid hatch, is it possible to get the the global width and length and convert this to a boundary hatch? I need the same thing done for bolts in plan too as the circle is a lwpolyline also.
We have a few hundred drawings that we need to change certain block attributes. We need to change the valve of the text in that attribute from whatever it is (doesn't matter what it is) to a specific text string.
For example: If the attribute is called "name" and has the text string of ALAN in it in some drawing or BRUCE in other drawings, we want to chaneg all drawings to TOM.
I have produced a movie which is a mixture of mostly still photos and some video clips all in the VS X5 Video track. Having now watched the finished movie on my TV, I now wish to extend the duration of all photos. Is there a way to globally change the duration of all photos?
We've purchased an eps file that claims that you can change the global swatch settings, but when I double click the swatch and change the color - it doesn't change anything. If I cursor over the entire art and double click the swatch to make the change, it changes the entire art to a single color. This art has hundreds of sections within it - with lots of various gradients in it. If I choose a single layer to change the colors in the gradient - I can't get the gradient colors to show up, nor can I even get it to change over to the standard black and white gradient. So, I don't know what to do here. Am I doing something wrong here in making the global swatch change? If I didn't know better, I'd say that the art has been completely divided.
If I put a single line text and use it several times and then select them all I can change them in the properties all at ones. How do I do that with Mtext, if I select all and go to the properties they are opened one by one and you can change that.
Is there another way to do that as a single line text with the same.
I wonder if the CS5 command "Change to global rulers" is scriptable. When I try to record it as an Action script step, it is not recorded and I do not see anything in the JavaScript-ing guide on setting this programatically either.
how to change the MText Height property in vb.net, i used the below code, Dim mytext As New MText mytext.Contents = txt mytext.height = 130 mytext.Location = Pt mytext.Attachment = AttachmentPoint.MiddleCenter But it is showing an error that Height is an invalid method.
I am having issues with text size when I attempt to change the text size in MTEXT. It is set to copy the last size I used but when I need to edit the size, it multiplies what I enter by 8 and turns inches into feet. In other words, I try to resize 6" to 3". The text editor will then multiply 3" x 8 and size the text to 24 feet.
Is there any way to chance the color of my text WHILE I am typing it for my multileaders? It is showing on a really faint green and I cant read what I am typing. Keep in mind, I would rather NOT change model space color because I love it
A few years ago I learned in school the usefullness of global color. I used it today and it was very usefull to quickly change the color of a lot of different objects at the same time.
HOWEVER; I remember they also tought me that it was also possible to change the brightness or shading or something inside one global color.
for example lets say I picked a red as a global color, and I have 10 objects all in that red. Then it should be possible to let 5 of those objects have a lighter version of that red color.
Then afterwards when I change my global color to green, all the objects change to green, and those 5 objects now have a lighter green color.
Am i remembering this correctly, and if so; how do I apply this? Because I cannot figure it out...
We get artwork from outside agencies with color boxes like those shown (CMYK, in percentages of 30, 50 and 100). Their color names may vary, or often the colors aren't in their color palette at all. I am supposed to recolor the boxes with our standard-named, global colors in my own swatch library. Two questions:
1. Is there a way to grab the three cyan boxes (for example), and recolor them with the global Cyan swatch, WITHOUT having the %tint in all three boxes become 100%?
What I do now, over and over in each file we receive: Select the three Cyan boxes, click on the "C" global swatch in my palette, watch them all change to 100%C. Then manually click on the left cyan box and change the tint back to 30%, and for the middle box, change it back to 50%. Etc. for the other colors. This is a PITA, and it just seems like there should be a quicker way.
2. Is there way to then recolor ALL the cyan elements (strokes, fills, gradients) used in the art with the same global cyan swatch, without changing the tints?
When I create Mtext with a Bullet list, I want to change the bullet to something of my own choosing, instead of the blakc dot. I've been looking into this before, but couldn't find a solution. Some time back, I received a drawing from someone else. See attachment. It contains a piece of Mtext wich uses an alternative bullet, in this case a hyphen. So it CAN be done. Only thing is, I can't figure out HOW they did it?
I was wondering if there is a way to change multiple entities of Mtext. I tried CHT but the options are limited. Is there a way of say changing the color?
I have a user who inadvertently changed the text contents of an mleader from "ByLayer" to 1,255,0, which is giving us some serious issues with our plotting, as we use a .ctb file for printing. Unfortunately, this error must have occurred fairly early in the project, because it is now replicated throughout the 100 page set. The text color was changed through the mtext editor, so just changing the overall properties of the mtext or leader doesn't affect the text. The only way that I know of to correct the issue is to edit each piece of text, select the contents, and change them back to ByLayer. This is going to be a real pain.
So here is the question: Is there a way to change the color of multiple pieces of mtext, without opening each and every individually?