乐筑天下

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

[编程交流] How we can use (AND OR) logica

[复制链接]

96

主题

322

帖子

234

银币

后起之秀

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

铜币
474
发表于 2022-7-5 15:12:08 | 显示全部楼层 |阅读模式
Hey Guys
4 basically  question :
1- How we can use (AND OR) logical in autolisp and equvant those in lisp
2-Are there any equivalent command JUMP in lisp.
3-In the following codes hhh vvv ccc selection set was chosen. Are there any function for summing them together.
  1. (setq hhh (ssget))(setq vvv (ssget))(setq ccc (ssget))
4-Are there any parameter for ssget to select totally object and entity in a drawing.
回复

使用道具 举报

106

主题

1万

帖子

101

银币

顶梁支柱

Rank: 50Rank: 50

铜币
1299
发表于 2022-7-5 15:30:41 | 显示全部楼层
1 There is lots of examples of and / or here look at code by Tharwat he uses this method a lot.
2 Jump ? You can call defuns in the middle of code and return to next line etc I know did it for a bubble sort routine needed a left and right option choice.
3 look into ssadd.
4 look at ssget filters there are lots "X" come to mind.
回复

使用道具 举报

63

主题

6297

帖子

6283

银币

后起之秀

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

铜币
358
发表于 2022-7-5 15:33:49 | 显示全部楼层
Thank you BIGAL for your recommendations.
 
@hosyn, more explanations is needed.
回复

使用道具 举报

96

主题

322

帖子

234

银币

后起之秀

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

铜币
474
发表于 2022-7-5 15:47:57 | 显示全部楼层
I really apprecieat your helping me:)
How way became better in vl lisp. I intend learn more about it and the web is only thing i can use it. Any recommend to start proper way efficiently?
回复

使用道具 举报

63

主题

6297

帖子

6283

银币

后起之秀

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

铜币
358
发表于 2022-7-5 15:59:02 | 显示全部楼层
 
Did you get what you wanted working now or still in need of helping hand ?
回复

使用道具 举报

96

主题

322

帖子

234

银币

后起之秀

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

铜币
474
发表于 2022-7-5 16:10:47 | 显示全部楼层
Indeed my major  designing, often need to some vlisp programming
回复

使用道具 举报

28

主题

317

帖子

292

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
140
发表于 2022-7-5 16:13:39 | 显示全部楼层
If you want to learn I suggest you start by looking at http://www.afralisp.net/index.php
Great resource to learn!
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-14 21:04 , Processed in 6.784066 second(s), 67 queries .

© 2020-2025 乐筑天下

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