Unable To Use Convertpstyles In Autocad For Mac

When you come across a drawing that has plot styles (,stb) and not your usual.ctb files simply use the command CONVERTPSTYLES It will notify that it will no longer be looking for.ctb files. Just to verify that it worked, look in the command line Now the drawing should be able to see your.ctb files when plotting. Enter the PAGESETUP command. Select your page setup and then click the gear menu and choose Edit. Click the Plot Style Table menu and choose the desired CTB file. Note: If you do not see CTB files in the Plot Style Table menu, the drawing needs to be converted from named plot styles (see Unable to use CONVERTPSTYLES in AutoCAD for Mac).

Function SyntaxBFind
Current Version2.0
DownloadBFindV2-0.lsp
View HTML VersionBFindV2-0.html
Donate

Program Description

This program uses ObjectDBX to perform multiple text replacements in the current drawing, all open drawings, or across a complete directory (and optionally subdirectories) of drawings. The program has the ability to search Text, MText, Block Attributes, Multileader Text, Table Cell Text, Dimension Override Text and all of these items within Block Definitions.

The user may replace multiple search strings, and load & save lists of search strings for future use, saving time in program data entry.

Users may perform a complete Find & Replace operation, or merely search for potential replacements using the 'Search Only' option. Following a search operation, a report is displayed informing the user of the replacements which would be performed should the user proceed with the replacement. The report also displays the object containing the text to be replaced, along with the entity handle of the object, and the drawing filename in which the object resides.

The program provides the user with additional refinement options, as displayed in the Options Dialog. This enables the user to control which objects are searched, whether locked layers are included in the replacement, search item case-sensitivity and whether the search item must appear as a complete word to be replaced. The user can also restrict the search to Model space, Layout space or both.

The generation of a report following a text replacement may also be controlled within the Options Dialog (the report will always be created following a search operation).

Dialog Preview

Known Restrictions

Please be aware that the BFind application is not entirely bug-free, and I would advise against its usage in conjunction with MText objects to which multiple style overrides have been applied through the MText Editor. However, it should, in most cases, perform successfully.

Below is an incomplete list of known issues:

  • Save Format

    All drawings processed by the application will be saved to 'native' format (that is, the highest version available in the host application - i.e. running the program in AutoCAD 2011 will cause all drawings to be saved to 2010 format, or running in AutoCAD 2013 will save drawings to 2013 format).

    The ActiveX save method (equivalent to the AutoCAD QSAVE command) is unavailable when interfacing with drawings through ObjectDBX, and so programs must use the saveas method to save any changes performed to the drawing database. Usually this method accepts a drawing version parameter which allows the method to save the drawing in the same format as configured in the AutoCAD 'Options' menu, however, due to a bug with this method when used in conjunction with ObjectDBX, the method will not accept the version parameter.

  • Position of Non-Left Justified Attributes

    When using an ObjectDBX interface to modify the content of attribute references which do not have justification set to 'Left', there is a known bug which results in the attribute position not being updated following a change to the text field length (e.g. extending the text content of middle-center justified attributes will cause the attributes to become positioned off-center to the right).

    A function has been included in the application which attempts to adjust the attribute position to account for this issue, however, this function is not 100% effective and a slight change in attribute position may be apparent. Note that the attribute position will be correctly updated when the attribute is next edited manually.

    To modify attribute values without encountering this issue, please use my script-based Batch Attribute Editor program.

  • Drawing Thumbnails

    Due to another known bug with the ObjectDBX interface, drawing thumbnails are lost when drawings are saved by the application. Drawing file thumbnails are fully restored following the next 'manual' save.

  • Curly Braces

    The application is unable to search for the curly brace characters { and }.

Use
  • Wildcards

    The program does not currently support the use of wildcard patterns in search terms.

Instructions for Running

Please refer to How to Run an AutoLISP Program.

AutoCAD generally supports two type of fonts TrueType with TTF extension and shape font with SHX extension. TrueType is Windows native font type which comes ready-made with your windows installation but shape fonts are AutoCAD specific fonts which are installed along with AutoCAD.

In this article, I will explain methods of installing both the types of fonts and the best practices for transferring files containing these custom fonts. You can download TTF and SHX fonts used in this article from this link.

I have created this video which explains this tip clearly. However, if you prefer to read the article instead then scroll down.

Installing Truetype Font:

To install the TrueType or TTF font simply right-click on it and select Install from the right contextual menu as shown in the image 1 below. For installing this font, you need to have administrator access on your PC.

Once the font is installed close the AutoCAD window completely and restart a new AutoCAD session, the font will now be among the list of fonts.

Installing Shape Font:

Unable to use convertpstyles in autocad for mac download

Installing a shape font is a little bit different from installing a Truetype font. In this case, you need to copy paste the SHX font file in the font directory of AutoCAD installation. You can find the path of SHX fonts using options window.

Type OP on the command line and press enter, then select File tab and expand the Support File Search Path tree and you will see the path where SHX fonts are installed as shown in the image 2 below.

Go to “C:Program FilesAutodeskAutoCAD 201XFonts” folder where X represents the version number of AutoCAD and copy paste the SHX font file. You will need administrator privileges for copying this font.

Once the fonts are copied restart the AutoCAD session and you will have your SHX font in the list of AutoCAD fonts.

Transferring files with custom font:

The fonts mentioned in the article above are installed on your local PC and when you use them in your drawing it will remain visible only on your PC. If you transfer this AutoCAD file containing custom font to the recipient who does not have this font then AutoCAD will display a substituted font or it will not display text at all.

To get rid of this problem you need to ensure that fonts are always captured with your drawing.

You can do that by E-transmitting your drawing with the font and if you are transferring the file as PDF then you should ensure that TTF fonts are captured in the PDF file and shape fonts are converted into geometries because PDF’s does not recognize shape font.

To transfer the drawing with fonts, save your drawing then type ETRANSMIT and press enter. Click on transmittal setups button on the Create Transmittal window and select Modify. In the Modify Transmittal Setup window select the Include fonts check box as shown in the image 3 below and click on OK to close all open windows.

Your transmittal package will now contain any additional fonts used in the drawing.

If you are transferring drawing using a PDF plotter then ensure that fonts are either captured in the PDF or they are converted into geometries.

To do this select the PDF plotter like DWG to PDF.pc3 from the Plot window and select the PDF Options button and then ensure that “Capture fonts” option is selected for TTF fonts or “Convert all text to geometry” option is checked for shape fonts as shown in the image below.

Unable To Use Convertpstyles In Autocad For Mac Pro

If you have questions related to this tutorial let me know in the comments and don’t forget to show your appreciation by sharing the article using buttons shown below.

Start Free Account

Unable To Use Convertpstyles In Autocad For Mac Os

Start learning AutoCAD and Fusion 360 with video courses, eBooks and Q&A community