Code Red => AutoLISP (Vanilla / Visual) => Topic started by: xiaocai2 on November 07, 2022, 01:35:01 AM
Title: Problem of modify the dxf code 301 of FIELD
Post by: xiaocai2 on November 07, 2022, 01:35:01 AM
I wrote a routine to modify the "AcSm Sheet.Title" of the FIELD by replace the string of dxf code 301, It always append but not replace with the string to be modified, Anyone can help me? many thanks!
Title: Re: Problem of modify the dxf code 301 of FIELD
Post by: d2010 on November 14, 2022, 06:42:17 AM
Why your test.dwg contain only one entity? Can you insert many entities with (dxf2 "AcSm Sheet.Title"), into insert test.dwg? You have one routine, named commander. This routine as defun,must send multiple commands with one char. (D.Display all ) (A.append with LISpR14) (B.append with Visual-Lisp) (R.Replace) (E.Erase)
(pp_acsmsheet "D") (pp_acsmsheet "R") (pp_acsmsheet "S") My Acad is broken.today I cannot continue Test.