当前位置:网站首页>CAD fill to polyline script
CAD fill to polyline script
2022-07-19 07:58:00 【International ser】
take cad The fill of is converted to a polyline lisp The script is as follows :
(defun c:zs()
(COMMAND "UNDO" "BEGIN" "")
(SETVAR "CMDECHO" 0)
(SETVAR "PLINEGEN" 1)
(SETVAR "SNAPMODE" 0)
(princ "\nZS: ")
(setq fltr '((-4 . "<OR")
(0 . "hatch")
(8 . "8112")
(-4 . "OR>")
))
(setq ss (ssget "x" fltr))
(if (/= ss nil)
(progn
(setq sslen (sslength ss))
(setq loop 0)
(while (< loop sslen)
(setq ent (ssname ss loop))
(setq ed (entget ent))
(setq pt (assoc 8 ed))
(setq layer (cdr pt))
(command "layer" "m" layer "")
(command "hatchedit" ent "B" "P" "Y")
(setq loop (+ 1 loop))
)
))
(COMMAND "UNDO" "END" "")
)边栏推荐
- How to associate the application on enterprise wechat with the Sybase database of the store
- 【MySQL】 MVCC:正确理解MVCC及其实现原理
- Titanic passenger rescue prediction (Advanced)
- Redis jump table implementation principle & time complexity analysis
- Jira --- workflow call external api
- standard-version(发版与 Changelog 自动化)
- 【MySQL】 锁机制:InnoDB引擎中锁分类以及表锁、行锁、页锁详解
- @How can conditionalonmissingbean cover beans in third-party components
- MongoDB的使用
- flowable 查询、完成、作废、删除 任务
猜你喜欢

Environment variables and folder placement location

MongoDB的下载、安装和使用

Understand LSTM and Gru

4-channel fmc+ baseband signal processing board (4-channel 2G instantaneous bandwidth ad+da)

机器学习之随机森林

Introduction & use of Maxwell

redis主从复制

Practice of online problem feedback module (V): realize the automatic filling function of general field content

理解LSTM和GRU

redis消息订阅
随机推荐
What is the difference between Samsung series NAND flash?
理解LSTM和GRU
Introduction & use of Maxwell
RNN convolutional neural network
修改滚动条样式
Virtual machine stack of [JVM]
the max_iter was reached which means the coef_ did not converge “the coef_ did not converge“
会话技术【黑马入门系列】
KingbaseES 中可以通过构造一个聚集函数来实现mysql的any_value功能。
Spark3.x-practical double flow join (window and redis implementation method and template code)
Spark3.x entry to mastery - stage 7 (spark dynamic resource allocation)
面部关键点检测-CNN
912. Sort array (array sort)
redis事务
Flutter3.0 (framework) - UI rendering
redis分布式锁
How to associate the application on enterprise wechat with the Sybase database of the store
Jd.com's purchase intention forecast (IV)
How does continuous integration manage Jenkins?
Machine learning interview questions (Reprinted)