I have tried to make a dimension with ucs aligned without take a right object..
maybe 'cause i haven't really understood the elevation property.
In docs autodesk talks about dimension with all WCS points and also Dimlinepoint in WCS...
so I thought give at the object 2 points (start - end ) and the third for the dimline. I've aligned the ucs at my line..but the dimension was offset from it..
I appreciated very much the help, and I usally don't look for the code ready , i try instead to understood my mistakes.
And probably i've been used a gondola instead of ski. (maybe 'cause Venice is really close from here.)