Tuesday, June 8, 2010

Civil 3D 2011 I would like to import Styles and/or Settings is there an easy way?

In Civil 3D 2011 there are two new commands to help with this task:

AeccImportStyles
AeccImportStylesAndSettings


These commands will prompt (at the command line) for a template or Drawing (DWT or DWG) 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 "take over" - that is the current drawing is modified to match the template file. So if you have one you want to keep make a copy under another name.

NOTE - 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. However you could create a routine which is one of the things that makes this so nice.

AECCIMPORTSTYLES – This command is used to import Styles from a DWG or DWT that contains the Styles you would like.
In the example below we will use a folder on the c drive called styles place the DWG or DWT that contains the styles you would like in the C:\styles folder
1.) On the command line type AECCIMPORTSTYLES
2.) Type in your path in this case C:\STYLES\
3.) The Styles in this folder should be read and update the file you are currently in

AECCIMPORTSTYLESANDSETTINGS – This command will import the Styles and settings of a DWG or DWT.
1.) On the command line type AECCIMPORTSTYLESANDSETTINGS
2.) Type in your path in this case C:\STYLES\
3.) The Styles and Settings in this folder should be read and update the file you are currently in

No comments: