乐筑天下

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

[综合讨论] Draw Order?

[复制链接]

2

主题

2

帖子

0

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-8 11:42:53 | 显示全部楼层 |阅读模式
Is there an easy way to manipulate the draw order of all objects in a layer with out selected every object and then sending them to the front or back or is this the only way to display the draw order and keep it that way?
回复

使用道具 举报

0

主题

5

帖子

5

银币

初来乍到

Rank: 1

铜币
0
发表于 2022-7-8 12:13:06 | 显示全部楼层
tested just enough to make sure it works:
  1. (defun c:DO (/ #Choice #Entsel #Entget #Layer #ssget) (setvar "cmdecho" 0) (setvar "errno" 0) (initget 0 "Back Front") (setq #Choice (getkword "\nDraworder Option [back/Front] : ")) (progn   (if    (not #Choice)     (setq #Choice "Back")   ) ;_ if   (while     (and   (not     (eq (getvar "errno")         52     ) ;_ eq   ) ;_ not   (not #Entsel)     ) ;_ and      (setq    #Entsel (entsel (strcat "\nSelect object on layer to move to "                #Choice                ": "            ) ;_ strcat        ) ;_ entsel      ) ;_ setq      (if #Entsel    (progn      (setq #Layer (cdr (assoc 8 (entget (car #Entsel)))))      (setq #ssget    (ssget "_x"                  (list (cons 410 (getvar "ctab"))                    (cons 8 #Layer)                  ) ;_ list           ) ;_ ssget      ) ;_ setq      (vl-cmdf "_.draworder" #ssget "" #Choice)      (prompt (strcat "\nAll "              (rtos (sslength #ssget) 2 0)              " object(s) on layer ""              #Layer              "" have been moved to "              #Choice          ) ;_ strcat      ) ;_ prompt    ) ;_ progn      ) ;_ if   ) ;_ while ) ;_ progn (princ))
回复

使用道具 举报

114

主题

1万

帖子

1万

银币

中流砥柱

Rank: 25

铜币
543
发表于 2022-7-8 13:02:52 | 显示全部楼层
Map 3D doesn't have the acad command QSELECT?
 
The reason I ask is because I know that's one command that is very undervalued as well as underused in plain Autocad.
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-4 11:46 , Processed in 0.923194 second(s), 58 queries .

© 2020-2025 乐筑天下

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