The default project workspace supplied with CADtools MicroStation is
P:\Program Files\Oasys\CADtools_Ustn\Projects\General (Meters).PCF
A Project Workspace can be used to augment or redefine CADtools MicroStation and is activated via a PCF file. This is stored in the folder:
P:\Program Files\Oasys\CADtools_Ustn\Projects
It’s recommended that the PCF file is named after the job number, thus:
077000-00.PCF
115000-00.PCF
Note: Please add a “0” to the front of 5 figure job numbers. This ensures that the jobs are numerically listed correctly.
An example of a project specific PCF file is given in the file:
P:\Program Files\Oasys\CADtools_Ustn\Common\Columbus\Example_PCF.txt
An example of an Australian version PCF file is given in:
P:\Program Files\Oasys\CADtools_Ustn\Projects\Templates\Aus_Example_PCF_V8i.pcf
These have been setup as a model PCF template's that can be used to create a new PCF file for a project. It has been written to address the folder structure defined previously. The example PCF file is described below.
Note:
1)Items in RED are customised
2)Items in BLUE are additional explanatory notes
3)Syntax
Deactivates line #
Replaces value =
Appends >
Prepends <
Nested variables $(configuration variable)
# 123456-00.pcf
# CADtools_USTN
# History
# Date Modified by Comment
# ---------- ----------- --------------------------
# 2004-12-01 WNS New
#
# Instructions:
# 1) Edit the 'MANDATORY SETTINGS' section of this file to configure the project folder and select appropriate
# Microstation version and units for the Text/dimensions DGNlibs
#
# 2) You may optionally enable and configure settings withing the 'OPTIONAL SETTINGS' section of this file
#
# ===============================================================================================================
#
# MANDATORY SETTINGS
#
# ===============================================================================================================
# PROJECT LOCATION
# ---------------------------------------------------------------------------------------------------------------------
# _PROJECT_DRIVE can either be a drive letter or a URL.
# Note: A drive letter is the preferred solution.
# Activate ONLY one of the following lines
# PROJECT_DRIVE = //<server name>/JOBS/ # Drive
_PROJECT_DRIVE = J:/ # Drive
Edit the relevant details below to describe project folders:
_
PROJECT_PATH = 123000/123456-00/ # Path to root of Project
_PROJECT_PATH_DRGS = 4 Internal Project Data/4-03 Drawings/ # Path from Project Root to CAD files
_USTN_PROJECTROOT = $(_PROJECT_DRIVE)$(_PROJECT_PATH) # Full path to Project root
_USTN_PROJECTNAME = 123456-00 # Project Name
_USTN_PROJECTDATA = $(_USTN_PROJECTROOT) # Project ROOT
MS_DEF = $(_USTN_PROJECTROOT)$(_PROJECT_PATH_DRGS) # Root of Project CAD files
Edit the value below to describe which version of Microstation should be used with this project workspace.
# APPLICATION VERSION
# ---------------------------------------------------------------------------------------------------------------------
# Users will recieve a warning message if they use this PCF with a different Microstation version.
# Valid settings are 'V82004' and 'XM' and 'V8I' NOTE: Without the quote marks, Case Sensitive, and all upper case!!
CADTOOLS_PROJECT_USTN_VERSION = V8I
Edit the value below to describe what drawing units will be used within this project workspace.
# DRAWING UNITS
# ---------------------------------------------------------------------------------------------------------------------
# This will define wether the text/dim styles are appropriate for Meters, Millimeters or Millimeters dimensions in Meters based file (bridge group)
# Valid settings are 'M', 'MM' and 'MMforM' NOTE: Without the quote marks, Case Sensitive, one is mixed case!!
CADTOOLS_PROJECT_UNITS = MM
The following section describes where project settings files can be found:
# ===============================================================================================================
#
# OPTIONAL SETTINGS (from here down)
#
# ===============================================================================================================
# PROJECT SETTINGS FOLDERS (I.e. ../Settings/CADtools_USTN/)
# ---------------------------------------------------------------------------------------------------------------------
_PROJECT_SET = $(_USTN_PROJECTROOT)Settings/
_PROJECT_SET_USTN = $(_PROJECT_SET)CADTOOLS_USTN/
_PROJECT_SET_USTN_BORDER = $(_PROJECT_SET_USTN)Borders/
_PROJECT_SET_USTN_CELL = $(_PROJECT_SET_USTN)Cell/
_PROJECT_SET_USTN_DATA = $(_PROJECT_SET_USTN)Data/
_PROJECT_SET_USTN_DGNLIB = $(_PROJECT_SET_USTN)DgnLib/
_PROJECT_SET_USTN_MACROS = $(_PROJECT_SET_USTN)Macros/
_PROJECT_SET_USTN_MATERIALS = $(_PROJECT_SET_USTN)Materials/
_PROJECT_SET_USTN_MDLAPPS = $(_PROJECT_SET_USTN)Mdlapps/
_PROJECT_SET_USTN_PLTCFG = $(_PROJECT_SET_USTN)Pltcfg/
_PROJECT_SET_USTN_SEED = $(_PROJECT_SET_USTN)Seed/
_PROJECT_SET_USTN_SYMB = $(_PROJECT_SET_USTN)Symb/
_PROJECT_SET_USTN_TABLES = $(_PROJECT_SET_USTN)Tables/
_PROJECT_SET_USTN_VBA = $(_PROJECT_SET_USTN)Vba/
# PROJECT MICROSTATION FILES
# ---------------------------------------------------------------------------------------------------------------------
# CELLS
# ---------------------------------------------------------------------------------------------------------------------
MS_CELL > $(_PROJECT_SET_USTN_CELL) # Cell Libraries
MS_CELLOUT = $(_PROJECT_SET_USTN_CELL) # Default dir for new cell library
MS_CELLLIST > $(_PROJECT_SET_USTN_CELL)*.CEL # Cell Library Search Path
MS_CELLSELECTORDIR < $(_PROJECT_SET_USTN_CELL)cell/ # Cell Selector
# DESIGN APPLICATIONS (CADtools Structural)
# ---------------------------------------------------------------------------------------------------------------------
Refer to ‘CADtools Structural’ section of this manual for more details
# LEVELS (Activate if Project DGNlib's are required)
# ---------------------------------------------------------------------------------------------------------------------
# MS_LEVEL_LIB_DIR = $(_PROJECT_SET_USTN_DGNLIB) # Directory for DGNLIB files
# MS_FILTER_LIB_DIR = $(_PROJECT_SET_USTN_DGNLIB) # Directory for Filter files
Previous versions of the Example PCF required CAD managers to activate a particular set of DGNlibraries and linestyle files. This section is now control by the choices made for the CADTOOLS_PROJECT_USTN_VERSION and the CADTOOLS_PROJECT_UNITS, so no further editing is required by CAD managers.
# Text/Dims DGNlib and Line styles (.LIN)
# ---------------------------------------
# The correct DGNlib/LIN file will be activated depending on the mandatory choices at the top
# MicroStation XM version - m
%if ($(CADTOOLS_PROJECT_USTN_VERSION)=="XM")&&($(CADTOOLS_PROJECT_UNITS)=="M")
MS_DGNLIBLIST = $(_CADTOOLS_COMMON)Dgnlib/TextDims/TextDimStyles_M.DgnLib
MS_LINFILELIST = $(_CADTOOLS_COMMON_DATA)DwgData/CADtools_m.lin
# MicroStation XM version - mm
%elif ($(CADTOOLS_PROJECT_USTN_VERSION)=="XM" ) && ($(CADTOOLS_PROJECT_UNITS) == "MM")
MS_DGNLIBLIST = $(_CADTOOLS_COMMON)Dgnlib/TextDims/TextDimStyles_mm.DgnLib
MS_LINFILELIST = $(_CADTOOLS_COMMON_DATA)DwgData/CADtools_mm.lin
# MicroStation XM version - mm text/dims in Meters based files
%elif ($(CADTOOLS_PROJECT_USTN_VERSION)=="XM" ) && ($(CADTOOLS_PROJECT_UNITS) == "MMforM")
MS_DGNLIBLIST = $(_CADTOOLS_COMMON)Dgnlib/TextDims/TextDimStyles_mmForM.DgnLib
MS_LINFILELIST = $(_CADTOOLS_COMMON_DATA)DwgData/CADtools_M.lin
%endif
# MicroStation V8i version - m
%if ($(CADTOOLS_PROJECT_USTN_VERSION)=="V8I" ) && ($(CADTOOLS_PROJECT_UNITS) == "M")
MS_DGNLIBLIST = $(_CADTOOLS_COMMON)Dgnlib/TextDims/TextDimStyles_M.DgnLib
MS_LINFILELIST = $(_CADTOOLS_COMMON_DATA)DwgData/CADtools_m.lin
# MicroStation V8i version - mm
%elif ($(CADTOOLS_PROJECT_USTN_VERSION)=="V8I" ) && ($(CADTOOLS_PROJECT_UNITS) == "MM")
MS_DGNLIBLIST = $(_CADTOOLS_COMMON)Dgnlib/TextDims/TextDimStyles_mm.DgnLib
MS_LINFILELIST = $(_CADTOOLS_COMMON_DATA)DwgData/CADtools_mm.lin
# MicroStation V8i version - mm text/dims in Meters based files
%elif ($(CADTOOLS_PROJECT_USTN_VERSION)=="V8I" ) && ($(CADTOOLS_PROJECT_UNITS) == "MMforM")
MS_DGNLIBLIST = $(_CADTOOLS_COMMON)Dgnlib/TextDims/TextDimStyles_mmForM.DgnLib
MS_LINFILELIST = $(_CADTOOLS_COMMON_DATA)DwgData/CADtools_M.lin
%endif
# Include InRoads MENU
# ---------------------------------------------------------------------------------------------------------------------
%if defined (CIVIL_APPLICATION)
MS_GUIDGNLIBLIST > $( _CADTOOLS_APPS)InRoads_v811/dgnlib/GUI/InRoads_Task_Menus.dgnlib # Civil Menu
MS_DGNLIBLIST > $( _CADTOOLS_APPS)InRoads_v811/dgnlib/ArupLib_civil-SS1_M.dgnlib # Civil Templates
%endif
#
# PROJECT MENU (Activate if Project Menu is required)
# ---------------------------------------------------------------------------------------------------------------------
# MS_GUIDGNLIBLIST > $(_PROJECT_SET_USTN_GUI)CADtools_GUI_Project.DGNlib
# PRINTING (Activate if required)
# ---------------------------------------------------------------------------------------------------------------------
# MS_BATCHPLT_JOBSET_DIR = $(_PROJECT_SET_USTN_PLTCFG) # Dir containing batch print jobs
# MS_BATCHPLT_SPECS = $(_PROJECT_SET_USTN_PLTCFG)batchplt.spc # MSBATCH Specification
# MS_PLTFILES = ? # Plots folder
# MS_PLOTINI < $(_PROJECT_SET_USTN_PLTCFG)pltcfg/File # Plot Config Files
# MS_PLTR = WIN-black.PLT # Default Plotter
# MS_PENTABLE > $(_PROJECT_SET_USTN_PLTCFG) # Pen Tables
# PRIMARY SEARCH PATHS (Activate if required)
# ---------------------------------------------------------------------------------------------------------------------
# MS_MDLAPPS < $(_PROJECT_SET_USTN_MDLAPPS) # MDL Applications - Visable
# MS_MACRO < $(_PROJECT_SET_USTN_MACROS) # Macros
# REFERENCE FILES (Activate if required)
# ------------------------------------------------
#MS_NEST_COLORADJUSTMENT = 1 # Reference color adjustments are applied cumulatively
#MS_REF_COINCIDENTWORLD = 1 # sets the default reference attachment mode to Coincident World
#MS_REF_NEWLEVELDISPLAY = 1 # New levels display on by default (in reference files)
#MS_REF_DEFAULTSETTINGS = saveRelativePath=1,displayRasterRefs=1,locate=0,treatAsElement=0
# MS_REF_DEFAULTSETTINGS controls the default settings for reference attachments.
# It is set to a comma-separated list of key=value pairs, for example: "snap=1,locate=0,trueScale=1,scaleLineStyles=0",
# Recognized keys and values include display=0|1, snap=0|1, locate=0|1, treatAsElement=0|1, attachMethod=coincident|world,
# useLights=0|1, saveRelativePath=0|1, scaleLineStyles=0|1, ignoreWhenNesting=0|1, displayRasterRefs=0|1, displayBoundary=0|1,
# newLevelDisplay=fromconfig|always|never, nestMode=live|copy|none, nestDepth=value, nestOverrides=allow|always|never, plotAs3D=0|1
#
# RENDERING SEARCH PATHS (Activate if required)
# ---------------------------------------------------------------------------------------------------------------------
# MS_MATERIAL < _PROJECT_SET_USTN_MATERIALS
# MS_PATTERN < $(_PROJECT_SET_USTN_MATERIALS)/pattern/
# MS_BUMP < $(_PROJECT_SET_USTN_MATERIALS)/bump/
# SEED FILES (Activate if required)
# ---------------------------------------------------------------------------------------------------------------------
# MS_SEEDFILES = $(_PROJECT_SET_USTN_SEED) # Seed file location
# MS_DESIGNSEED = $(_PROJECT_SET_USTN_SEED)<file name>.dgn # DGN - Default seed file
# MS_CELL_SEEDFILE = $(_PROJECT_SET_USTN_SEED)<file name>.dgn # DGN - Seed for new/upgraded cell libs # DGN - Sheet seed File
# MS_TRANSEED = $(_PROJECT_SET_USTN_SEED)<file name>.dgn # Default translation seed file
# MS_DWGSEED = $(_PROJECT_SET_USTN_SEED)<file name>.dwg # DWG - Seed file
# SYMBOLOGY (Activate if required)
# ---------------------------------------------------------------------------------------------------------------------
# MS_SYMBRSRC > $(_PROJECT_SET_USTN_SYMB)*.rsc # Symbology Resource Files
#
New variables added see the Synchronise Title Block with Excel section
# TITLEBLOCK INTEGRATION
# ---------------------------------------------------------------------------------------------------------------------
# Defining the variables below will activate Titleblock Integration with the specified Excel file and sheet name
# CADTOOLS_PROJECT_DRGTITLES_FILE = $(_USTN_PROJECTROOT)$(_PROJECT_PATH_DRGS)<filename>.xlsx
# CADTOOLS_PROJECT_DRGTITLES_SHEETNAME = Sheet1
# MS_BATCHPRINT_NO_READONLY = 1
#
# CAD FILEs
# ---------------------------------------------------------------------------------------------------------------------
CAD_MODELS = $(_USTN_PROJECTROOT)$(_PROJECT_PATH_DRGS)
CAD_SHEETS = $(CAD_MODELS)0_Issue_Drawings/
Following section is only in the Aus_Example_PCF_V8i.pcf
# Databases to make CADTools use the Australian Section marks etc
# ---------------------------------------------------------------
CADTOOLS_CELLS_DB_LOCATION = $(_CADtools_Common)symb/CADtools/CADtoolsCells_Aus.csv
CADTOOLS_CELLS_DB_TYPE = CSV
# CADTOOLS_SYMB_DB_LOCATION = $(_CADtools_Local)symb/CADtools/CADtoolsSymb.csv
# CADTOOLS_SYMB_DB_TYPE = CSV
# Behaviour of the CADtools tools
# Version 1 corresponds to the v8 2004 behaviour
# Version 2 corresponds to the v8 XM behaviour (Synchronised General Symbols with Acad)
# must be set to 1 if using the CADtoolsCells_Aus.csv
CADTOOLS_TOOLS_SECTMARK_VERSION = 1
CADTOOLS_TOOLS_ELEVMARK_VERSION = 1
CADTOOLS_TOOLS_SECTTITLE_VERSION = 1
CADTOOLS_TOOLS_ELEVTITLE_VERSION = 1
CADTOOLS_TOOLS_DETTITLE_VERSION = 1
CADTOOLS_TOOLS_VIEWTITLE_VERSION = 1
#
# Project Address
# ---------------------------------------------------------------------------------------------------------------
# Project Address no longer read from PCF file. If a project specific address is required it should be
# defined in the 'OfficeDetails' section of ProjectSettings.txt
The following configuration variables are used to:
a)Attach reference files
b)Provide folder navigation in the MicroStation Manager window
The variables match the example folder system supplied and illustrate the relevance between the PCF file of the folder structure used to store CAD files.
# A - ARCHITECTURAL
# ---------------------------------------------------------------------------------------------------------------------
$A = $(CAD_MODELS)A_Architectural/
# C - CIVIL
# ---------------------------------------------------------------------------------------------------------------------
$C = $(CAD_MODELS)C_Civil/
$CA = $($C)CA_Airports/
$CB = $($C)CB_Bridges/
$CD = $($C)CD_Drainage/
$CE = $($C)CE_Earthworks/
$CG = $($C)CG_Geotechnics/
$CH = $($C)CH_Highways/
$CM = $($C)CM_Maritime/
$CR = $($C)CR_Railways/
$CT = $($C)CT_Tunnels/
$CU = $($C)CU_Utilities/
$CW = $($C)CW_Temporary_Works/
$CX = $($C)CX_General/
The remainder of this section has not been reproduced here for clarity
Direct link to this topic:
© 2013 Arup