Store Computation for Simulation Document (compute_SimulationDocumentStore) – On Premises Only

compute_SimulationDocumentStore is an on-premises opening ID that allows you to select the store where objects of the simulation document type, or any of its derived types, persist.

This page discusses:

Environment: On premises only

General Information

Before running the business rule, the store must exist.

Definition Description
PLM opening ID compute_SimulationDocumentStore
Environment availability On-premises only
Customization intent Computation
Execution context Server

Input Objects

Input objects must be of the following types:

  • ThisObject: A knowledge view of the type of the simulation document.
  • Parameters: Corresponds to the context object.

Context Object Parameters

Parameter name Type Read or write Comments
FactType Any Simulation Document type and derived type. — Type of ThisObject in the business rule body.
StoreName String Write Name of the store.

Sample

In the following example, simulation documents created under a 3DS Collab Space are saved in the CHECKSTORE_1 store, while simulation documents created under a 3DS Protected Collab Space are saved in the CHECKSTORE store.

let projectname(string)
 
projectname = Parameters->GetAttributeString("Project")
if( projectname == "3DS Collab Space")
{
 
Parameters->SetAttributeString("StoreName",  "CHECKSTORE_1") 
}
if(projectname == "3DS Protected Collab Space")
{
           Parameters->SetAttributeString("StoreName",  "CHECKSTORE") 
}