Function Syntax: GETP AI+https://forums.autodesk.com/t5/civil-3d-forum/lisp-for-cogo-point-elevation/td-p/13197290 Description This AutoLISP routine copies selected Civil 3D COGO point information directly to the Windows clipboard. The program requires the user to select Civil 3D point objects from the drawing, then choose which point properties should be exported. The main command is GETP. The tool opens a DCL dialog named COGO Point Export, where the user can select fields such as point number, easting, northing, elevation, raw description, full description, point style, label style, layer, scale, rotation, latitude, longitude, and project version. The final copied result is plain text that can be pasted into Excel, Notepad, Word, email, reports, QA notes, or other documentation tools. Main Command โ€ข ๐Ÿ“Œ GETP โ€” starts the Civil 3D COGO point information export workflow. Loading Method โ€ข ๐Ÿงฐ Load LISP File โ€” load the file CogoPoinsInfoToClipboard.lsp in Civil 3D using APPLOAD. โ€ข ๐Ÿ“Œ Run Command โ€” run GETP from the Civil 3D command line. User Workflow โ€ข ๐Ÿš€ Start Command โ€” the user runs GETP. โ€ข ๐Ÿ“Œ Select Points โ€” the command line asks the user to select COGO point objects from the drawing. โ€ข ๐ŸชŸ Open Export Dialog โ€” the routine opens the temporary DCL dialog COGO Point Export. โ€ข โœ… Choose Fields โ€” the user chooses one or more export fields using toggle buttons. โ€ข ๐ŸŸข Select All Fields โ€” the user can click Select all to enable every available field. โ€ข ๐Ÿงน Clear Fields โ€” the user can click Select none to clear all selected fields. โ€ข ๐Ÿ“‹ Confirm Export โ€” the user confirms with OK. โ€ข ๐Ÿง  Read Properties โ€” the program reads the selected properties from each selected object. โ€ข ๐Ÿ“˜ Format Text โ€” the program formats the selected values into plain text. โ€ข ๐Ÿ“‹ Copy to Clipboard โ€” the program copies the generated text to the Windows clipboard using the htmlfile COM clipboard method. Functionalities โ€ข ๐Ÿ“Œ COGO Point Selection โ€” the command asks the user to select Civil 3D COGO point objects from the drawing. โ€ข ๐Ÿ“‹ Clipboard Export โ€” the selected point properties are copied directly to the Windows clipboard as plain text. โ€ข โœ… Custom Field Selection โ€” the user chooses exactly which point properties should be copied. โ€ข ๐Ÿ”ข Point Number Export โ€” the routine can copy the Civil 3D point number using Number or PointNumber. โ€ข ๐Ÿ“ Coordinate Export โ€” the routine can copy Easting, Northing, and Elevation values. โ€ข ๐Ÿ“Š Grid Coordinate Export โ€” the routine can copy GridEasting and GridNorthing when these properties are available. โ€ข ๐ŸŒ Geographic Coordinate Export โ€” the routine can copy Longitude and Latitude when available from the Civil 3D point object. โ€ข ๐Ÿ“ Description Export โ€” the routine can copy RawDescription, FullDescription, and DescriptionFormat values. โ€ข ๐ŸŽจ Style Export โ€” the routine can copy point style and point label style names. โ€ข ๐Ÿท๏ธ Layer Export โ€” the routine can copy the point layer property. โ€ข ๐Ÿ“ Scale Export โ€” the routine can copy X and Y scale plus Z scale values. โ€ข ๐Ÿ”„ Rotation Export โ€” the routine can copy point rotation values in degrees. โ€ข ๐Ÿง  Project Version Export โ€” the routine attempts to detect and copy the Civil 3D or AutoCAD project version. โ€ข ๐ŸŸข Select All Button โ€” the DCL dialog can enable all available export fields at once. โ€ข ๐Ÿงน Select None Button โ€” the DCL dialog can disable all export fields at once. โ€ข ๐Ÿ“˜ One Field Output Mode โ€” when only one field is selected, the routine outputs one value per line. โ€ข ๐Ÿงฉ Multi Field Output Mode โ€” when multiple fields are selected, the routine outputs one line per point with values separated by spaces. โ€ข ๐Ÿ”’ Safe Property Access โ€” the routine uses vl-catch-all-apply to reduce errors when a selected object does not support a requested property. โ€ข ๐ŸชŸ Temporary DCL Creation โ€” the dialog is generated dynamically by the LISP code and does not require a separate permanent DCL file. Important Helper Logic โ€ข ๐Ÿ“‹ Clipboard Helper โ€” _CopyToClipboard_Cogo copies the generated text to the Windows clipboard through a temporary htmlfile COM object. โ€ข ๐Ÿ”’ Entity Conversion โ€” _ename->vla safely converts AutoCAD entity names into VLA objects. โ€ข ๐Ÿง  VLA Object Check โ€” _is-vla checks whether a value is a valid VLA object before property access. โ€ข ๐Ÿ” Safe Property Reader โ€” _safe-prop attempts to read one or more possible property names from an object and skips failed property calls. โ€ข ๐ŸŽจ Style Name Reader โ€” _style-name retrieves the point style name using either StyleName or the nested Style.Name object. โ€ข ๐Ÿท๏ธ Label Style Reader โ€” _label-style-name retrieves the point label style name using either LabelStyleName or the nested LabelStyle.Name object. โ€ข ๐Ÿ“ Scale Formatter โ€” _xy-scale-str formats X and Y scale values into one readable text value. โ€ข ๐Ÿ“Š Project Version Reader โ€” _project-version attempts to read the Civil 3D application version and falls back to ACADVER if needed. โ€ข ๐Ÿงฉ Text Join Helper โ€” _join combines selected field values into one line when multiple fields are exported. โ€ข ๐ŸชŸ Temporary Dialog Writer โ€” _write-temp-dcl writes the temporary DCL dialog file used by the command. โ€ข ๐ŸŸข Toggle All Fields โ€” _setAll turns all export field toggles on or off. โ€ข โœ… Dialog Collector โ€” _collect_dlg reads the selected toggle states and builds the list of fields that will be exported. โ€ข ๐Ÿ“Œ Property Mapping โ€” _get-prop-as-string maps each selected field to the corresponding Civil 3D point property and converts the value to text. โ€ข ๐Ÿงฐ Dialog Controller โ€” _show-dialog loads the DCL dialog, handles OK, Cancel, Select all, and Select none actions, then deletes the temporary DCL file. Important Code Notes โ€ข ๐Ÿ“Œ Command Name โ€” the command name is GETP. โ€ข ๐Ÿ”ด Selection Filter Note โ€” the routine is intended for Civil 3D COGO point data, but the current selection call uses ssget without an AECC_COGO_POINT filter. โ€ข ๐Ÿ”ด Non Point Selection Risk โ€” because the selection is not filtered, the user may accidentally select non-point objects. The safe property logic reduces errors, but non-point objects may return blank values. โ€ข ๐Ÿ”ด DCL Precision Note โ€” the DCL code references a tile named prec, but the visible DCL definition does not appear to create a precision input tile. โ€ข ๐Ÿ”ด Clipboard Requirement โ€” the clipboard method depends on Windows COM support and the htmlfile object. โ€ข ๐Ÿ”ด Export Limitation โ€” the routine copies plain text only. It does not create a CSV file, Excel file, table, Civil 3D report, label, band, ProfileView, SectionView, Alignment, or export database. โ€ข ๐Ÿ” Platform Requirement โ€” the routine is intended for Autodesk Civil 3D point objects and Windows clipboard COM support. Final Result The final result is a quick Civil 3D COGO point information extraction workflow. The user can select points, choose the desired fields, and copy formatted point data directly to the clipboard. This reduces manual data lookup, speeds up QA checks, helps with reporting, supports fast transfer to Excel or documentation, and improves Civil 3D point review workflows.