How to changed the text from a LinearDimension


Hello all,

I have a Guid from a LinearDimension how I can changed Text.

befor I cherated the LinDim I do like this

        LinearDimension dim = new LinearDimension(dim_plane, p_1, p_2, p_3);
        dim.Text = text;
        Guid id;
        id = doc.Objects.AddLinearDimension(dim);

but how I can do this if the Dim is add to doc and I only have the Guid
I can not get the dim form a Guid

Thanks Robert

(Dale Fugier) #2

You should be able to get and set the text of a linear dimension by using LinearDimension.Text. Let me know if you find otherwise.