New movie recording functionality is now available in the .NET API that allows recording the content of a specific viewer (like Graphic Viewer and Human Vision viewer) or an area of the screen in a variety of file formats. TxMovieRecorder class is a singleton that is accessible from the TxApplication class. Recording is controlled via the Start, Stop, Pause, Resume and Terminate methods. Recording options are provided with a descender of TxMovieRecordingSettings class on Start . Users can manage the FrameRate , Compression , Codec and AddOverlays parameters. Settings classes are of two types:
TxScreenRecordingSettings - Represents recording settings to record a specific area of the screen.
TxViewerRecordingSettings - Represents recording settings to record the content of a viewer that implements the ITxViewerRecordingSource interface.
Important: Recording is done in real time for TxScreenRecordingSettings class. TxViewerRecordingSettings supports RealTime and SimulationTime options. For SimulationTime option, recording time is synchronized with the simulation time and recording is done only while simulation is running.
View Point Simulation Event
TxViewPointEvent can now be created via the .NET API using the CreateViewPointEvent method of the ITxSimulationEventParentOperation interface. Creation data is represented by the TxViewPointEventCreationData class and TxViewPointData can be retrieved directly from the ViewPointData property of the TxGraphicViewer class.
Tx3DVectorControl class is a new WPF control for editing and displaying vector values. Values are formatted according to the units defined in the Options dialog. Use ValueType , StepSize , UpperBound , LowerBound , DecimalPlaces and other properties to configure the control to fit the specific requirements.
Expression editing with the TxExpressionEditor control has become more intuitive and comprehensible. Users are now able to write logic expressions with complex functions and expressions which are nested within other ones. There is a new comma separator represented by the TxExpressionFunctionParameterDelimiter class. The TxPlcFunctionParameterData class provides the new SetAsExpression method that sets the parameter as an expression.
Starting from this version, expression evaluation can be controlled via the API. Use the EvaluationLock property of TxPlcExpression class to define if the expression should or should not be evaluated in the next evaluation cycle.
Joint Hard Limits
Changes were introduced to the HardLimits property of the TxJoint class. The TxJointVariableHardLimits class now provides the LimitsData property for consistency with the information returned by the obsolete HardLimitsData property.
API users can now simulate a pick in the Graphic Viewer using the Pick method of TxGraphicViewer class.
The new GetComplexMinMaxRange method is now available in ITxPathEditorToDotNetGap interface. The method combines the functionality of the existing GetComplexMinRange and GetComplexMaxRange methods.
The new Modified event is now available in the ITxCable interface and it is fired when the cable object is modified.
The TxTransformation class exposes a new pair of ToString and Parse methods that use a custom delimiter.
ITxCommand custom related data can be read from across the application using the CreateInstanceFromCommandType method. The method generates an instance of TxCommandPrivateDataStorage according to the provided command class type.