Escolar Documentos
Profissional Documentos
Cultura Documentos
Pen Tables
An alternative way of setting weights, thicknesses, and a whole host of other output options as well, is to use a pen table. Pen tables can be used to change the way an element prints by defining a series of selection criteria based on element type (line, shape, cell, etc), symbology (level, colour, style, weight), class (construction, primary, dimension, etc) and the file or model it is in. Each element that falls into the selection criteria is resymbolised. You can resymbolise elements to always plot in a certain colour or fill, or prioritise elements (always handy for making sure text comes out over filled shapes) or the width, style or even whether the element will plot at all. Download the example pentable.tbl and take a look at some examples of what you can do. The default location for pen tables is the ... Workspace\Standards\Tables\Pen folder. In MicroStation open the Print dialog box. Attach the pen table via the PenTable pull down. Use the same pull-down to Edit.
The Construction_Elements section simply stops Construction class element from printing. The first screenshot selects all elements of a Construction class in the Element Selection Criteria tab and resymbolizes them in the second tab Element Output Actions to Dont Display Element.
Title Sheet is a clever way of using reference file logical names to ensure a drawing border always plots in black and white even if the drawing is set up in Full Colour. Any file with a logical name starting with border is always set to plot in colour 0.
If you highlight the Title_Sheet section, youll notice nothing is selected in Element Selection Criteria. If you click on Files youll get the Identify Files dialog box and will see a Reference Logical Name of border.* has been added. The wildcard .* syntax is a little bizarre explain?, but if you use border.* an(with no elements selected in the Element Selection Criteria tab) it means any element type, of any weight, colour, style or class, in a reference that has a logical name starting with border, will be processed by this section. They will plot as white (black).
All_Elements picks up any element that has not yet been processed and makes sure it prints in colour 0. It is worth remembering that an element can only be processed ONCE by a pentable. If an element matches the selection criteria in a section it will not be considered by the next section. The pentable processes its sections in the order they appear in the list, hence why this section is listed last in the Processing Order list. If it were first in the list, all elements would print black and Construction_Elements and Title_Sheet would never have anything to do.
Map Weights defines the line weight to thickness settings. If you click on Map weights you bring up the mappings already stored in the Pen table. If youre starting from scratch, click the Create button - but take care: if you already have mappings defined, Create will delete them all and start again. Youll be warned first though, so dont panic! To specify the width just highlight the Design Weight and enter the Print width you require in the Edit Weight Map(s) box. You can highlight and set several weights at once if you want.
This can get a little monotonous. An alternative way to set the weight mappings is to open the Pen table in Notepad or another simple text editor. You can just scan down to the BEGIN_WEIGHTMAP section and enter the values by hand after the = 4. Dont ask what the 4 means, but you have to leave it in.
Defining Map weights is exactly the same as setting weight_strokes in the plotter driver. Its up to you whether you use a pen table or the driver to define your weights. The only addition note to bear in mind is if you have both, the pen table will take precedence.
Do I have to load the pen table every time I want to use it?
No. You can load a pen table automatically by adding the line into your driver: pentable = $(MS_PENTABLE)<default pen table>.tbl MS_PENTABLE is the configuration variable that points to the folder or folders where you store your pen tables. This would normally be the Workspace\Standards\Tables\Pen folder. If you would rather force the pentable to load regardless of the driver selected, the variable MS_PLOTDLG_DEF_PENTABLE will achieve this. In this case, rather than use the pentable = setting in your driver, add the line below to your standards.cfg: MS_PLOTDLG_DEF_PENTABLE = $(MS_PENTABLE)<default pen table>.tbl Well cover more on pen tables soon. Next time, plotting to file