文章关键字 ‘autolisp dcl基础篇’

预览DCL对话框的AutoLISP程序

2011年05月28日,星期六

[LISP程序]:预览DCL对话框的AutoLISP程序
(defun C:VIEWDCL ()
(if (null dcl_pt)
(setq dcl_pt ‘(-1 -1))
)
(setq dcl_file (getfiled “打开DCL文件” “” “DCL” 2))
(princ “DCL文件名:”)
(princ dcl_file)
(setq dia_name (getstring “nDialog对话框名:”))
(if (= dia_name “”)
(exit)
)
(setq dcl_id (load_dialog dcl_file))
(new_dialog dia_name dcl_id)
(action_tile “accept” “(setq dcl_pt (done_dialog 1))”)
(action_tile “cancel” “(done_dialog 0)”)
(setq dd (start_dialog))
(cond((= dd 1))
(princ “n确定!!!”)
)
((= dd 0))
(princ “n取消!!!”)
)
(prin1)

关于ARX DCL LISP之间的数据问题!

2011年04月4日,星期一

我是个新手,一般都用LISP来控制DCL,这样代码的保密性差。
我想求助一下各位高手,我怎样才能用ARX来控制这个DCL呢,获取和改变DCL各个控件的属性内容,还有,怎样在DCL中增加DWG的图片预览栏呢?

《AutoLISP与DCL基础篇》PDF版

2010年12月4日,星期六

[分享]:《AutoLISP与DCL基础篇》PDF版
《AutoLISP与DCL基础篇》PDF版,大家梦寐以求的!

AUTOLISP@DCL基础教程

2010年12月3日,星期五

[下载]:AUTOLISP@DCL基础教程
PDF格式的[AUTOLISP@DCL基础教程
共31个文件

AutoLISP&DCL基础篇

2010年12月2日,星期四

[分享]:AutoLISP&DCL基础篇
全面介绍了AutoLISP和DCL的基础知识。

AutoCAD程式設計魔法秘笈–AutoLISP+DCL+Visual LISP篇

2010年11月22日,星期一

[求助]:AutoCAD程式設計魔法秘笈–AutoLISP+DCL+Visual LISP篇
这本书哪里有购买?

AutoLisp Vlisp 对话框基础.电子书

2010年11月21日,星期日

AutoLisp lisp 对话框基础.电子书,方便好用。推荐下载

我的DCL和lisp连接不上????

2010年11月9日,星期二

[求助]:我的DCL和lisp连接不上????
各位大虾速来帮忙!!!!
尤其是action—tile就是弄不明白,以管线号这一栏为例,当我输入值时,lisp程序就是传不回来值

代码:
     ( defun c:WL()   (setq weldDialog (load_dialog "d:\weld"))   (new_dialog "weld" weldDialog)   (action_tile "pipeNo" "(setq pipe (get_tile "pipeNo"))")         (start_dialog)   (princ pipe)     ;pipe总是传不会我在对话框输入的值   )  

代码:
     weld:dialog {    label = "焊口标记程序" ;    :boxed_column {        label = "管线参数" ;        :edit_box {            key = "pipeNo" ;            label = "管线号" ;        }        ok_cancel;        :row {            :edit_box {                alignment = left ;                edit_width = 8 ;                key = "pipeOutsideDiameter" ;                label = "管道外径" ;            }            :edit_box {                alignment = right ;                edit_width = 4 ;                fixed_height = true ;                key = "pipeWallThickness" ;                label = "壁厚" ;            }        }        :radio_row {            :edit_box {                alignment = left ;                edit_width = 8 ;                key = "welderNo" ;                label = "焊工号           " ;            }            :edit_box {                alignment = right ;                edit_width = 4 ;                key = "radiographicProportion" ;                label = "探伤比例" ;            }        }    }    :boxed_column {        label = "标记设定" ;        :row {            alignment = left ;            :edit_box {                alignment = left ;                edit_width = 8 ;                key = "beginNo" ;                label = "起始序号" ;            }            :radio_button {                alignment = left ;                key = "marker" ;                label = "标记符号" ;                width = 8 ;            }        }        :row {            alignment = left ;            :popup_list {                edit_width = 7 ;                key = "font" ;                label = "字体            " ;                list = "宋体n仿宋n楷体n魏体" ;            }            :edit_box {                edit_limit = 8 ;                key = "Height" ;                label = "字号" ;            }        }        :row {            alignment = left ;            :edit_box {                edit_width = 8 ;                key = "markerSize" ;                label = "标记大小" ;            }            :radio_button {                key = "proportion" ;                label = "锁定比例" ;            }        }    }    :boxed_column {        label = "修改管线" ;        :popup_list {            key = "completePipeNo" ;        }        :button {            key = "currently" ;            label = "管线数据置当前" ;        }    }}