Draft Views
Functions Introduced:
• ProDrawingDraftViewCreate ()
Draft views are created from the Sketch tab in a drawing using the selected draft entities. The draft entities added to the view are automatically related to the view. Any pre-existing relationship will be removed, and the entity will be related to the draft view.
The function
ProDrawingDraftViewsCollect() collects all draft views in the specified drawing. The output argument
views is the list of draft views. The function
ProDrawingDraftViewsCollect() allocates memory to the
ProView handle. To free the memory call the function
ProArrayFree().
The function
ProDrawingViewIsDraft() determines whether the specified view is a draft view. The input arguments follow:
• drawing—Specify the drawing in which the draft view exists.
• view —Specify the view using the ProView handle.
If the specified view is a draft view, the function returns a ProBoolean output argument with the value PRO_B_TRUE. Otherwise, the function returns PRO_B_FALSE.
The function
ProDrawingDraftViewCreate() creates a draft view in the specified drawing sheet. The input arguments follow:
• drawing—Specify the drawing in which draft view is to be created.
• entities—Specify at least one daft entity using the ProDtlentity object. Entities might or might not be related to any view.
The function outputs a pointer to the ProView handle.