[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 Alignments
Tip# 4170 By Mathew Kirkland On 29-Jul-2013
0
Rated By 0 users Downloaded : 47
Categories : LISP Code Modules, Programming Examples
Software type : AutoCAD Civil 3D
Rename File To : c3d-get-alignments.lsp
Detect AutoCAD Civil 3D alignments in a drawing file.

Mat Kirkland shares an effective little routine that will detect AutoCAD Civil 3D alignments in a given drawing file. You'll probably want to use this as part of a larger routine. This 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 alignments 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


Log In