Friday, June 01, 2007

C3D 2008 Workaround - Contour labels will not update

In 2008, when you edit a surface that has contour labels applied, the labels do not update automatically. This issue has been submitted to Autodesk and is a known issue. To update the labels, you have to move or grip-edit-move each individual label line. Rebuilding the surface or regenerating the drawing does not help.

I have developed a very simple LISP routine which will move the label lines for you all at once. The routine assumes that Contour Label Lines are being drawn on layer "C-TOPO-TEXT".

Also be aware that by using this routine, anything else on layer "C-TOPO-TEXT" will be MOVED @ X=0.001 , Y=0.001.

You may revise my program to fit your needs.

Download here: UL.lsp - update labels (contours)

2 comments:

Unknown said...

Jeff Mishler wrote:

Hi Dave,
Nice, quick, workaround. I've modified it a bit so that it will only get the contour_label_group objects (so the layer doesn't matter) and added code to move the items back from where they came.

**modified code not posted here ***
Hint, just use Move a second time with negative coordinates for the second point. Use the Entity type for the filter instead of the layer (0 . "AECC_SURFACE_CONTOUR_LABEL_GROUP") And add Undo Begin/End calls so the whole thing will be just 1 undo if needed.

Jeff

Unknown said...

Thanks Jeff. I have made the recommended changes to the code and have uploaded the revised version.