get_udt
Retrieve user-defined type (UDT) definitions and members from MotionWorks IEC projects. Provide a project path and optional type name; empty type name lists all types.
Instructions
Get a user-defined type definition with its members.
Args: path: Project file or directory. udt_name: Type name. Empty returns all project-defined types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| udt_name | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |