The following procedure details how to setup and configure CADtools to enable the automation of the display requirements of “Check Print Stamps” being used on drawing sheets. The display is toggled by the value of a TAG (On/Off) which is read on start up from either ProjectWise document attributes or the project Drawings Register (Excel spreadsheet).
Requirements are as follows
•Project pcf or Projectwise Workspace variables
•Check Print Stamp – located in drawing sheet or separate file.
•TAG that controls the Check Print Stamp state ie “On” “Off
•Excel File used for Titleblock Integration
The Project.pcf contains all variables and settings that are specific to a project.
This will be located on the P drive in
P:\Program Files\Oasys\CADtools_USTN\Projects or could be managed through a ProjectWise managed workspace if your project is hosted in ProjectWise.
The Project.pcf or Projectwise project workspace requires the following entries to specify the requirements for the stamp and call the vba to run at start up.
MS_VBAAUTOLOADPROJECTS > CHECKPRINT.mvba
_CADTOOLS_CHECKPRINT_TAGNAME = Check_Print_Stamp #Check Print Stamp Tag variable
_CADTOOLS_CHECKPRINT_LEVEL = GX_ANNO_CHEK #Check Print Stamp layer name
PW_INITAPPS = CADTOOLS_PW #Loads CADtools PW.mdl on start up
CADTOOLS_PW_VBAAUTOLOADPROJECTS = CHECKPRINT.mvba
_CADTOOLS_CHECKPRINT_TAGNAME = Check_Print_Stamp #Check Print Stamp Tag variable
_CADTOOLS_CHECKPRINT_LEVEL = GX_ANNO_CHEK #Check Print Stamp layer name
The recommendation is to place and position the required stamp into the Drawing Border reference file, this will ensure that it will be included on all drawings and can be updated or amended if required. This does however “lock” the stamp to a fixed location.
Alternatively, if flexibility is required to control the position of the stamp for individual drawings, Create a file called Check_Print_Stamp.dwg in the Drawing Border Directory that will get inserted into the Drawing sheet as a cell in the location required.
The stamp design is flexible and can be customized to suit the office or clients requirements.
•Open the Drawing Border reference file.
•Add the Check Print Stamp Graphics on level GX_ANNO_CHEK.
•Add the Tag “Check_Print_Stamp” to the Tagset.
•Create a file called Check_Print_Stamp.dwg in the Drawing Border Directory
•Add the Check Print Stamp Graphics on level GX_ANNO_CHEK.
•Create a new Tagset called “Check_Print_Stamp”
•Add the Tag “Check_Print_Stamp” to the new Tagset.
Note: The stamp Graphics must be placed on the “GX_ANNO_CHEK” level or the level specified by the “_CADTOOLS_CHECKPRINT_LEVEL” variable in the project pcf or Projectwise workspace.
Tag name ‘Check_Print_Stamp’ needs to be added to the Excel file used to control the Titleblock tag values and should be set to either “Off” or “On”
if set to “Off” in the Spreadsheet then when the file is opened the checkPrint Stamp level will be turned off.
if set to “On” in the spreadsheet then when the file is opened the checkPrint Stamp level will be turned On.
For more info on setting up the excel file for Titleblock integration:Synchronize Title Block with Excel
Direct link to this topic:
© 2013 Arup