Sie sind auf Seite 1von 5

Lisp

Copy files
Provides a dialog box from which a user can choose which file to be copied from
the standards directory to the job folder. This routine also renames the file that is
job folder.
Routines Included:
Copy11x17Ltitleblock
Copy24x36Border
Copy24x36BorderCovers
Copy24x36Coversheets
Copy30x42Border
Copy30x42BorderCovers
Copy30x42Coversheets
Copy8x11Ltitleblock
Copy8x11Ptitleblock
Copy8x14titleblock

Copyfiles w/ xref
Provides a dialog box from which a user can choose which file to be copied from
the standards directory to the job folder. The new files under the job folder are
also renamed to reflect the job number. The dialog box also provides an option
to xref the border into the current drawing. If the xref function is performed, the
DwgInfo block from the Cad standards is also inserted.
Routines Included:
Copy11x17Ltitleblock
Copy24x36Border
Copy24x36BorderCovers
Copy24x36Coversheets
Copy30x42Border
Copy30x42BorderCovers
Copy30x42Coversheets
Copy8x11Ltitleblock
Copy8x11Ptitleblock
Copy8x14titleblock
Copy11x17LtitleblockX
Copy24x36BorderX
Copy24x36BorderCoversX
Copy24x36CoversheetsX
Copy30x42BorderX
Copy30x42BorderCoversX
Copy30x42CoversheetsX
Copy8x11LtitleblockX
Copy8x11PtitleblockX
Copy8x14titleblockX
DwgInfoAtts

I
LscFont2Arial
This routine was created to ease the transition from the architxt fonts to the new
standard, which is Arial font. This routine access all text styles in a drawing
except specific styles that the company is using for non-text purposes, ( ex.
windings text style is only referenced in a line type), and changes the font to be
Arial or Arial Bold.
Routines Included:
Font2Arial

RenameLayout
This routine accesses the DwgInfo block and renames the Layout Tab to match
the SHTNO attribute. Also, the User is allowed to change the Drawing name that
is displayed in the title block. Also the user is provided a space to add
description that will be shown on the layout tab. *Used with the CpyLyt.scr file,
or a macro, a user can copy there current layout & be prompted for the changes
to the sheet number or title.
Routines Included:
UserForm
RenameCurrLayoutBySHTNO

UpdateSHTnoandSHTtitle
If the DWGINFO block is in the paper space layout, this routine will prompt the
user for a new sheet number, drawing title line 1, drawing title line 2, & drawing
title line 3, separately. It will then update the Layout name based on the sheet
number provided.
Routines Included:
GetAttrRef
GetAttrRef1
GetAttrRef2
GetAttrRef3
GetBlkRef
UpdateTtlblkAttr

Wingding
Wingding was created to reset the “wetlands” text style to use the wingding font
file.
Routines Included:
Wingding

II
XrefBorder
Xref border searches the current drawings Job directory for a title block
If a title block exists, it is xref’d into the current layout tab. If more than
one title block exist in the job folder, they will be shown on a drop down
list that the user to pick from.

Routines Included:
attachXrefBorder
dirmessage (diagnostic use)

CpyLyt.scr
This script file can be dropped in the acad drawing space and it will copy the
current layout, name it Temp1, make it current, then stars the
RenameLayout.dvb file. This file is only used for 2005 products. the
LSC.cui file contains a toolbar button with this macro that 2007 products are
able to use.

SetupRoutines
LSCmenu
This routine will insert the LSC Menu in front of the Help menu

Routines Included:
InsertLSCMenu
List Menu Groups
Menu Template (commented out)

Arch2007setup
This routine will set the Option paths and User preferences for ADT2007 and
ACAD2008. When “yes” is chosen at the prompt to set up tool
palettes, Autocad will close and the CopyPrefFiles.xls file will open.

Routines Included:
OpFilePrefs
Excel
QuitAcad
ADT2007Setup
ADT2007StructSetup
ACAD2007Setup
ACAD2007StructSetup
ADT2008Setup
ADT2008StructSetup
ACAD2008Setup
ACAD2008StructSetup
GetExcel
DetectExcel

III
Site2007setup
This routine will set the Option paths and User preferences for LDT2007,MAP
enabled LDT2007, Civil 3D 2007, and ACAD2007 users in the Site Dept.
Then, if “yes” is chosen at the prompt to set up tool palettes, AutoCAD will
close and the CopyPrefFiles.xls file will open.

Routines Included:
OpFilePrefs
Excel
QuitAcad
LDT2007Setup
MAP2007Setup
Civil3D2007Setup
InsertLSCMenu
ListMenuGroups
menutemplate
GetExcel
DetectExcel

CopyPrefFiles.xls & CopyPrefFiles2008.xls


This routine is accessed though Microsoft Excel. Clicking in any cell in the
workbook will cause a box to be displayed asking which software should be
setup. The macro that runs, will copy a profile.aws file which is stored on the
server, to the proper directory on the users hard drive. The users old .aws file
is renamed to Profile.aws.backup. If a user requires the use of the Symbol
manager then there sdsk.dfm file is deleted and a new file from the server is
placed in its spot.
Routines Included:
CommandButton1_Click() 'copies files for ADT
CommandButton2_Click() 'copies files for LDT
CommandButton5_Click() 'copies files for MAP

Barscale
Insert the barscale.dwg on the C-DETL-GRPH layer in paperspace. If paperspace
is not active, then the last active layout tab is made current. Users are then
prompted for the Scale.

acad menus
Insert menus from the ACAD group. Modify, Dimension, Express, Draw & Tools

IV
ChangeLayout
Allows for fast switching between layouts.

PStyleToggle
Changes the users plotstyle directory to the folder of the active drawing, on
second click, it changes the users plotstyle directory back to the standard network
location.

HatchPath
Adds the Hatch pattern location to the support paths in ADT2007

Das könnte Ihnen auch gefallen