Modifying Views
Methods Introduced:
The method wfcView2D.WView2D.SetViewAsProjection assigns the specified drawing view as a projection.
The method wfcView2D.WView2D.SetProjectionArrow sets the projection arrow flag to true for a projected or detailed drawing view.
The method wfcView2D.WView2D.SetZClippingReference sets the Z-clipping on the drawing view to reference a given edge, datum, or point on the surface that is parallel to the view. Geometry contained in the Z-clipping plane and in front of the plane appears, but geometry behind the plane does not appear. The system clips geometry that intersects the plane.
The method wfcView2D.WView2D.Erase removes the specified drawing view from display. To display the view back in the drawing, use the method wfcView2D.WView2D.Resume.
The method wfcView2D.WView2D.SetOrigin assigns the location of the origin as a pfcBase.Point3D object and the selection reference for a specified drawing view as a pfcSelect.Selection object. Both the input arguments OriginLocation and Reference are optional. However, to set the origin successfully, you must pass a valid value to either of the input arguments. If you pass both the input arguments as Null, the method throws an exception pfcExceptions.XToolkitBadInputs.
The method wfcView2D.WView2D.SetPipingDisplay assigns the piping display option for a drawing view using the enumerated data type wfcView2D.PipingDisplay.
Was this helpful?