Select New Class from the Authoring toolbar.
The New Class dialog box appears.
From the mandatory Name field, enter a valid Modelica name for this new class.
From the Class type drop-down list, select the Model type. By default, this Model type is selected.
Click the mandatory Insert in field, then select a library from the Package Browser.
If you need to create a partial class, check the Partial option.
Note:
A partial class is used as a template to be inherited to create a
full class.
If you need to create an extended class:
- Click the Extends field,
- Select a class from the Package Browser or use Switch between class and basic type selection to select a basic type from the drop-down list.
From the Store in drop-down list, select a representation to store the new class within the database. For the purpose of this scenario, you will store this new class in a new PLM representation.
- Select New behavior library.
The New / Behavior Library Representation dialog box appears:
- Enter a name for the new behavior library representation.
- Click Finish.
In the New Class dialog box, the Store in Repository is filled in.
Click OK to close the New Class dialog box and create your new class.
From the Package Browser, a new class is created under the library node.