Dimension - created but not visible

Hello @all,
i have a question about dimensions.I am running a script where i extracted the surfaces or surface references of some elements. sometimes it works with Dimension.By.Faces, but sometimes there is the error below…

then i try to translate those element surfaces by those commands…
image

and the output is that the dimensions were created. but i cannot see them in the revit environment?

has someone a hint for me?
greetings
kevin :slight_smile: