乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 106|回复: 19

[综合讨论] What's the macro command

[复制链接]

96

主题

322

帖子

234

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
474
发表于 2022-7-6 23:57:26 | 显示全部楼层 |阅读模式
How can appload a lisp from macro i do the following but it open dialog , what's wrong  ??
^C^C^_appload ;Ffjdshj.LSP;
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-7 00:01:42 | 显示全部楼层
See post #3 of this thread...
 
http://www.cadtutor.net/forum/showthread.php?19522-Routine-to-APPLOAD-lisp-file..
回复

使用道具 举报

35

主题

2471

帖子

2447

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
174
发表于 2022-7-7 00:06:57 | 显示全部楼层
Not sure if APPLOAD works in command line mode; try this instead:
  1. ^C^C^(load "Ffjdshj.LSP")
回复

使用道具 举报

1

主题

475

帖子

481

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-7 00:08:35 | 显示全部楼层
hosyn,
if your lisp file is not in a "Support File Search Path", you must provide the full path, and for instance, your command name would be "test", you could test if was loaded, if not, load it and run the code...
 
  1. ^C^C(if (not c:test) (load "C:/mylisp/Ffjdshj"));test
 
Henrique
回复

使用道具 举报

96

主题

322

帖子

234

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
474
发表于 2022-7-7 00:11:46 | 显示全部楼层
I checked them and unfortunately don't act well:(
How can appload a lisp from macro i do the following but it open dialog , what's wrong  ??
^C^C^_appload ;c:\my doc\Ffjdshj.LSP;
回复

使用道具 举报

1

主题

475

帖子

481

银币

初来乍到

Rank: 1

铜币
5
发表于 2022-7-7 00:16:01 | 显示全部楼层
Just for load Ffjdshj.lsp
 
  1. ^C^C(load "C:/my doc/Ffjdshj")
or
  1. ^C^C(load "C:\\my doc\\Ffjdshj")
 
Henrique
回复

使用道具 举报

96

主题

322

帖子

234

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
474
发表于 2022-7-7 00:18:55 | 显示全部楼层
What's the macro command for loading lisp file from customize bottom toolbar that when i click that bottom load lisp file.
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-7 00:22:41 | 显示全部楼层
You basically got the answer in your other thread.
 
See post #9 of this thread for a recap.
 
http://www.cadtutor.net/forum/showthread.php?48430-Open-file-and-run-lisp-macro
回复

使用道具 举报

4

主题

2143

帖子

2197

银币

限制会员

铜币
-24
发表于 2022-7-7 00:24:43 | 显示全部楼层
It is getting tiring to continually have to move and merge your threads and remind you to use Code Tags.
 
Please review the forum posting and code posting guidelines.
回复

使用道具 举报

10

主题

8258

帖子

8335

银币

初来乍到

Rank: 1

铜币
31
发表于 2022-7-7 00:27:11 | 显示全部楼层
Time to break out the "persuader"?
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-3-10 05:13 , Processed in 0.472192 second(s), 72 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表