Article - CS228291

Need help for an Automation Interface script in PTC Modeler

Modified: 24-Feb-2025   


Applies To

  • PTC Modeler 7.4 to 10.1

Description

  • How to work in a model using scripts through the Automation Interface
  • The Modeler Automation Interface is a comprehensive API that allows you to perform the following operations:
    • Read Model item structures, properties and links
    • Write to Model properties
    • Create Model items and links
  • You may want to make use of the Automation Interface for the following reasons:
    • To define how Publisher extracts items and diagrams from a Model
    • To customize the SDL script used in TDK models
    • To extract information from a Model for inclusion in documents and spreadsheets
    • To create new toolbar and command buttons, and change on drop and double-click behavior through Stereotypes and Scripts
    • To create applications or utilities that interact with a Model
  • Need help with customization 
  • I need to know how to manipulate model elements using VBScript
  • When creating an Action Node, I want it to have the same stereotypes as the parent Activity
  • How to execute a specific script automatically when creating an element
  • Is there a possibility to execute a script when applying a stereotype to a model item through the properties page?
This is a printer-friendly version of Article 228291 and may be out of date. For the latest version click CS228291