Cass Tan Posted September 4 Posted September 4 hi, any gstarcad user here..? having an issue when using totalLayouts lisp program import into Gstarcad (Gstarcad standard version 2025) it seem doesn't work, here are the lisp program ;Sets totalLayouts automatically - then use Field: %<\AcVar.17.0 Lisp.totallayouts>% ;CAD Studio, 2016 (defun _totalLayoutsReactor (a r) (setq totalLayouts (length (layoutlist))) ) (vlr-command-reactor nil '((:vlr-commandWillStart . _totalLayoutsReactor))) i think there might be some changes in the "field" and i was stuck in the gstarcad field, system variables command. any 1 have experience on this? Quote
BIGAL Posted September 4 Posted September 4 Works in Bricscad V24, another way around this is to go through the layouts and update the total sheets in the Layout title block. This is what we used. Try copying the (setq totalLayouts (length (layoutlist))) to the command line you should get a number, then do mtext and choose the lisp variable totallayouts, if this works then the issue is in the reactor. Please advise. Quote
Cass Tan Posted September 5 Author Posted September 5 5 hours ago, BIGAL said: Works in Bricscad V24, another way around this is to go through the layouts and update the total sheets in the Layout title block. This is what we used. Try copying the (setq totalLayouts (length (layoutlist))) to the command line you should get a number, then do mtext and choose the lisp variable totallayouts, if this works then the issue is in the reactor. Please advise. hi BIGAL, thanks for the solution.. btw i m not so expert into command line, is there any code i can change modified the lisp, and just load the lisp file..? Quote
BIGAL Posted September 5 Posted September 5 Just copy this to command line (layoutlist) A list of all your layouts should appear. That is 1st step towards finding out what is wrong. If no display let us know. Second step is paste this to command line (setq totalLayouts (length (layoutlist))) a number should appear 3rd step make Mtext and use the field option, select totallayouts a number again should appear. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.