Detailed Views
Functions Introduced:
A detailed view is a small portion of a model shown enlarged in another view.
The function
ProDrawingViewDetailCreate() creates a detailed view given the reference point on the parent view, the spline curve data, and location of the new view. A note with the detailed view name and the spline curve border are included in the parent view for the created detailed view.
The functions
ProDrawingViewDetailReferenceGet() and
ProDrawingViewDetailReferenceSet() return and assign, respectively, the reference point on the parent view for a specified detailed view.
The functions
ProDrawingViewDetailCurvedataGet()and
ProDrawingViewDetailCurvedataSet() retrieve and assign, respectively, the spline curve data in terms of the
ProCurvedata handle for a specified detailed view. The output argument,
curve_data specifies the following:
• The X, Y, and Z coordinate directions match the world space.
• The coordinate point (0,0,0) maps to the reference point.
• The scaling unit is of one inch relative to the top model of the view. If two points in the spline are at a distance of '1' from each other, then in the actual view, the points will be one inch distant from each other, if measured in the scale of the top model. For example, if one of the points in the spline definition has coordinates (0.5, 0.0, 0.0), then the position of that point is not half an inch to the right of the reference point on the paper. Instead, when projected as a point in the space of the top model of the view, it is half an inch to the right of the reference point when measured in the space of that model.
Use the function
ProCurvedataAlloc() to allocate memory for the curve data structure.
The function
ProDrawingViewDetailBoundaryGet() retrieves the type of spline curve used to define the boundary of the detailed view and also identifies whether the boundary is displayed on the parent view.
The function
ProDrawingViewDetailBoundarySet() assigns the boundary type for a detailed view in terms of the enumerated type
ProViewDetailBoundaryType. The types of boundaries are:
• PRO_DETAIL_BOUNDARY_CIRCLE—Draws a circle in the parent view.
• PRO_DETAIL_BOUNDARY_ELLIPSE—Draws an ellipse in the parent view.
• PRO_DETAIL_BOUNDARY_HORZ_VER_ELLIPSE—Draws an ellipse with a horizontal or vertical major axis.
• PRO_DETAIL_BOUNDARY_SPLINE—Displays the spline boundary drawn by the user in the parent view.
• PRO_DETAIL_BOUNDARY_ASME_CIRCLE—Displays an ASME standard-compliant circle as an arc with arrows and the detailed view name.
This function also sets the ProBoolean argument show to display the boundary of the detailed view in the parent view.