Saturday, 4 December 2010

The Standards Police for civil 3-D Standards and Layers

Before you start getting into civil3d you really have to have your layer standards under control. All users or companies have some sort of default standard if only really basic. If you have no standards I suggest you create two sets of standards one
company standards and layers.dws (used for non-civil 3-D drawing)
This file contains the basic companies layers that have been traditional used and another the.
company civil 3-D layers.dws (used for civil 3-D drawings)
This file should contain the layers that follow the AIA layer naming convention as shipped from autodesk adjusted to have your correct company colour and line types for each layer.
Store the files on the network at the read only location such as "F:\Civil3d\Template\Drawing Standards"
Now you can assist drawing standards to a drawing by typing "standards" at the command line and browsing to each file and adding each file.
By default the standards files should be attached to the company template files and then will be present automatically when you create a new drawing based on company standard template .dwt. Some custom code can be written to check each drawing that is opened to see if the correct standard files are attached to catch those who buck the system or update old drawings to have standard files attached.
By having standards files attached to a drawing and setting the "StandardsViolation" system variable = 1 the user will be asked to pick a layer/textstyles from a standards file when they create a non standard object. To ensure that this variable is always set to one have the setting of this variable added to the acad.lsp file so on startup it is set automatically.
Note: On creating a new non standard layer an error window will now be displayed if the layer does not exist in the standards files the error message does not display until you press enter after typing in the name of the new layer when creating the layer in the layer manager. But by typing -la new and the new layer name at the command line the violation warning pops up straight away.
By having this variable set if you drag a style in civil 3-D from one drawing to another and the styles contains non-standard layers you will be asked to update them to standard layers.
Now you can import non civil3d standard layers into a civil 3-D drawing and as we have keep the shipped AIA layer naming convention in the civil3d file you can separate them out with filters if need be.
To filter layers to give everything but AIA civil3d layers that start with c- and v- typically create a layer filter with the following text
[~C-,V-]*
and you will be left with your old company layers or any layers that have been imported into the drawing that do not match the shipped AIA standards shipped with Civil3d.

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...