Sittingbull 发表于 2022-7-6 09:41:48

 
该描述仅适用于支持图层描述的图形

Lee Mac 发表于 2022-7-6 09:45:56

 
嗨,史蒂夫,
 
您可以在此处硬编码目录[第28行](当前为空字符串):
 

Sittingbull 发表于 2022-7-6 09:50:53

 
我理解!!!现在我知道了这两个“”在原始程序中的作用,它们强制了默认位置。非常感谢。
史蒂夫

Lee Mac 发表于 2022-7-6 09:54:05

 
杰出的
 
如果您感兴趣,可以在VLIDE帮助文档中找到getfield的详细信息。
 

Sittingbull 发表于 2022-7-6 09:56:59

stevesfr 发表于 2022-7-6 09:57:30

 
 
Lee, in the getsyntax.lsp program, how can one define a unique search directory instead of the default which, in my case, is C:\users\something\documents ?
in other words, can it be set or hard coded to whatever the user wishes?which should be the directory where all the lisps are kept ?
thx, Steve

Lee Mac 发表于 2022-7-6 10:02:43

 
The Description will only work with drawings that support Layer Descriptions

Lee Mac 发表于 2022-7-6 10:04:36

 
Hi Steve,
 
You can hard-code a directory here (Currently an empty string):
 

(getfiled "Select LISP File to Query" "C:\\MyFolder\\MyDirectory" "lsp" 16)Lee

stevesfr 发表于 2022-7-6 10:08:24

 
I understand !!!now I know what those two "" were for in the original program, they forced the default location.Thank you ! !
Steve

Lee Mac 发表于 2022-7-6 10:10:16

 
Excellent
 
If you're interested, the details of getfiled are in the VLIDE Help documentation.
 
Lee
页: 1 [2]
查看完整版本: Lisp生成层。线宽0