API 설명서 > Windows and views > Object ProAccessorywindow > Function ProAccessorywindowCreate
Function ProAccessorywindowCreate
DEPRECATED:
Since Wildfire 5.0
Description
Note: This function is deprecated. Use ProAccessorywindowWithTreeMdlnameCreate() with tree_flag as PRO_B_FALSE instead.
Retrieves a window and attaches the object to it. If the window is already open with the object attached, the function returns the window identifier. If there is an empty window up, the function attaches the object to it. Otherwise, the function creates a new window and attaches the object to it. The window created is smaller than the one created by ProObjectwindowMdlnameCreate(). This window doesn't have the toolbar and model tree. It doesn't allow any options and has restricted options under Windows menu.
Synopsis
#include <ProWindows.h>
ProAccessorywindowCreate
(
ProName object_name
/* (In)
The name of the object to be retrieved
*/
ProType object_type
/* (In)
The type of the object (PRO_PART, PRO_ASSEMBLY, and so on)
*/
int* p_window_id
/* (Out)
The window identifier in which the object was retrieved
*/
)
Returns
The function successfully retrieved the window and attached the object to it.
You specified an invalid object type.
Either you specified an invalid object name, or the window identifier is NULL.
도움이 되셨나요?