title: Assign Xdata For AlignedDimension
body: <p>I am using <code>AlignedDimension</code> object of <code>Autodesk.AutoCAD.DatabaseServices</code> to create objects in autocad.
  I want to store some data in <code>XData</code> of Dimension object using <code>TypedValue</code> object.
  But when we assign the <code>resultBuffer</code> to <code>XData</code> it does not assign the value to <code>XData</code>.</p>
  
  <p>This works fine if the object is Entity But <code>xData</code> is not getting assigned for <code>AlignedDimension</code> object.</p>
  
  <p>Can you please help me assign <code>typedValue</code> to <code>Xdata</code> of <code>AlignedDimension</code>?</p>
  
  <p>Below is the code snippet:</p>
  
  <pre><code> List&lt;TypedValue&gt; xdata = new List&lt;TypedValue&gt;();
   xdata.Add(new TypedValue(872, "ACF"));
   DBObject object1= acTrans.GetObject(newDimension.ObjectId, OpenMode.ForWrite) as Dimension;
   ResultBuffer resBuffer = new ResultBuffer(xdata.ToArray());
   object1.XData = resBuffer;  
  </code></pre>