RotatedDimension TextPosition changed after transaction commit

RotatedDimension TextPosition changed after transaction commit

Anonymous
Not applicable
805 Views
1 Reply
Message 1 of 2

RotatedDimension TextPosition changed after transaction commit

Anonymous
Not applicable

I'm having a problem with RotatedDimension. I'm initializing it with some values and after I commit the transaction the value of TextPosition is changed. Any ideas why this is happening?

 

 

            using (var transaction = parentDoc.GetNewTransaction())
            {
		var rotatedDimension = new RotatedDimension();
		// ...
                rotatedDimension.TextPosition = textPosition.ToArxPoint3d();
                parentBtr.AppendEntity(rotatedDimension);
                transaction.AddNewlyCreatedDBObject(rotatedDimension, true);
                transaction.Commit();
            }
            return rotatedDimension;

 

0 Likes
Accepted solutions (1)
806 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

In case you encountered something like this, the problem got solved by setting the DimLinePoint property instead of TextPosition.

0 Likes