.NET

.NET

Reply
New Member
uaandrei
Posts: 2
Registered: ‎05-22-2013
Message 1 of 2 (134 Views)
Accepted Solution

RotatedDimension TextPosition changed after transaction commit

134 Views, 1 Replies
05-23-2013 12:00 AM

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;

 

New Member
uaandrei
Posts: 2
Registered: ‎05-22-2013
Message 2 of 2 (125 Views)

Re: RotatedDimension TextPosition changed after transaction commit

05-23-2013 03:12 AM in reply to: uaandrei

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

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.