乐筑天下

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

[编程交流] It’s possible AutoCad selectio

[复制链接]

88

主题

346

帖子

281

银币

后起之秀

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

铜币
423
发表于 2022-7-6 12:22:33 | 显示全部楼层
I do not know how it was in previous versions, but in 2010 does not happen,
ie (setq ss1 (ssget)) works, but the Select Objects: ss1 - no, writes *Invalid selection*
 
 
(Assuming SS1 has been created...)
 
It's not Select Objects: ss1
 
It's Select Objects: !ss1
回复

使用道具 举报

54

主题

3755

帖子

3583

银币

后起之秀

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

铜币
438
发表于 2022-7-6 12:28:39 | 显示全部楼层
I've updated my previous posting. Now if a command is inactive, it will select everything (for pickfirst) and if a command is active, it will store the chosen selection set as SSS (variable) and print to the command line as "!SSS ". The selection set will remain stored as SSS, which can be called at anytime with "!SSS".
回复

使用道具 举报

2

主题

74

帖子

72

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-6 12:31:09 | 显示全部楼层
 
Well, thank ILoveMadoka, I never could understand why I can not use variables in macros.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-6 02:19 , Processed in 0.498084 second(s), 56 queries .

© 2020-2025 乐筑天下

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