Mat Kirkland sent in another small but powerful routine; this one will detect AutoCAD Civil 3D cogo points in a given drawing file. You'll probably want to use this as part of a larger routine. Mat's function requires one argument, and that is a reference to an ActiveX document which at the most basic level can be obtained with the function (vla-get-activedocument (vlax-get-acad-object)). If one or more cogo points are found, this function returns a grouped pair, where the first element is an integer representing the number found, and the second element is a list of the Vla-Objects found. |