Vis Automations · Python over OLE/COM
Headless COM Automation
Drives Vis Mockup with no clicks through its COM server VFFrame.Application: open a JT, read the tree, find, measure, read metadata, set the camera, snapshot, section, show PMI, capture and export.
Verification passing on Vis 2606.0 build 26134 + 2606.2610 · 2026-10-29 · repo tc-vis-automation 684255a
What the twelve passing tasks do not cover. Each line is open until a run reads it back.
| Not exercised | Clearance, measurement, motion, markup and printing. The API reference lists them; none has been run. Treat them as open, not as known to work. |
| Not exercised | A Vis session launched from Teamcenter, and CaptureImageToTeamcenter. |
| Not exercised | Export to VRML, ROBFACE and BLK (type codes 1, 3, 5 are DERIVED from the reference). |
| Not observed | Whether ShowState = 7 really minimizes the window. The capture renders with it set; the window itself was not watched. |
| DERIVED | Section clipping values 0 to 3 for CS_CLIP_NONE / NEAR / FAR / BOTH: 1 and 2 were set and read back, but ENUMS.INC defines no values. |
| Known gap | STEP export from a tessellated-only JT writes nothing and raises nothing. A B-rep source is needed; the script must check the file. |