明经CAD社区

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
楼主: 841594

请问怎样用vlisp创建一个路径?

  [复制链接]
发表于 2004-3-9 19:01:00 | 显示全部楼层
之前的不知道,至少2000以上版本都有这个命令
发表于 2004-3-10 11:15:00 | 显示全部楼层
841594发表于2004-3-9 17:55:00谢谢解答,但我的困难在于: 1。想在对话框状态建立路径,所以不能用“command”函数。 2。希望程序将来能够编译,不依赖于外挂的其他文件。没用过doslib,...

配合DOSLIB

dos_getdir


Displays a Windows "Browse for folder" dialog box. The dos_getdir function is also capable of creating directories.

Syntax

(dos_getdir title [path [message]])

Parameters

title

A string containing the dialog box title.

path

A string identifying an existing directory. If nil is specified, the current directory is used.

message

A string containing an optional message.

Returns

A qualified path to the current directory selected by the user if successful. nil on cancel or on error.

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2004-3-11 11:13:00 | 显示全部楼层
(vl-mkdir "C:\\BDYCAD");建一個名為BDYCAD的文件夾
发表于 2004-3-11 12:50:00 | 显示全部楼层
vl-mkdir 这个函数又是包含在什么文件中?
 楼主| 发表于 2004-3-11 22:25:00 | 显示全部楼层
BDYCAD发表于2004-3-11 11:13:00(vl-mkdir \"C:\\BDYCAD\");建一個名為BDYCAD的文件夾

谢谢bdycad,终于有了理想的答案。请问为什么vlisp的帮助文档没有这个函数呢?是否还有其它的隐藏函数?
发表于 2004-3-12 08:00:00 | 显示全部楼层
這是甚麼!幫助文件呀!


       

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
发表于 2004-3-12 08:43:00 | 显示全部楼层
我的帮助文件中没有,使用时也是提示函数未定义


我的2004版,完全安装。。。
发表于 2004-3-12 12:27:00 | 显示全部楼层
我的幫助文件資料比較多嗎?哈哈!autocad 公司有點偏心!!!
发表于 2004-3-13 10:15:00 | 显示全部楼层
該不會"繁"比"簡"多吧,哈哈
 楼主| 发表于 2004-3-13 15:45:00 | 显示全部楼层
meflying发表于2004-3-12 8:43:00我的帮助文件中没有,使用时也是提示函数未定义 我的2004版,完全安装。。。

我的2004有相关帮助, 如图。2002没有帮助。 函数在2002、2004均能正常使用。:)

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-10-1 21:32 , Processed in 0.179956 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表