CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] ARKANCE | CONTACT - CZ | SK | EN | DE
Over 1.096.000 registered users (EN+CZ). AutoCAD tips, Inventor tips, Revit tips. Try the new precise Engineering calculator and the updated Barcode generator. New AutoCAD 2026 commands and variables.

CAD tip CAD tip # 7145:

Question

CAD 
 %  platform  category 
A
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 DL Download


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")

ACAD
100% *CAD
6.1.2010    29245×  
applies to: AutoCAD ·

See also:
Tip 14630:Extended ASCPOINT - import coordinates from CSV file, including blocks with attributes, GPS coordinates, etc.
Tip 14537:Automation of AutoCAD drawing texts using fields.
Tip 14503:Compare the performance of creating arrays/patterns in Inventor.
Tip 14443:Connector, notch, groove, cutout or other curve- breaks - easily with dynamic blocks.
Tip 14386:Visual catalog of blocks defined in a DWG drawing.


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
  



Featuring:
Add .CIT raster format support to AutoCAD and Map and Civil 3D
CITin More info


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