formZ SDK | 5.0 API Reference | Project | Modeling | View Manager

fz_view_copy_to_windex

Description

Creates a copy of a given view in a given windex. This api function makes it possible to copy a view from one project to another, if source and destiantion windex represent different projects. If source and destiantion windex are from the same project, fz_view_copy_to_windex performs the same task as fz_view_duplicate

Plugin Prototype

fzrt_error_td fz_view_copy_to_windex(

fzrt_int

src_windex,

fz_view_ptr

src_view,

fzrt_int

dst_windex,

fz_view_ptr *

dst_view )

Parameters

src_windex [Input]

project window index of the source view

src_view [Input]

source view

dst_windex [Input]

project window index of the view view

dst_view [Result]

new view

Returns

Error codes

Availability

6.5.5.0

Example Files

util_views.fsl

See Also

fz_view_duplicate

Function Set

fz_view_fset


Defined in

fz_view_api.h