Adding Dimension in Deatils View

I am selecting the view and trying to add a dimension in the detail view, but the dimension is being added to the original view from which I am creating the detail view.

To add the dimension with C#:

  • I activate the view using ActivateView(view.Name).
  • I select the edges:
    • Select maxEdgY[0] (false).
    • Select minEdgY[0] (true).
  • Then I add the dimension with AddDimension2(0.252199307803938, 0.068872241203194, 0).

    In below image I am trying to add 130 dimension in detail view but it was added in original view