CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
CZ | EN | DE
Login or
  Visitors: 7206

CAD tip CAD tip # 13878:

Question CAD 
 %  platform  category 
Q - question

SelectSimilar - extended selections for AutoCAD, incl. LT and Web versions

A - answer You can use SelectSimilar to select similar DWG objects even in AutoCAD Web app. The freeware LISP utility SelectSimilar (SelS) extends the standard SELECTSIMILAR command also for AutoCAD Web app and adds some new options.

Download the SelectSimilar .LSP file from Download and load it into your AutoCAD, LT or Web app with the _APPLOAD command. Start it by typing the SELS command.

Select the source object (or objects) and use the Settings option dialog or the command line options/toggles (when CMDDIA=0, or by invoking the commandline version -SELS, or when in AutoCAD Web) to pick the properties to match "similarity". E.g. the object type, layer, color, style (e.g. text style or dim style), name (e.g. blocks), linetype, linetype scale, lineweight, plot style. Unlike the standard SelectSimilar, you can also disable the object-type similarity. You can also use a negative match - i.e. all objects but CIRCLEs, all but the Red ones, etc.

The options are stored and restored from the standard SELECTSIMILARMODE system variable (if available).

The object Names can be used also for modified dynamic blocks (except in the AutoCAD Web app).

The resulting selection set (containing the source and all the similar objects) is grip-selected for further operations. The number of added objects is reported.

You can use the LISP command:

(setq _SelectSimDebug T)

to list the automatically created selection filters and show steps of the selection process.

100% *  CAD 
6.10.2023    61581×  
Prices - CAD eShop:
applies to: AutoCAD · AutoCAD LT · ACADweb ·

See also:
Tip 13975:How to distinguish open tabs in Revit by project?
Tip 13935:How to get machining data from a thread designed in Fusion?
Tip 13887:ClosestPt - the nearest point on another curve
Tip 13858:Is there also a SETBYBLOCK command?
Tip 13800:Visually compare 3D geometry in CAD and BIM files.

Back   All CAD Tips

Have we helped you? If you want to support the CAD Forum web service, consider buying one of our CAD applications, or our custom software development offerings, or donating via PayPal (see above). You may also add a link to your web - like this "fan" link: CAD Forum - tips, utilities, blocks for Autodesk products
CAD:    OS:    Categ: 
Text:  FAQ glossary   

Save your floating licenses (NLS) consumed by inactive users - free unused licenses with
LogOff 2006 More info

Please use these tips at your own risk.
Arkance Systems is not responsible for possible problems that may occur as a result of using any of these tips.