[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Detect Civil 3D Cogo Points
Tip# 4171 By Mathew Kirkland On 29-Jul-2013
0
Rated By 0 users Downloaded : 279
Categories : LISP Code Modules, Programming Examples
Software type : AutoCAD Civil 3D
Rename File To : c3d-get-cogopoints.lsp
Detect AutoCAD Civil 3D cogo points in a drawing file.

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.

 

Average Rating:
0


User comments