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

One COM server, one API root: VFFrame.Application, then VisAppAutomation, then documents, views and nodes. Click to zoom.

What was asked

Install Teamcenter Visualization 2606 Mockup on a workstation and prove it can be automated headless: every common viewing and query task driven from a script, each one checked against what Vis reads back, not against a return value.

What it does

  • Open and render a JT, read the node tree, fit and capture a PNG.
  • Query: Find by metadata, CADID round-trip, bounding box, area, volume and centroid, every metadata property.
  • View: hide all, isolate one part, set and read the camera, add a snapshot, cut with a section, show and hide PMI.
  • Export to PLMXML, JT and STEP, each file opened and read afterwards.
  • Quit with no VisView process left behind.
12/12
validation tasks pass in one Vis session, no clicks
35 s
for the whole validation run
12
traps written down, each found in a real run
22 s
smoke test, plain and minimized