[Search tip detail and code files using keywords, tip number, author name, etc ]
 
Duplicate Objects with AddSelected
Tip# 3931 By Don Bentz On 09-Jul-2012
4
Rated By 1 users
Categories : 2D Operations
Software type : AutoCAD 2013
Rename File To : No Files to download.
Create new objects with the same basic properties as an object you select.

Don Bentz shares a tip about the AutoCAD command Add Selected.

"One of my favorite new commands that has been added in the past few releases is AddSelected. You can select an object, then right-click (make sure your right-click shortcut menus are turned on) and choose Add Selected from the pull-down list. It can also be accessed through the Draw toolbar or entered at the Command line. A new object is created with the same basic properties as the selected object, plus additional properties depending on the object type — similar to using a tool palette, but quicker."

Notes from Cadalyst Tip Reviewer Brian Benton: AddSelected is similar to the Copy command, but not identical. The command will create the type of object you select; it will also be created on the same layer as the selected object. If you want to create text that is on the same layer and with the same text style as text that is already in your file, use the Add Selected command. You can also copy the text object, then edit the text, but Add Selected is a much smoother process. It even works on attributed blocks.

 

Average Rating:
4


User comments
Comment by Cooper,Kent
Posted on 2012-07-09 09:57:09
For those with versions too old to have AddSelected, try the attached MakeMore.lsp with its MM command, which stands for Make More [of the same as a selected object]. It's something of a work in progress, works (so far) only in verb-noun mode, and is missing commands that are only in later versions than it was written under, but it's pretty powerful. When selecting object types that can be made by various different commands, it offers appropriate command options, and it has intelligence about some things (e.g. it can recognize a LWPolyline made with the Donut command, and offer that command as a default). [I've sent this in to CAD Tips, so it may get a Tip entry of its own, but unless and until that happens, here it is for your consideration.]
Comment by Cooper,Kent
Posted on 2012-07-18 11:35:23
They have now put MakeMore.lsp up, at Tip # 3935, "Make New Objects with Existing Objects' Properties". Any updated versions that come along will show up there, so go there instead of using the one attached to my previous comment.


Log In