.NET

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

RotatedDimension TextPosition changed after transaction commit

121 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 (112 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.

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community