Super-Secret Style Getter – V3.0

A LONG time ago Dana Probert suggested a method to grab styles from one file and quickly add them to the current file (V1.0).  Engineered Efficiency created a tool and placed it in their ProPack (V2.0).  You can find the post here http://civil3drocks.blogspot.com/2006/07/super-secret-style-getter.html.

Civil 3D 2011 has two new tools.  Read on…

Now, you won’t find these two tools in the help file, or what’s new, or anywhere unless you know someone who already knows or you completely stumble upon them while cycling through all of the AECC… commands in the command line.

As with all undocumented commands and tools, these are undocumented for a reason.  Your guess is as good as mine as to why they are undocumented.  Maybe more will be added later on, who knows.  These commands do what they’re supposed to do, so it is what it is.

Peter Funk explained them in a Civil 3D discussion group post.
http://discussion.autodesk.com/forums/thread.jspa?threadID=774989&tstart=0

#1 – AECCIMPORTSTYLES
This tool will grab styles from any selected file and transfer them into the current file.

#2 – AECCIMPORTSTYLESANDSETTINGS
This tool will grab styles and settings from any selected file and transfer them into the current file.

Verbatim from Peter’s post:

These commands will prompt (at the command line) for a template (dwg or dwt) file that will be used as the source for the styles/settings. Then all the style/settings from the source drawing will be added to the current drawing. All the styles will be imported.
NOTE: the styles in the source drawing "win" – that is the current drawing is modified to match the template file.
NOTE 2: This is a command line only prompt – there is no file dialog by design. This was done so that the command could be scripted to run on a set of files.

  • The routine will ask for a path to the DWT or DWG file to be used as the source.  It’s asking for Path and Filename.  For example, this is what the routine wants;
    C:\My Files\Civil 3D 2011.dwt
  • DO NOT assume that because you have spaces, you need to enclose this in quotes; the routine will just end without notification.  If it appears to have done nothing, it’s very likely you spelled something wrong.
  • This routine currently appears not to affect anything other than the styles and their direct settings.  Meaning, no settings seem to be imported from the Edit Drawing Settings, or Edit Label Style Defaults, or Object Layers, or Ambient Settings sections.

Enjoy,
Matt Kolberg

8 comments

  1. Dennis Schmidt, P. Eng. says:

    I just open the drawing with the styles, choose the styles in the toolspace, and drag and drop them into my drawing. Works the same.

    • Yes, it does, but the commands allow you to pull all of the styles at once instead of picking individual branches. It’s just another option to keep aware of.

    • Matt Kolberg says:

      Drag and drop does not carry over settings either which, in many cases, are nearly as important as the styles themselves.

  2. Dennis Schmidt, P. Eng. says:

    fair enough.

  3. Mark Scacco says:

    Regarding “settings”, is it pulling in Command Settings related to the imported syles?

  4. Susan Hunter says:

    I have a copy of this utility Pro Pack utility from EE (with an account number). It will not install and keeps insisting the C3D 2009, which I’m currently using, can’t be found. EE will not send me the support I need to install it. I have the correct version and it installed correctly on 2 of the 5 seats that were ordered for this office. Is there any chance that someone could help me out? Thanks very much.

  5. Matt Kolberg says:

    Scacco;
    Yes this imports command settings for each set of styles and also sets the default like in the source file

  6. Mark Scacco says:

    Susan,

    Due to high volume of downloads and the fact that the application is free, we cannot provide technical support. Over 500 users have requested serial numbers and authorization codes and the vast majority have had no problems (including you on your two computers).

    Look to see what the differences are between the computers that work and those that don’t.

    Regards,
    Mark Scacco