Message 1 of 2
Not applicable
05-23-2013
12:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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;
Solved! Go to Solution.