DanB 发表于 2021-11-11 09:27:55

偏移层电流

我的偏好是偏移命令默认使用当前层。我能为此设置一个变量吗?我不想失去能够从电流/源转换的功能,只想让电流成为我的goto。
**** Hidden Message *****

CAB 发表于 2021-11-11 13:08:46

您的一些选项.------------- 偏移 -----------------
VVA的高级偏移
偏移选择的对象到两侧并将(可选)新对象的层更改为当前
LeeMac的动态偏移
VLA-偏移使用点选择
RonJonp的交错多重偏移
这是Jürg Menzi偏移的一个很好的例子
偏移方向讨论
数组
沿曲线复制AJ
SpaceAlongCurve LeeMac
http://www.theswamp.org/index.php?topic=50343.msg554674#msg554674
http://bit.ly/1H6qnHT两点之间的偏移折线
http://bit.ly/16HhIyM偏移折线部分
http://bit.ly/1fDRDm9偏移和阴影

CAB 发表于 2021-11-11 13:10:01

这里有一个处理图层的旧版本:
;;=============================================================
;;   OffSet_CMD.lsp by Charles Alan Butler
;;            Copyright 2004-2011
;;   by Precision Drafting & Design All Rights Reserved.
;;   Contact at TheSwamp.org
;;
;;      Version 1.0   July 29,2004
;;      Version 1.1   July 30,2004
;;      Version 1.2   April 10,2008
;;      Version 1.4   June 28, 2011 added pickfirst code
;;      Version 1.5bataOct 5, 2011 command line entry options
;;
;;   This is a replacement of the Offset command
;;   'ofs' offsets to the objects layer
;;   option to place the new object on current layer
;;   osmode is forced on for the distance pick and
;;   turned off for the side pick
;;
;;   Thanks to sinc -richards.64879 for the "Through" coding
;;   I blended that idea with my old offset routine
;;=============================================================
(defun c:ofs () (ofs nil nil)); normal offset
(defun c:ol () (ofs t nil)); OL - offset to current layer
(defun c:oe () (ofs nil t)); OE - offset and erase source

DanB 发表于 2021-11-12 11:11:28

好的,谢谢你的链接。我希望通过变量或其他什么更简单的方法。我不认为这是一个选择。

ronjonp 发表于 2021-11-12 11:55:04

我不知道有哪个变量,但这会为你设置它:(命令“_.offset”“_layer”“_current”nil)
页: [1]
查看完整版本: 偏移层电流