An old chestnut of a program, alignit.lsp, was copied from Cadalyst many years ago. Two files, alignit.lsp and alignit.dcl, are attached.
This program allows the user to choose from several reference positions i.e., top, bottom, left, right of source text and aligns selected destination text.
NOTE: A shortened command, ALI, is the only modification that was made to the program.
ISSUE: The program will run for a few iterations and then will fail.
From program start to code error:
Command: ALI
Select the fixed entity
Select entity:
Select the entities to be aligned
ALIGNIT - Error: Automation Error E_FAIL; [IAcadSelectionSets] function [ADD] unspecified error
SYSTEM VARIABLES have been reset
Can someone provide clues on why it is failing?
FYI: I now use BricsCAD.