|
Tekvel Magic
|
Common SCL-file manipulation class.
Common SCL-file manipulation class. The SCL class provides a variety of functions for manipulating SCL files, including specialized classes like SSD, ICD, and SCD that inherit from the SCL class and offer file-type-specific functionalities.
Typically, the SCL class is initialized with an existing SCL file that can be loaded from a file path as shown in the example below.
Example usage of SCL class:
The SCL class defaults to using Edition 2 of the SCL specification. If you need to work with SCL files of other editions, such as Edition 1 or Edition 2.1, you can specify the edition when initializing the class. The edition identifiers must be passed as strings, not integers.
To select an SCL file directly from the filesystem using a graphical dialog, the Dialog class offers convenient functions for file selection, as shown below:
For more information on SCL-related dialogs, refer to the Dialog class documentation.
You can instantiate multiple SCL objects simultaneously to manipulate different SCL files, including file comparison.