CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]
CZ | EN | DE
Login or
registration
  Visitors: 2501

CAD tip CAD tip # 13221:

   
Question CAD 
 %  platform  category 
Q - question

Attractor - snap multiple objects to existing points/vertices.

A - answer The new freeware LISP utility Attractor can snap objects to existing points or vertices. You can use it to clean inaccurate DWG drawings where lines, polylines, points, circles, arcs, blocks, texts, etc. are not drawn at exact positions (coordinates).

You can choose to "round" the geometric features (coordinates) to a fixed grid (e.g. 0.5 units) if they are within a specified tolerance (e.g. 0.01 units) around this grid, or you can snap to existing points within the specified tolerance.

Download the Attractor utility from Download, load it into your AutoCAD or AutoCAD LT with APPLOAD a type the ATTRACTOR command. Select the grid rounding value or select existing "attractor" objects (resp. their points) to fix to (POINT, LINE, INSERT, LWPOLYLINE, POLYLINE, CIRCLE). You can also select previous attractors or all objects in a picked layer. Specify the tolerance (i.e. maximum distance where the points still will be snapped, attractor radius) and select the objects to be modified ("rounded", attracted) - of the type: POINT, LINE, INSERT, LWPOLYLINE, POLYLINE, ARC, CIRCLE, ELLIPSE, TEXT, MTEXT.

See an example where the symbols are being attracted to orange points in a circular array and to the vertices of the orange polyline. And on the other hand the cyan polyline is being snapped to the symbols.

Another example - using Attractor to snap objects to vertices of a curve object or to "round" the position of blocks, line endpoints or points to a 50x50 drawing grid.

See also the sample DWG drawing Attract1.

ACADADTPlantACADMCivilMapACLT
100% *  CAD 
13.2.2022    45928×  

See also:
Tip 13938:ModDXF - utility for bulk modification/display of internal DXF properties in DWG entities.
Tip 11428:Differences in typed distance/offset values in Inventor sketches.
Tip 6065:Rounding of AutoCAD entities to a fixed grid.


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   



Featuring:
Extend your AutoCAD LT productivity with our popular add-on
CADstudio LT Extension 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.
TOPlist