CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products []
Cesky English Deutsch
 Visitors: 5421 

CAD tip CAD tip # 7145:

Question CAD 
 %  platform  category 
Q - question

Replace points with blocks.

A - answer The utility CADstudio P2BLK converts (replaces) selected entities of the type POINT, CIRCLE or SHAPE to blocks (INSERT) of the given name.

The choosen block must be defined in the current DWG drawing. You can specify scale of the inserted blocks. Blocks are inserted to the same layer as the original objects. Possible block attributes are left at default values - later you can number the blocks e.g. using the InsertC/BlockC utility.

The P2BLK command inserts blocks to the reference points (centers) of the original entities.

The DELOBJ controls whether the source objects are deleted or not.

You can download the P2BLK application from

You can preset the block insertion scale with the LISP variable _lastP2BLKscale:
(setq _lastP2BLKscale 2.0)

You can preset the block name with the LISP variable _lastP2BLKname:
(setq _lastP2BLKname "MyBlock")

100% *  CAD 
6.1.2010    10118×  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 11914:Maze generator for AutoCAD.
Tip 11625:Measure lengths along a curve - points in given distances.
Tip 11561:How to create a block with multiple insertion points?
Tip 11511:Assigning elevations to 2D contours (isolines).
Tip 11497:Automatic grouping of drawing objects.

Back   All CAD Tips All CAD tips&tricks

Create AutoCAD complex linetypes on the fly. « | » ; error: bad character read (octal): 0

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   

Link your AutoCAD texts with Excel tables/sheets. Export. Change. Import.
Try DwgText 2015 More info

Please use these tips at your own risk.
CAD Studio (Xanadu) is not responsible for possible problems that may occur as a result of using any of these tips.