Function Syntax: CogoPoints2Structures Version: 1 Date: 04.12.2025 AI Description This program allows the user to automatically create copies of a template Civil 3D Structure and place them at the locations of selected COGO Points, matching each structure’s Rim Elevation to the point’s Elevation. Main Functionalities • The user is prompted to select a template structure (AeccDbStructure). • The routine validates that the selected object truly is an AeccDbStructure. • The user then selects multiple COGO Points (AeccDbCogoPoint) to define where new structures will be placed. • For each COGO Point, the routine performs the following actions: • Creates a copy of the template structure using vla-Copy. • Retrieves the point's Location and Elevation using vlax-get. • Moves the copied structure to the COGO Point using SetLocation. • Sets the structure's RimElevation equal to the COGO Point's Elevation with vlax-put. • When complete, the routine reports the number of structures created. Important Implementation Details • COM is loaded using vl-load-com.CMDECHO is temporarily disabled to keep the command line clean. • A custom error handler restores settings and avoids abnormal termination. • Only AeccDbStructure objects are accepted as templates. • Only AECC_COGO_POINT objects are accepted for placement locations. Workflow Summary • User selects a template structure. • User selects a set of COGO Points. • The routine loops through all selected points. • For each point: • Template is copied. • Copy is moved to point location. • Rim elevation is synchronized with COGO Point elevation. • Confirmation message displays how many structures were created.