![]() ![]() ![]() NB - I already checked the option to regen when switching layouts, and forcing update fields raise no results. Does anyone have any clue on how to update this *LayoutCount* variable every time a layout is added/removed from the list? Sad thing is that the field doesn't update until the DWG is reloaded (close and reopen). (lambda (aLayout) (= (strcase aLayout) "MODEL"))) The LISP code is as follows: (setq *LayoutCount* I created an AcadDoc.lsp file and putted in the autodesk folder. The latter one is not found in built-in fields, so the only way to know it is to use the lisp code (length (layoutlist)). The ultimate goal is creating a text like "Table is the total number of layouts. Task: to have a sheet counter to be used in fields that automatically update their values.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |