Make Auto CAD work for by using custom programming to automate many repetitive tasks.
This site is primarily aimed towards utilising the Auto LISP & Visual LISP APIs to create custom programs which may be run within full versions of Auto CAD (not LT versions) and many of its derivative programs.
The updated code also removes the restriction present in the previous version which prevented layers whose layer name started or ended with the same character as the prefix or suffix from being selected for processing.
I have updated my Selection Set Bounding Box function page to include an alternative version of the function which avoids the limitation on the number of objects which may be processed as a result of the maximum number of arguments accepted by the Auto LISP functions.
I have also included a brand new test program, and a GIF animation to demonstrate how the function may be used.
Auto LISP is restricted to running on full versions of Auto CAD and cannot be run in any version of Auto CAD LT.
Other applications such as Bricscad and Intelli CAD also offer the ability to run Auto LISP programs.
if the top item is selected, the 'Top' button will be automatically disabled).
The test program now also accounts for a deselection of all items in the list (disabling all ordering controls), a situation that would cause the previous version to crash.After receiving a couple of suggestions from an avid user of my Viewport Outline program, I have now updated the program to .This new version offers the ability to offset the viewport outline by a predetermined number of paperspace units inside the viewport boundary, and also allows the user to automatically apply a set of predefined properties to the resulting modelspace polyline.Visual LISP is an extension of Auto LISP introduced as an add-on to Auto CAD R14, and subsequently fully incorporated into the release of Auto CAD 2000.Visual LISP provides access to the Active X/COM and offers many advanced functions to aid with customisation. Be sure to see my tutorial on Running an Auto LISP Program. This revised version refines the calculation of the block definition bounding box to ignore block components residing on frozen layers and account for the possibility of null bounding boxes (as a result of all components being excluded from the calculation).In the case of selecting multiple objects, the field expression references the sum of the lengths of all objects in the selection.