乐筑天下

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

[编程交流] What's up with BUB?

[复制链接]

3

主题

7

帖子

4

银币

初来乍到

Rank: 1

铜币
15
发表于 2022-7-6 08:38:32 | 显示全部楼层 |阅读模式
I use the BUB command alot in Iso drawings. I is a hand little command that makes a line from the center of your bubble to the spot you want it then trims it off at the circle.
 
My problem is it sets my osmode to 0 and leaves it there at the end of the command.
I can't figure out what lisp routine this command is attached to, so I can add a set-var at the end of the routine to refresh my osmode. . . . . . .
Also I'm not sure of what text to add to accomplish this.
 
Any ideas or advice?
回复

使用道具 举报

8

主题

1647

帖子

1647

银币

初来乍到

Rank: 1

铜币
36
发表于 2022-7-6 09:02:28 | 显示全部楼层
 
The "BUB" command IS a lisp routine. It's not a standard Autocad command. Just do a search for BUB.lsp on your computer.
回复

使用道具 举报

3

主题

7

帖子

4

银币

初来乍到

Rank: 1

铜币
15
发表于 2022-7-6 09:10:17 | 显示全部楼层
You would think, Right? I did too, but no. It came to not. The search came up with bub1.lsp and bub1new.lsp but neither of thes seem to be it. (I temporarly sabotaged them and BUB still worked.) So it is under some other name. I hate when peeps do that.
回复

使用道具 举报

8

主题

1647

帖子

1647

银币

初来乍到

Rank: 1

铜币
36
发表于 2022-7-6 09:35:13 | 显示全部楼层
Type APPLOAD and take a look at the list of loaded applications. Maybe you can find it that way? Otherwise, I don't know how you will find it?
回复

使用道具 举报

18

主题

434

帖子

422

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
94
发表于 2022-7-6 09:47:49 | 显示全部楼层
As an ultimate (and dirty) solution, you can make a button to:
1. Save the OSMODE sysvar
2. Call the BUB routine
3. Restore OSMODE
 
Unfortunately a lisp file can hold more routines. Once the file is loaded all the routines are available. And even worse: a file holding one or more lisp routines can have any name, no mater how the lisp functions are named.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-7 08:48 , Processed in 0.332601 second(s), 62 queries .

© 2020-2025 乐筑天下

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