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

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    7397x  
Comments   Tell a friend
applies to: AutoCAD ·

See also:
Tip 10383:The shortest path between two points on a network.
Tip 10138:Dimensioning a curve length or distance between two points on a curve.
Tip 9786:3D osnaps to planes in point clouds.
Tip 9743:How to use XY coordinates from Excel as polyline vertices in AutoCAD?
Tip 9711:3DConstruct - converting a 3D mesh to a frame construct

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   

Use Google Earth images in your AutoCAD projects with the Plex.Earth Tools 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.