The following items are new in version 13.0.2:
In this version, the .NET API exposes the ability to handle the mouse events in the Graphic Viewer. Register to the MouseDown, MouseUp or MouseMove events to observe the mouse behavior of the TxGraphicViewer.
Use the LoadDataFromFile or LoadLineSimulationDataFromFile methods of ITxOfflineGlobalServicesProvider to load a psz file in Process Simulate Standalone. To save the changes to a loaded psz file, call to the SaveDataToFile method.
The same functionality is also available on Process Simulate on eMServer platform – refer to the LoadDataFromFile, LoadLineSimulationDataFromFile and SaveDataToFile methods of the ITxEmsGlobalServicesProvider interface.
It is now possible to get the full path of the currently loaded data file (psz, psz-tc or cell) using the FinalDestination property of the TxDocument class.
Prototype Data File
Starting from this version, TxTunePmDocumentManager class provides the ability to create a TuneData.xml file under a .cojt folder. Use LoadPrototypeDataFromDocument and SavePrototypeDataToDocument methods of TxTunePmDocumentManager to read and write the prototype data.
From version 13.0.2 users can add one or more cameras to Process Simulate and view the scene from the camera viewpoints as they manipulate and simulate the scene. .NET API exposes the functionality to create and manage cameras.
Use the CreateViewCamera method in the TxPhysicalRoot class in order to create new TxViewCamera objects. Once the Camera is created, set an existing Graphic Viewer to act as a Camera Window, using the CoupleToGraphicViewer method of TxViewCamera.
For more details, see the TxViewCamera class.
Starting from this version, Process Simulate on eMServer and Process Designer support global attachments that are saved in the database instead of the study. Global attachments enable the user to share attachments between different studies. Global attachments can be overridden with the study level attachments (also called “local” attachments).
To create a global attachment use the GloballyAttachTo and GloballyAttachTwoWaysTo methods of ITxGloballyAttachableObject. To check if an object has a global attachment use the HasGlobalAttachment method of ITxGloballyAttachableObject.
For more details, see the ITxGloballyAttachableObject and ITxLocatableObject interfaces.
Use the SetMoveDeviceToPose method to set the TxSimulationPlayer ready to simulate a device to a specific pose starting from the current pose of the device. After the TxSimulationPlayer is set, use one of the methods that start the simulation to simulate the device to the desired pose – Play, PlaySilently or PlayWithoutRefresh.
Use GrippingEntities property of ITxGripper to get the list of gripping entities.
Get the picked manipulator element using the GetLastPickedManipulatorElementId method of the TxSelection class.
In this version TxTransformation class exposes the RotationRPY_ZYX property.