Message 1 of 2
Named View from Rectangle .NET
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have been struggling trying to get this to work properly.
I would like to do the following:
Have the user select a polyline, polyline is a rectangle and may be rotated (must be closed and contain only 4 points);
Determine the upper left & right, and the lower left & right (as the corners of the polyline, not the bounding box);
Create a ucs where origin = LowerLeft, xAxis = LowerLeft to LowerRight, yAxis = LowerLeft to UpperLeft
Create a named view aligned to the rotation of the polyline and bound by the dimensions of the polyline.
I am struggling with the center point of the named view and the twist or rotation. Any help is greatly appreciated.