API 文件集 > Drawings and detail > Object ProDrawing > Function ProDrawingView2DSectionSet
Function ProDrawingView2DSectionSet
Description
Set the 2D section for a view
Replacement in Object TOOLKIT:
Synopsis
#include <ProDrawingView.h>
ProDrawingView2DSectionSet
(
ProDrawing drawing
/* (In)
Drawing handle
*/
ProView view
/* (In)
The view handle
*/
ProName sec_name
/* (In)
Name of the section
*/
/* (In)
Type of section area
*/
ProSelection ref_sel
/* (In)
Reference selection. NULL can be passed only if sec_area_type is PRO_VIEW_SECTION_AREA_FULL or PRO_VIEW_SECTION_AREA_UNFOLD.
*/
ProCurvedata* curve_data
/* (In)
The spline curve data. NULL can be passed in all types of sec_area_type other than PRO_VIEW_SECTION_AREA_LOCAL.
*/
ProView arrow_display_view
/* (In)
The view, where section arrow to be displayed.This can be NULL.
*/
)
Returns
The function succeeded.
Model is in read-only state.
One or more input arguments was invalid.
The function failed
這是否有幫助?