Function Syntax: GETE AI+https://forums.autodesk.com/t5/civil-3d-forum/lisp-for-cogo-point-elevation/td-p/13197290 Description This AutoLISP routine copies the elevations of selected Civil 3D COGO points directly to the Windows clipboard. The program requires the user to select one or more Civil 3D point objects from the drawing. The main command is GETE. The routine filters the selection to Civil 3D COGO points only by using AECC_COGO_POINT. Each selected point elevation is read, formatted to two decimal places, and copied to the clipboard as plain text with one elevation per line. This tool is useful for quickly extracting Civil 3D point elevation values for Excel, Notepad, QA checks, survey review, reports, emails, and documentation. Main Command โ€ข ๐Ÿ“Œ GETE โ€” starts the Civil 3D COGO point elevation copy workflow. Loading Method โ€ข ๐Ÿงฐ Load LISP File โ€” load the file CogoPointElevation2Clipboard.lsp in Civil 3D using APPLOAD. โ€ข ๐Ÿ“Œ Run Command โ€” run GETE from the Civil 3D command line. User Workflow โ€ข ๐Ÿš€ Start Command โ€” the user runs GETE. โ€ข ๐Ÿ“Œ Select COGO Points โ€” the command line prompts the user to select one or more Civil 3D COGO points. โ€ข ๐Ÿ” Filter Selection โ€” the routine accepts only objects with the type AECC_COGO_POINT. โ€ข ๐Ÿ“ Read Elevation โ€” the program reads the Elevation property from each selected point object. โ€ข ๐Ÿ”ข Format Elevation โ€” each elevation is formatted using rtos with decimal mode and precision set to two decimal places. โ€ข ๐Ÿ“˜ Build Text Output โ€” all elevation values are combined into one plain text string, with each elevation on a separate line. โ€ข ๐Ÿ“‹ Copy to Clipboard โ€” the generated text is copied to the Windows clipboard using the htmlfile COM clipboard method. โ€ข โœ… Confirm Result โ€” the command line reports how many elevation values were copied. Functionalities โ€ข ๐Ÿ“Œ Civil 3D Point Selection โ€” the routine uses ssget with the filter AECC_COGO_POINT, so it only accepts Civil 3D COGO point objects. โ€ข ๐Ÿ“ Elevation Extraction โ€” the routine reads the Elevation property from every selected COGO point. โ€ข ๐Ÿ”ข Two Decimal Formatting โ€” the elevation values are formatted with rtos using decimal format and precision 2. โ€ข ๐Ÿ“˜ One Value Per Line โ€” each selected point elevation is placed on its own line for easy pasting into Excel, Notepad, Word, or reports. โ€ข ๐Ÿ“‹ Clipboard Export โ€” the routine sends the final elevation list directly to the Windows clipboard. โ€ข ๐Ÿ”„ Multi Selection Support โ€” the command supports multiple selected COGO points in one operation. โ€ข ๐Ÿง  Selection Order Handling โ€” the routine collects values in a list and reverses the list before copying, preserving the processed selection order. โ€ข ๐Ÿ”’ Visual LISP COM Support โ€” the routine loads COM support with vl-load-com and uses Visual LISP object functions. โ€ข ๐Ÿงน No Temporary File Output โ€” the routine does not create a CSV, TXT, Excel file, table, or Civil 3D report file. โ€ข โšก Fast Command Line Workflow โ€” there is no DCL dialog, so the workflow is quick and direct. Important Helper Logic โ€ข ๐Ÿ“‹ Clipboard Helper โ€” CopyToClipboard_GETE copies the generated text to the Windows clipboard through a temporary htmlfile COM object. โ€ข ๐Ÿ“˜ Newline Join Helper โ€” join-with-newlines combines all elevation strings into one output text block using newline separators. โ€ข ๐Ÿ”’ COM Initialization โ€” vl-load-com enables the Visual LISP COM functions required for VLA object access and clipboard export. โ€ข ๐Ÿ” Entity to VLA Conversion โ€” vlax-ename->vla-object converts each selected Civil 3D point entity into a VLA object. โ€ข ๐Ÿ“ Elevation Property Access โ€” vlax-get reads the Elevation property from each selected COGO point. โ€ข ๐Ÿ”ข Elevation Formatting โ€” rtos converts the elevation number into text using decimal format and two decimal places. โ€ข โœ… Result Message โ€” the command prints the number of copied elevations after a successful clipboard operation. Important Code Notes โ€ข ๐Ÿ“Œ Command Name โ€” the command name is GETE. โ€ข ๐Ÿ”ด Platform Requirement โ€” the routine is intended for Autodesk Civil 3D because it selects AECC_COGO_POINT objects. โ€ข ๐Ÿ”ด Clipboard Requirement โ€” the clipboard method depends on Windows COM support and the htmlfile object. โ€ข ๐Ÿ”ด Fixed Precision Note โ€” the visible code formats elevations to exactly two decimal places using rtos with precision 2. โ€ข ๐Ÿ”ด No Dialog Note โ€” this routine does not include a DCL interface, field selector, precision selector, or settings dialog. โ€ข ๐Ÿ”ด Export Limitation โ€” the routine copies elevation values only. It does not copy point number, easting, northing, description, style, layer, latitude, longitude, or point group information. โ€ข ๐Ÿ”ด Civil 3D Object Limitation โ€” the routine does not modify ProfileView, SectionView, Alignment, corridor models, labels, bands, styles, point groups, or export tables. โ€ข ๐Ÿ”ด Error Handling Note โ€” the visible code assumes selected AECC_COGO_POINT objects support the Elevation property and does not wrap the elevation read in vl-catch-all-apply. Final Result The final result is a fast Civil 3D elevation extraction workflow. The user selects one or more COGO points, runs the command, and receives a newline-separated elevation list copied directly to the Windows clipboard. This reduces manual point property checking, speeds up survey QA, supports quick elevation reporting, improves Civil 3D review workflows, and makes it easier to paste elevation values into Excel, Notepad, emails, or project documentation.