Wednesday, June 14, 2017

How to Automatically Update the Sheet List Table

The Sheet List Table that comes with the Sheet Set Manager in AutoCAD needs to be updated manually by default causing troubles like new or changed sheets not showing up correctly or certain properties not being up-to-date.

Sheet List Table

The command DATALINKUPDATE can also be used. Run the command and select the option “Update data link” followed by “all data linKs”. It’s possible to select the table or specify the name of the Sheet Set as well.

Now to how this can be done automatically. Here’s one way using AutoLISP:

(command "._datalinkupdate" "_u" "_k")

If you want to run this automatically when a drawing is opened you can make use of acaddoc.lsp. If you want this to happen during publish make sure background plotting (BACKGROUNDPLOT system variable) is turned off as acaddoc.lsp is not loaded then. This limitation can be worked around but will require customization in .NET and something we can help with. If you want the update to happen automatically before running the plot command on the current drawing then there are ways to do this by using a reactor, something we also can help with.

Hopefully this can help you avoid discrepancies in the Sheet List Table in the future.

A wish for future updates to AutoCAD is that DXEVAL settings would be used to automatically update also the Sheet List Table.

Some of the latest blog posts

Subscribe to RSS headline updates from:
Powered by FeedBurner