| Library | File | Frames | Expand |
| void | Activate () | |
| Sets the server to be active in session. | ||
| void | CheckinObjects (optional pfcModel_ptr Mdl, optional pfcCheckinOptions_ptr Options) | |
| Checks in an object to the database. | ||
| xstringsequence_ptr | CheckoutMultipleObjects (xstringsequence_ptr Files, xbool Checkout, optional pfcCheckoutOptions_ptr Options) | |
| Checks out or downloads multiple objects to the workspace. Checkout rules are processed based on the Workspace config spec, unless the version is set using pfcCheckoutOptions::GetVersion(optional xrstring). If the config spec is LATEST, for example, the latest version of the indicated object(s) will be checked out. If an aliased URL path to a model is supplied, and more than one revision of the model is in the path, Creo Parametric will apply the workspace config spec rules against the objects which reside in that folder. | ||
| xstring | CheckoutObjects (optional pfcModel_ptr Mdl, optional xrstring File, xbool Checkout, optional pfcCheckoutOptions_ptr Options) | |
| Checks out or downloads an object to the workspace. Checkout rules are processed based on the Workspace config spec, unless the version is set using pfcCheckoutOptions::GetVersion(optional xrstring). If the config spec is LATEST, for example, the latest version of the indicated object(s) will be checked out. If an aliased URL path to the model is supplied, and more than one revision of the model is in the path, Creo Parametric will apply the workspace config spec rules against the objects which reside in that folder. | ||
| void | CreateWorkspace (pfcWorkspaceDefinition_ptr Definition) | |
| Creates and activates a new workspace. | ||
| xstring | GetActiveWorkspace () | |
| void | SetActiveWorkspace (xrstring value) | |
| Specifies the name of active server. | ||
| xstring | GetAlias () | |
| Specifies the alias of server. | ||
| xstring | GetAliasedUrl (xrstring ModelName) | |
| Gets aliased url for a given model name. | ||
| xstring | GetContext () | |
| Specifies context of the server | ||
| xbool | GetIsActive () | |
| Specifies whether server active or not. | ||
| xbool | IsObjectCheckedOut (xrstring WorkspaceName, xrstring ObjectName) | |
| Returns the checkout status for the given object in the workspace. | ||
| xbool | IsObjectModified (xrstring WorkspaceName, xrstring ObjectName) | |
| Returns the modification status for the given object in the workspace. | ||
| pfcServerObjectStatus_ptr | IsServerObjectModified (xrstring WorkspaceName, xrstring ObjectName) | |
| Checks if the given object is modified in workspace or modified locally. | ||
| void | RemoveObjects (optional xstringsequence_ptr ModelNames) | |
| Removes a list of models from a workspace. | ||
| void | UndoCheckout (pfcModel_ptr Mdl) | |
| Undoes the checkout of the given object. | ||
| void | Unregister () | |
| Unregisters a given server and cleans a local cache for the server. | ||
| void | UploadObjects (pfcModel_ptr Mdl) | |
| Uploads an object to the database. | ||
| void | UploadObjectsWithOptions (optional pfcModel_ptr TopModel, pfcUploadOptions_ptr Options) | |
| Uploads objects to the database with the specified options. | ||
| xstring | GetAlias | () |
|
Specifies the alias of server.
|
| xstring | GetActiveWorkspace | () |
| void | SetActiveWorkspace | (xrstring value) |
|
Specifies the name of active server. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The server was not registered. pfcXToolkitInvalidDir - The workspace couldn't be found or created. pfcXToolkitFound - The workspace is already set.
|
| xbool | GetIsActive | () |
|
Specifies whether server active or not. Exceptions thrown (but not limited to): pfcXToolkitNotFound - There is no active aliased server (Local Dir is active).
|
| xstring | GetContext | () |
|
Specifies context of the server Exceptions thrown (but not limited to): pfcXToolkitNotFound - The server was not registered.
|
| void | Unregister | () |
|
Unregisters a given server and cleans a local cache for the server. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The server is not registered. pfcXToolkitCantWrite - Cannot delete this workspace. pfcXToolkitCheckoutConflict - The workspace cannot be deleted due to checked out objects in its contents.
|
| void | Activate | () |
|
Sets the server to be active in session. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The server was not registered.
|
| void | CreateWorkspace | (pfcWorkspaceDefinition_ptr Definition) |
|
Creates and activates a new workspace. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The server is not registered. pfcXToolkitFound - The workspace already exists. pfcXToolkitCantWrite - Cannot create a workspace on this server.
|
| void | UploadObjects | (pfcModel_ptr Mdl) |
|
Uploads an object to the database. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The top level object was not found. pfcXToolkitBadContext - The primary server is not set. pfcXToolkitCheckoutConflict - Conflicts occurred. Check the details in the conflicts return. pfcXToolkitNotValid - Upload called for an unsaved object. Please save and then Upload.
|
| void | UploadObjectsWithOptions | (optional pfcModel_ptr TopModel, pfcUploadOptions_ptr Options) |
|
Uploads objects to the database with the specified options. The model should be saved using pfcModel::Save() before it can be uploaded. This function does not save the model by default. The model can also be imported using pfcBaseSession::ImportToCurrentWS(xstringsequence_ptr, pfcRelCriterion) before it can be uploaded. Exceptions thrown (but not limited to): pfcXToolkitBadContext - The primary server is not set and/or Design Test Mode is active - the function is not available in this mode. pfcXToolkitCheckoutConflict - Conflicts occurred. Check the details in the conflicts return.
|
| void | CheckinObjects | (optional pfcModel_ptr Mdl, optional pfcCheckinOptions_ptr Options) |
|
Checks in an object to the database. The model must be saved using pfcModel::Save() before it can be checked in. This function does not save the model by default. Exceptions thrown (but not limited to): pfcXToolkitBadContext - The primary server is not set and/or Design Test Mode is active - the function is not available in this mode. pfcXToolkitCheckoutConflict - Conflicts occurred. Check the details in the conflicts return.
|
| xstring | CheckoutObjects | (optional pfcModel_ptr Mdl, optional xrstring File, xbool Checkout, optional pfcCheckoutOptions_ptr Options) |
|
Checks out or downloads an object to the workspace. Checkout rules are processed based on the Workspace config spec, unless the version is set using pfcCheckoutOptions::GetVersion(optional xrstring). If the config spec is LATEST, for example, the latest version of the indicated object(s) will be checked out. If an aliased URL path to the model is supplied, and more than one revision of the model is in the path, Creo Parametric will apply the workspace config spec rules against the objects which reside in that folder. One of Mdl and File must not be null.This can be either an aliased URL to a given object or the object name.If an aliased URL path to the model is supplied, and more than one revision of the model is in the path, Creo Parametric will apply the workspace config spec rules against the objects which reside in that folder. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The top level object was not found. pfcXToolkitBadContext - The primary server is not set when mdl is passed. pfcXToolkitCheckoutConflict - Conflicts occurred. Check the details in the conflicts return.
|
| xstringsequence_ptr | CheckoutMultipleObjects | (xstringsequence_ptr Files, xbool Checkout, optional pfcCheckoutOptions_ptr Options) |
|
Checks out or downloads multiple objects to the workspace. Checkout rules are processed based on the Workspace config spec, unless the version is set using pfcCheckoutOptions::GetVersion(optional xrstring). If the config spec is LATEST, for example, the latest version of the indicated object(s) will be checked out. If an aliased URL path to a model is supplied, and more than one revision of the model is in the path, Creo Parametric will apply the workspace config spec rules against the objects which reside in that folder. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The top level object was not found. pfcXToolkitCheckoutConflict - Conflicts occurred. Check the details in the conflicts return.
|
| void | UndoCheckout | (pfcModel_ptr Mdl) |
|
Undoes the checkout of the given object. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The top level object was not found. pfcXToolkitBadContext - The primary server is not set. pfcXToolkitCheckoutConflict - Conflicts occurred. Check the details in the conflicts return.
|
| void | RemoveObjects | (optional xstringsequence_ptr ModelNames) |
|
Removes a list of models from a workspace. Exceptions thrown (but not limited to): pfcXToolkitNotFound - One or more documents are not found. Check the conflicts return. pfcXToolkitBadContext - The primary server is not set. pfcXToolkitCheckoutConflict - Conflicts occurred. Check the details in the conflicts output.
|
| xbool | IsObjectCheckedOut | (xrstring WorkspaceName, xrstring ObjectName) |
|
Returns the checkout status for the given object in the workspace. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The given object is not in the workspace. pfcXToolkitBadContext - The server was not registered or the workspace couldn't be found on the server.
|
| xbool | IsObjectModified | (xrstring WorkspaceName, xrstring ObjectName) |
|
Returns the modification status for the given object in the workspace. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The given object is not in the workspace. pfcXToolkitBadContext - The server was not registered or the workspace couldn't be found on the server.
|
| xstring | GetAliasedUrl | (xrstring ModelName) |
|
Gets aliased url for a given model name. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The object was not found.
|
| pfcServerObjectStatus_ptr | IsServerObjectModified | (xrstring WorkspaceName, xrstring ObjectName) |
|
Checks if the given object is modified in workspace or modified locally. Exceptions thrown (but not limited to): pfcXToolkitNotFound - The given object is not in the workspace. pfcXToolkitBadContext - The server was not registered or the workspace couldn't be found on the server.
|