Option 1. Export a Class
About this task
You can export a point class.
Exported point class files:
- Have a .soc extension
- Can be imported into other CIMPLICITY projects.
Important: Any changes you make to a class within a project will not be reflected in an exported class until it is re-exported.
Procedure
- Right-click a class in the Workbench right pane.
-
Select Export on the popup menu.
The Save As dialog box opens.
- Select the folder in which the file should be saved.
-
Save the file using the syntax:
<
ClassName>.soc
Example
The class TANKV will be exported.
The export file name is:
TANKV.soc
- Click Save.
Results
CIMPLICITY gathers all the class components and includes them in the .soc file as follows:
Component | Folder Retrieved from: |
Class configuration | Classes |
Scripts (.bcl) files | Scripts |
CimEdit (.cim) files | Screens |
A class developer can import the class into a different project and work with the class configuration.