Does anyone know why this will work: ;| test string (setq STYNME "LHB_0008") |; (setq updldrstylst (ssget "X" (list (cons 0 "dimension") (cons 3 (strcat STYNME "*")) (cons -4 "<NOT") (cons 3 (strcat STYNME "*_awhd*")) (cons -4 "NOT>") ) ) ) ;| test string (command "select" updldrstylst) |; And This will not: ;| test string (setq STYNME "LHB_0008") |; (setq updldrstylst (ssget "X" (list (cons 0 "leader") (cons 3 (strcat STYNME "*")) (cons -4 "<NOT") (cons 3 (strcat STYNME "*_awhd*")) (cons -4 "NOT>") ) ) ) ;| test string (command "select" updldrstylst) |; Notice that the only difference is that one filters for dimensions while the other looks for leaders... Any help will be appreciated -- Gary J. Orr CADD Administrator (218) 279-2421 LHB, Inc 21 West Superior Street, Suite 500 Duluth, Mn 55802 (218) 727-8446 www.LHBcorp.com
There is a bug with ssget and the stylename. I've mentioned here a couple of times, but was unable to locate the exact threads for reference. I ended up getting a selection set of all dimension/leaders and stepping through the set and filtering for the desired names.
I somehow knew that that would be the response. Thanx a lot Jason -- Gary J. Orr CADD Administrator (218) 279-2421 LHB, Inc 21 West Superior Street, Suite 500 Duluth, Mn 55802 (218) 727-8446 www.LHBcorp.com