Add selected objects

Items in the
Selected Objects
pane are added to the
Library Objects
pane to edit their parameters in the decorator pane.
Objects can be added using the
Add selected objects to a Library
toolbar button in the
Selected Objects
pane, by clicking and dragging the objects between the panes, or by copying the object from the selected objects pane to the library objects pane.
When clicking and dragging or copying and pasting objects between panes, placing the selected object on top of the main
Libraries
node opens the
Assign to/Create New
window. Placing the selected object on an existing library branch places the selected object in that branch in the appropriate subfolder for the object type. The new elements inherit all applicable substitutions from the library object.
IMPORTANT:
Default substitutions are inherited automatically. Overrides to the default substitutions, and all other decoration, must be applied manually to new elements of an existing library object.
To add a selected object to a library object
  1. Click
    INCLUSIONS
    and select one or more of the following options:
    • Select
      Add Children
      to include all elements contained within the selected item in the
      Selected Objects
      tree view when it is added to a library object.
    • Select
      Add Dependencies
      to include all elements referenced by the selected item in the
      Selected Objects
      tree view when it is added to a library object.
    • Select
      Allow Shared Ownership
      to allow the selected item in the
      Selected Objects
      tree view to be added to more than one library object. When this option is inactive, the selected item may only be added to one library object.
    • Select
      Container Mode
      to add all program tags and routines to the library object automatically. When this option is inactive, content must be manually added to the library object.
  2. In the
    Selected Objects
    tree view, select the item or items to add. Hold down the
    Shift
    or
    Ctrl
    keys to select multiple items.
  3. Click
    Add selected objects to a Library
    . The
    Assign to/Create New
    window opens.
  4. To add the selection to an existing library object, select the library object from the
    Select Library
    dropdown menu. The rest of the settings in the dialog box are dimmed because they are defined by the library object.
  5. To add the selection to a new library object, check the
    Create New
    checkbox. The remaining fields in the window, which appear dimmed by default, become active.
    1. In the
      Catalog Number
      box, enter the library object name, which displays when the library object is registered in the
      Application Code Manager
      application.
      IMPORTANT:
      The
      Catalog Number
      is the only required field and must be unique within the ACD file. Some fields will be automatically configured depending on the value of certain fields.
      Any library attribute configured in the ACD file will become the primary value and cannot be manually edited when being published. Leave it blank if this is required.
    2. (optional) In the
      Description
      box, enter the description of the library object.
    3. (optional) In the
      Library Type
      box, select the library type to identify the library object as a module. A module registers as hardware rather than software in the
      Application Code Manager
      application.
    4. (optional) In the
      Content Type
      box, select the content type:
      Task
      ,
      Program
      , or
      Routine
      .
    5. (optional) In the
      Base Library
      menu, select a base library if you want the new library object to inherit substitutions from an existing library object. Select
      None
      if you do not want inheritance to take place.
    6. (optional) In the
      Solution
      box, select the solution.
      TIP:
      This list is empty if no solution has been set in another library in the same ACD or if the Settings file is also empty.
    7. (optional) In the
      Family
      box, select a family from the list.
    8. (optional) In the
      Category
      box, select a category from the list.
    9. (optional) Enter a name and description in the
      Instantiation
      fields. These will be applied as the name and description for each instantiation of the library object.
      TIP:
      To use an expression to generate the values, rather than entering a text string, click the ellipsis (...) button to the right of the field to open the
      Expression Builder
      .
    10. (optional) Enter initial substitutions in the
      Name
      and
      Description
      fields. These substitutions extend to all elements within the objects, and begin the decoration process. Additional substitutions can be added once the Library Object has been created.
  6. Click
    OK
    to save the library object.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.
Normal