How to set diagram left, top position

May 15, 2016 at 9:10 AM
Dear sir,

I am trying to import a AutoCAD dxf file into Diagram.
Suppose the dxf region is (-10000, -20000), width is 100000, height is 100000
how do I set Display or Diagram to let dxf position center?

Currently the diagram is always from (0,0) to (10000, 10000),
inorder to see the dxf file, I want to position it from (-10000, -2000), not (0,0)

How can I do that? any hints?
Thanks
Ray
May 21, 2016 at 3:38 AM
Hi:
  Did you find the way to achieve your goal, and I want to know how to add points which is float point coordinates?
May 23, 2016 at 3:42 AM
Edited May 25, 2016 at 4:53 PM
Currently I have to do this way: before display in NShape Diagram, I transform my user area (-1000,-1000, 8888,8888) to (0,0,1000,1000), after processing, when save file, I transform those back.

It is not a good way, hope author can reply this.

Ray (chinaray@gmai.com)
Coordinator
May 25, 2016 at 7:57 AM
Just for completeness:
I think transforming the coordinates is the cleanest solution in this case.
NShape can handle negative shape coordinates but the diagram sheet will always be aligned at 0,0 by default.