API 설명서 > Windchill servers > Object ProServer > Function ProServerObjectsUpload
Function ProServerObjectsUpload
Description
Uploads an object to the database.
NOTE: The model must be saved with ProMdlSave() prior to upload.
NOTE: This function requires the object to be retrieved into memory; to upload all files in the workspace use ProServerObjectsCheckin() with the option ProServercheckinoptsUploadonlySet() as PRO_B_TRUE.
Replacement in Object TOOLKIT:
Synopsis
#include <ProWTUtils.h>
ProServerObjectsUpload
(
ProMdl mdl
/* (In)
The top level model to upload.
*/
/* (Out)
Information about upload conflicts. NULL if the error return != PRO_TK_CHECKOUT_CONFLICT. Pass NULL if not interested in conflicts details.
*/
)
Returns
The function succeeded.
One or more inputs was invalid.
The top level object was not found.
The primary server is not set.
Conflicts occurred. Check the details in the conflicts return.
Upload called for an unsaved object. Please save and then Upload.
User Guide References
도움이 되셨나요?