마지막으로 생성,변경 된 객체 선택(Select Objects that Last Added Or Created)
기능(Functionality)
오토캐드에서 객체 선택시에 “p”키워드로 마지막으로 선택된 객체들은 선택할 수 있지만, 도면상 복사(copy), 클립보드복사(ctrl+c/v), 배열복사 등 마지막으로 생겨나거나 수정 된 객체들은 선택할 수 있는 방법이 없음
라이노3D에는, 마지막으로 생성되거나 변경 된 객체들을 선택할 수 있는 lastsel이라는 명령어가 있는데, 이와 유사한 기능을 개발함
이 리습으로는 다음과 같은 기능을 수행할 수 있음
- 명령어, 리습으로 생성, 변경 된 객체들 선택
- 클립보드로 붙여넣은 객체들 선택
- 블럭 변경시 해당 블럭을 사용하는 모든 블럭참조들 선택
In AutoCAD, when selecting objects with the “p” keyword, the last selected objects are selected, but there is no built-in functionality to AutoCAD that select objects recently created or modified in the drawing (copy, ctrl+c/v, array copy, etc.) cannot be selected.
Rhino3D has a command “lastsel” that can select recently created or modified objects. I have developed similar functionality:
With this lisp, the following functions can be performed:
- Select objects created or modified by command or lisp
- Select objects pasted from clipboard
- Select all block references using a block when the block is modified
시연(Demonstration)
- Create - by Command
- Move - by Command
- Copy - by Command
- Array - by Command
- Stratch - by Command
- Paste - by Shortcut(Ctrl C + V)
- Create & Modified - by Lisp