Article - CS420881

An error occurs when executing a customized command in Creo Elements Direct/Model Manager /Drawing Manager

Modified: 21-Jun-2024   


Applies To

  • Creo Elements/Direct Model Manager / Drawing Manager 20.6

Description

  • An error occurs when executing a customized command to call a Modeling command.
    • Error
      Communication error: Interlink Illegal access. (Error 113)
      [SolidDesigner IL]
  • The command is used to get the some attributes like SysID of the model before saving to Model Manager.
  • For example:
    • DataManager.getInstance().getSolidDesigner().executeCommand("(length (oli::sd-inq-obj-children (oli::sd-pathname-to-obj \"<PATH>\")))")
      DataManager.getInstance().getSolidDesigner().executeCommand("(oli::sd-inq-obj-contents-sysid (oli::sd-pathname-to-obj \"<PATH>\"))")
  • If the path is too long (for example, more than 900 characters), the above error occurs.
  • It works well if the path is short.
This is a printer-friendly version of Article 420881 and may be out of date. For the latest version click CS420881