3
14
11
初来乍到
(defun c:blocks () (command "insert" "S:\\9-AutoCAD\\Blocks\\Blocks_for_Tool_Palettes.dwg" "0,0" "0.00001" "0.00001" "0" ) (command "erase" "l" "") (princ) (alert "Click OK then type in the code for the corresponding block you want from the following:B1= [modelspace]_Existing MH not shown on Council GISB2= [modelspace]_Connectivity different to that shown on Council GISB3= [modelspace]_MH in different location to that shown on Council GISB4= [modelspace]_Install New 600mm dia. Access ChamberB5= [modelspace]_Existing manholeB6= [modelspace]_NodeB7= [modelspace]_New access chamberB8= [modelspace]_Existing access chamberB9= [modelspace]_House namesB10= [modelspace]_Road namesB11= [modelspace]_Pipe scriptB12= [modelspace]_Rehab assessment numberB13= [paperspace]_STAMP_TenderB14= [paperspace]_STAMP_PreliminaryB15= [paperspace]_STAMP_Issued for ConstructionB16= [paperspace]_STAMP_As builtB17= [paperspace]_STAMP_Revision StampB18= [paperspace]_ManholeB19= [paperspace]_NodeB20= [paperspace]_Access Chamber" ) (setq usercode (strcase (getstring "\nEnter code: ") nil)) (cond ((= "B1" usercode) (and (setq userinsertionpoint (getpoint "\nSpecify insertion point:")) (command "-insert"