CN2SK: Relate to CataloguePart

Uit COINS2
Ga naar: navigatie, zoeken
  • Start the COINS Navigator 2 application.
    Start the COINS Navigator 2 application.

Create Library

  • Open a new container form to create a library.
    Open a new container form.
  • Give the library a name (no spaces).
    Create a new library.
  • Select the "Classes"-tab, find and select the COINS Object class, right click and select the "Create"-menu item.
    Create a new subclass.
  • Select the "Identification"-section, toggle the "GUID"-button to enable the specification of a readable class ID.
    Specify "Column" as the class local ID.
  • Select the "Super types"-section and make sure that the "Catalogue Part"-check box is selected.
    Select "Catalogue Part" as a role type.
  • Select the "Description"-section and enter a user friendly name for the class.
    Enter a class name.
  • Click the "Create"-button...
    Create button.
  • ... and the new subclass is added to the class tree.
    New subclass added to the class tree.
  • Save the library in a container.
    Save the library in a container.
    Container file.

Create Instance model

  • Create a new model.
    Open a new container form.
  • Give the model a name (no spaces).
    Specify model name.
  • Select the "Container"-tab/"Models"-tab and click the "Add"-button to import the "Library"-model.
    Add library model.
  • Select the "Objects"-tab and open the create new object form. Select the "Types"-section and add "MyLibrary:Column" as a dynamic type:
    Select dynamic type.
    Click Add dynamic type.
    Dynamic type added.
  • Give the object a name and click the "Create"-button.
    Object name.
    Create button.
  • The dynamically typed object is added to the model.
    Column object added.
    Canvas with Column object added.
  • Ready.
    Ready.
    Result container

-> Return to overview COINS Navigator Starter Kit.