DxDesigner Tools>Update Other Objects via automation

Version 1

    dts0100889392 - Enhancement to be able to run the 'Update Other Objects' command from automation is not available.

    This functionality is available in:

    EE7.9.4_Update22 or newer

    EE7.9.5_Update11 or newer

     

    The application menu command Tools>Update Other Objects

    can be managed via automation. See example below.

     

    ' Update Other Objects

    Dim updateFlags

    Dim updateScope

    ' VDUOO_PROPERTIES = 1,

    ' VDUOO_BUSSIGNALS = 2,

    ' VDUOO_BUSRIPPERS = 4,

    ' VDUOO_CROSS_REFERENCE = 8,

    ' VDUOO_PRINT_ORDER = 16

    updateFlags = 2 or 1 or 8 or 4 or 16

    ' VDUOO_PROJECT = 0,

    ' VDUOO_BOARD = 1,

    ' VDUOO_SCHEMATIC = 2,

    ' VDUOO_SHEET = 3

    updateScope = 0

     

    Set dxdProjectData = VDapps.GetProjectData

    dxdProjectData.UpdateOtherObjects updateFlags, updateScope

     

    In updateFlags: set what you want to update.
    In updateScope: set range.