乐筑天下

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

[编程交流] Copy and rotate, move and rota

[复制链接]

2

主题

9

帖子

7

银币

初来乍到

Rank: 1

铜币
10
发表于 2022-7-5 15:15:04 | 显示全部楼层 |阅读模式
hello when executing the commands the elements are duplicated in the same place, will there be any way that does not happen? and that the command be repeated
Thank you.
 
  1. ((defun c: cr () (princ "\ n Copiar, & Girar: \ n") (setq ss (ssget)) (comando "copiar" ss "" "0" "0") (comando "mover" ss "" pause pause) (comando "rotar" ss "" "@" pause))(defun c: mr () (princ "\ nMover, & Rotate: \ n") (setq ss (ssget)) (comando "Move" ss "" "0" "0") (comando "move" ss "" pause pause) (comando "rotar" ss "" "@" pause))
回复

使用道具 举报

0

主题

946

帖子

978

银币

限制会员

铜币
-3
发表于 2022-7-5 16:02:48 | 显示全部楼层
 
 
This line creates a copy in the same place
  1. (comando "copiar" ss "" "0" "0")
This line does nothing
  1. (comando "Move" ss "" "0" "0")
If you want to copy it should be
  1. (comando "copiar" ss "" pause)
If you want to move it should be
  
  1. (comando "move" ss "" pause)
 
 
Note only one pause is needed, and it will always work on the originally selected entities
回复

使用道具 举报

5

主题

956

帖子

963

银币

初来乍到

Rank: 1

铜币
35
发表于 2022-7-5 16:26:15 | 显示全部楼层
command: MOCORO ?
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-3-14 13:04 , Processed in 0.928811 second(s), 58 queries .

© 2020-2025 乐筑天下

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