myDraw.ForceRebuild deletes dimensions

Hi all

I use a macro to, among other things, put dimensions on a drawing.

In my code, there are lines that contain "myDraw.ForceRebuild" which is used to update the drawing following a change in the configuration of one of the views.

When this line runs, some dimensions that were put forward are deleted.

Do you have any idea why? Knowing that all dimensions are added in the same way, i.e. between two planes that are in the subassemblies.

Up!

Up

Hello

Not having had a response to this post I close it.

The only solution I found is to put the desired dimensions after the myDraw.ForceRebuild even if it doesn't allow you to know where the problem comes from.

1 Like