Function Syntax: BLock2Civilpoint Version: 1.1 Date: 28.04.2026 8:34:11AM http://www.cad-huebner.de/download/UHBLock2Civilpoint.LSP http://www.cad-huebner.de/download/UHBLock2Civilpoint.LSP Description This AutoCAD Civil 3D AutoLISP program converts selected block references into Civil 3D COGO points. The user runs the command BLock2Civilpoint and uses a DCL dialog to select block references from the drawing. The tool reads each selected INSERT entity and creates a Civil 3D point at the block insertion point. The program is designed for Civil 3D users who need to convert existing block symbols into editable Civil 3D point objects. Main CommandBLock2Civilpoint starts the block-to-Civil-point conversion workflow. User Workflow • The user loads the file Block2CogoPoints.LSP in Civil 3D. • The user runs BLock2Civilpoint from the command line. • The program opens a dialog named Block to Civil Points. • The user clicks Pick block references... and selects block references in the drawing. • The dialog shows the number of selected blocks, the minimum Z value, and the maximum Z value from the selected block insertion points. • The user chooses whether to keep or delete the original blocks using Delete initial blocks. • After pressing OK, the program connects to the Civil 3D application object and creates COGO points. Functionalities📌 Block selection — the program requires the user to select AutoCAD block references, filtered as INSERT objects.📍 Civil point creation — each selected block is converted into a Civil 3D point at the block insertion location.📝 Attribute reading — the program reads block attributes and prefers the attribute tag NR.🏷️ Point description transfer — the value from the NR attribute is used as the Civil 3D point description when available.🔄 Fallback attribute logic — if the NR attribute does not exist, the first available block attribute value is used instead.📊 Z range preview — the dialog displays Z min and Z max values from selected block insertion points before conversion.🧹 Optional cleanup — the user can delete the original block references after the Civil 3D points are created.🔒 Civil 3D connection check — the program attempts to connect to the correct Civil 3D COM interface before processing the blocks.🧠 Version detection — the code contains logic for older Civil 3D versions and also attempts to detect newer installed Civil 3D versions through the registry.🪟 Temporary DCL interface — the dialog is generated dynamically from the LISP code and does not require a separate permanent DCL file. Important Code NotesThis routine requires Civil 3D, not plain AutoCAD only.The command creates Civil 3D points, but the visible code sets the point description only. It does not explicitly set the Civil 3D point number or point name.The original block references are deleted by default unless the user disables Delete initial blocks.The selected objects must be block references. Lines, polylines, text, circles, and other object types are not selected by this routine. Final Result The result is a faster Civil 3D workflow for converting existing AutoCAD block symbols into Civil 3D COGO points. This helps users automate point creation, reduce manual coordinate entry, reuse block insertion elevations, transfer attribute information into point descriptions, and clean up the drawing by optionally removing the original blocks.