如果在同一个函数中旋转和缩放,为什么不使用Align?
或
- align
- (align arg1 arg2 ...)
- Arguments
- arg1 arg2... Arguments to the AutoCAD align command. The order,
- number, and type of arguments for the align function are
- the same as if you were entering ALIGN at the command
- line.
- To indicate a null response (a user pressing ENTER ), specify
- nil or an empty string ("").
- Return Values
- T if successful, otherwise nil.
- Examples
- The following example specifies two pairs of source and destination points,
- which perform a 2D move:
- (setq ss (ssget))
- (align ss s1 d1 s2 d2 "" "2d")
|