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

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    14381×  
Prices - CAD eShop:
applies to: AutoCAD ·

See also:
Tip 12685:ReLinkField - re-link fields to source objects.
Tip 12616:Att2elev - move block to elevation specified by its attribute.
Tip 12105:Select the smallest DWG object - MinOf utility.
Tip 11914:Maze generator for AutoCAD.
Tip 11625:Measure lengths along a curve - points in given distances.

Back   All CAD Tips All CAD tips&tricks

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   

Export 3D VRML scenes from AutoCAD and Inventor
VRMLout More info

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