Create external DLL subscriptions - SmartPlant Foundation - IM Update 46 - Help - Hexagon

SmartPlant Foundation Help

Language
English
Product
SmartPlant Foundation
Search by Category
Help
SmartPlant Foundation / SDx Version
10
SmartPlant Markup Plus Version
10.0 (2019)
Smart Review Version
2020 (15.0)

Instead of sending a notification to a user, a DLL subscription launches an external application with optional arguments. It launches the application regardless of which user triggers the event (unless there is a condition set to filter on a user name). DLL subscriptions are available as a shortcut menu command on class definitions.

DLL subscriptions are only available for class definitions and not objects.

  1. Right-click the class definition and select Subscription > Manage DLL Subscriptions in the Desktop Client.

    Option

    Description

    Class definition

    This lists all the interface definitions for the selected class with the primary interface pre-selected.

    Event

    Select the event that will trigger the subscription.

    Condition

    Select any condition that will apply to the subscription.

    DLL Path

    The dll file path can be to a dll or an executable.

    DLL Args

    Any arguments to be passed to the dll or executable.

    The columns shown in the above diagram are delivered with the standard core model and can be extended using Manage > Column Items.

  2. Change the Primary Interface Definition, if required.

  3. Select the Event to trigger the subscription (mandatory).

  4. Select a condition if required (optional).

  5. Enter the DLL Path (mandatory).

  6. Enter any arguments to be passed to the DLL (optional).

  7. Click Add to add the subscription to the class definition.

  8. Repeat steps 2 to 7 to add further subscriptions based on different events or conditions.

  9. Use the Update and Remove buttons to manage the DLL subscriptions. For more information, see Manage class DLL subscriptions.