Python API

Visual Components Essentials has been officially released, download link

Be sure to read the Forum Rules and Guidelines before start using the Forum.

This topic contains 2 replies, has 3 voices, and was last updated by  Ralle 8 months, 3 weeks ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1486
    RSilva
    RSilva
    Participant

    I’m trying to use the Python API but I’m having some trouble finding the module libraries. Where can I find them? Such as vcApplication, vcCommand, vcScript, …

    I’m using a trial version of the Visual Components 4.0 Premium.

    Thank you,
    RSilva

    #1490
    zesty
    zesty
    Participant

    Do you mean the source code, documentation or how to import them in general?

    A component script would import vcScript to get a handle for the application, component, simulation, commands, etc.

    An application script is usually two files, a command file and its config file. A command file would import vcCommand to define a command and its state. A config file (__init__) would import vcApplication to find and register the command, add the command to GUI, and localize the GUI. See “Create a Python Command” in Python API reference guide of Help File for more info.

    #2342

    Ralle
    Participant

    vcApplication, vcCommand, vcScript,… are built-in modules that are embedded in the core application. So you can’t find any module files that can be edited.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.