AutoCAD 2010 :: Remove Character Formatting For All Of Text Strings At Once?
Oct 30, 2012
I am working with tables that are linked to data from an excel file.After I create a table I dettach it from the excel file. I do not want the excel file to control the table.
I then need to update the text format of all the text in the table. I've noticed that the text strings are still formatted based on how the excel file was formatted.
The only way to remove this is to click on the cell, highlight the text, right click, and then select Remove Character Formatting. Unfortunately I have to do this for each text string.
Is there a way to remove the character formatting for all of the text strings at once?
Even better, is there a way to format the table so that it does not change the text style based on what is in the excel file but instead based on AutoCAD's text styles?
I know I can rotate text with the rotate command or from the properties palette, but if I'm editing text and the text formatting toolbar is displayed, why don't I have the ability to modify the rotation right there? How do I get it there? Can I customize this toolbar?
When I click on mtext to edit info the text editor comes up but it always lands right on top of the text so I have to keep moving the toolbar around... besides turning the option "off" for the toolbar to pop up - is there a way to "dock" it somewhere?
I just realized that I have quite a number of text instances (261!) that require that I change the color of the text. All of these instances are associated with multileaders and but are only a portion of the text associated with each multileader.
Problem: Create a dynamic block with visibility, use a Multiline Attributes for text entry in to the block. I create multiple lines of text when editing the block in model space. Either with gripping the txt window width or use "Enter" to define multiple lines.... I proceed to edit the block slightly and when I close and save changes......All ML Attributes default to single line text. In turn i have to re-edit all my text.
Bugs like this are extremely painful. No rhyme or reason to them... Looking for a workaround other than using separate attributes for each line of text.
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?
I am jumping 8 versions to 2012. I've located this command but it changes the all text strings that match? I tried naming the block but that didn't work.
Someday the light bulb is going off and I will understand mapcar and lambda. However.....I have a program that reads an excel file sheets. Sometimes the sheet only has 1 column, sometimes 2 or more.
I need to convert the saved values from the sheet to a list with the text spaced evenly. Unfortunately the text lengths vary. I would like a subroutine to pass the list to and return a list of strings with text aligned with padded spaces allowing for the longest text in each column. I am using the new list in a dialog box with fixed_width_font=true (so columns align).
How can I pass the contents of a cell value (text string) to Acad? I want the user to click on a cell, then have lisp use the string as the name of a block to insert.
Im trying to create a list of text strings to select from defining material thickness and then plug that selection into a global form custom iproperty called "MaterialDescription".. Also, is it possible to access and pre-enter field text edit items in iLogic?
I am trying to select multiple instances of text (dtext) with different strings but want to change all of the fomats to the same settngs. I have searched high and low on the web to no avail. I am using AutoCAD 2012.
For example: I want the routine to find all instances of "AA", "AB", "AC", "AD", "BA", "BB", "BC", "BD", etc... all the way up to "ZD".
Next I want all of those text entities to change to the following text formats:
Getting this to work with just finding one string at a time with the ssget function seems simple enough, but it's getting it to work with multiple strings that I can't get past.
I have inside every text,Mtext contents different text style like Arial_1 , Arial_2.
How i can give all the contents inside one style ? the normal procedure i will enter inside text to enter editing mode and changing text format style one by one. I want it once.
I want to save my routing of entering every text to change its content text style.
(Notice:select all from outside without editing mode will not do the job)
I've got an OLE work document spec that is 2 pages formatted correctly in MS word. When i link in the second page the formatting resets to the beginning in the .dwg file, but is retaining it's correct format in the linked word document. For example the 2nd page in the word doc starts at 2.9.....but is displaying 1.1 in the dwg file....is there a command to stop the reset of 1.1?
I am currently making a pattern of numbers. These numbers are going to be serial numbers on some parts that are to be cut by a waterjet. There are 1000 parts so I want to automate this process. I have made a pattern of text so that the text is placed correctly. Also i have used TCOUNT to automate the numbers, so that the pattern of numbers is now 1 2 3 4, etc (positioned correctly). The problem is that the serial numbers should have the format 00000 (5 digits), so: 00001, 00002 etc. Is it any way to make numbers appear this way? If i try write it like this in TCOUNT it automatically changes it to standard numbers.
I have linked a table from excel into autocad 2012. I have selected "Start with excel formatting, do not update" in the datalink options. My problem is when I break the table the first table will keep my formatting changes - text height and alignment, but the following table breaks do not stay the same once I close and reopen the drawing
I like the concept of datalinks, it's ingenious working with excel and do what excel does best instead of doing it in acad. I am done with the excel part and want to edit my table in autocad.
My problem is that I have some unused rows and columns that I can't get rid of, erase is greyed out.
I would like to embed long text strings to image metadata, in order to copy and paste memories written and related to these images. As an example, I'm keeping a sailing logbook and I would like to add the daily entries to pictures but I have run into problems when sharing images elsewhere. The string length exceeds the metadata standard lengths.
Which standard metadata fields allow longest text strings that I could use for my logbook entries without the fear of losing them when exporting or sharing them elsewhere?
I created a table with a title, 3 columns each with their own header and 20 rows of data. I then adjusted the properties of the table to allow breaks and repeated top labels. My Table Break properties are:
Enabled: Yes
Direction: Down
Repeat top labels: Yes
Repeat bottom labels: No
Manual Positions: No
Manual heights: Yes
Break height: 2.5
Spacing: 1
Everything looks great! I like the way the table is now broken into several smaller "tables"/sections (about 3 rows per section). BUT my question is: Is there a way to simply change the title text of these smaller "tables"/sections so each break has its own unique text for its title? The repeat top labels property only allows the overall title to be repeated with the same text. Any changes I make to the title text is carried through all titles of these individual sections.
I recently decided to see how the AutoCAD tables work. I was very happy to learn you could link your Excel spreadsheets with CAD. But now I have a problem.
After inserting the table it refuses to use the table style I have set up. The fonts do not want to change at all. I can change the colour of the text, but not the font.
I've created a data link, linked to my autocad drawing, checked the box to keep excel formatting and update. Once i Import the table, the size of the table is NOTHING like what the size is in excel.
I have my page layout in excel to be 11 x 17 landscape. I have my table at about 9 1/4 x 15 landscape. Once I import it into autocad, it is now about 6 3/8 x 20 1/4. I don't know what i'm doing wrong but i need it to transfer just like it is in excel as far as the size of it.
I have an IDW file that has a corresponding .IPT Everytime you import a .ipt onto a sheet, a text accompanies it. I want to write a macros to edit this text.
As an usual practise it gives "VIEW, DESCRIPTION and SCALE" .
Instead of VIEW , I want the code to pick something from the i-properties.
Eg. Instead of VIEW, it shopuld write the STOCK NUMBER from the iproperties of the part.
I'm trying to automate an email we have to send upon job completion, I've started with the Curtis's ilogic from . I also found info HERE. I'm almost there, but I can't seem to find the correct format to edit the text size/Font/Bolding required. The email should look like:
CRITICAL ACTION: Replace old revisions on the shop floor & at vendor with the new revisions and destroy the old revisions.
WORK ORDER #: XXXXX/X Customer / Description
DESCRIPTION OF CHANGES:
This e-mail is to inform you that the drawing(s) listed below are approved:
Drawing/Part Number Rev Description Status HIGH
Status / Required Action:
LOW / No active quote(s) or current need. (To: ) MED / Need to quote or generate purchase order. (To: ) HIGH / There is a work order in Progress. Destroy all copies of obsolete drawings and replace with latest revision. (To: ) SALES / This is a sales drawing. (To: )
All drawing files referenced in this e-mail have been loaded onto network folder:
\ServerengineeringCOMMONParts Folder RELEASED PDFs
Current Ilogic: modelName = IO.Path.GetFileName(ThisDrawing.ModelDocument.FullFileName)Dim oOApp Dim oOMailoOApp = CreateObject("Outlook.Application")oOMail = oOApp.CreateItem(olMailItem)Dim oWorkOrder As StringDim oCustomer As StringDim [code]......
I'm trying to get there by declaring Fontsize, then .Body.Fontsize = 16, but that isn't working. Any link to a page that would give me the correct format to change font size for this? I'd also like to get the table lines around the drawing/Part Number, but that isn't critical.
Users of Excel will know that you can ask that software to automatically change the color of text depending on its value.
I wonder is this possible in AutoCAD ( Issue release 13 )
The task I have to process is that I have a survey full of spot levels. It would be great of there was a lisp or script or some other device that would change the colour of the spot levels depending on the numerical value of the number.
E.g. - all values less than 100.00 - turn blue all values equal to or greater than 100.00 - turn yellow
I notice that whenever I plot with DWG to PDF.pc3 the filename for the PDF always comes out as:
(.dwg file name)-(paper space name).pdf
Is there any way to change the inputs for this? Let's say for example I wanted AutoCAD to automatically insert a timestamp at the end for me, so that the filename is always:
(.dwg file name)-(paper space name)-(date and time here).pdf
This would keep me better organized and also make it easier for my less computer savvy coworkers to go through old drawings and see changes between drawings. I know I could type it by hand every single time, but why do that if there's a way to have AutoCAD do it for me
The problem just came today while i tried to copy/paste text from Ms Word. As I usually do it asks me about formatting options before pasting text but today its not working the way it should. It simply pastes plain text without all formatting I did to my document in Ms Word. I even tried to repair my software but nothing worked.
Is there a way to incorporate the functionality of acad mechanical whereby you can specify the length of text but have it fit within a specific area?
So far I haven't been able to figure out how to get a description to work well with my title block. If I use the fit option, all of the text is stretched, which I don't want. I want it to be normal until it doesn't fit anymore into the predefined area and then have it fit.