Real prompts, real output
A fast proof surface for prospects evaluating whether Forge understands real Teamcenter ITK batch work.
These examples show prompt shape, pattern fit, and package seriousness. For technical examples with validation notes and more concrete output expectations, see /docs/examples.
Realistic prompt framing, recognizable Teamcenter batch patterns, and delivery-oriented output that feels like engineering work, not a toy demo.
It is not a full tutorial surface and it does not expose internal scaffold logic. Use the docs examples page for more technical validation detail.
CSV Part Import
Imports parts from CSV with per-row validation, per-item rollback, dry-run execution, and a concise summary report for release review.
Build a Teamcenter ITK batch that reads a CSV with item ID, name, and owning group, creates missing parts, supports --dry-run, rolls back only the failed row, and prints a final summary.All validations passed with one advisory note.
#include <tc/tc.h>
#include <pom/pom/pom.h>
#include <fclasses/tc_string.h>
#include <iostream>
#include <fstream>
#include <vector>
int ITK_user_main(int argc, char** argv) {
logical dry_run = FALSE;
int ifail = ITK_initialize_text_services(0);
if (ifail != ITK_ok) {
return ifail;
}
std::ifstream csv("parts.csv");
std::string row;
int imported = 0;
int failed = 0;
while (std::getline(csv, row)) {Imports parts from CSV with per-row validation, per-item rollback, dry-run execution, and a concise summary report for release review.
Try this promptReleased Parts Export
Exports released parts from a saved query with paging, stable CSV output, and execution telemetry suitable for audit trails.
Generate a batch that runs a saved query for released parts, exports item id, revision, and release status to CSV, supports pagination, and logs execution totals.Validations passed. Export path contract confirmed.
#include <qry/qry.h>
#include <iman.h>
#include <fstream>
int ITK_user_main(int argc, char** argv) {
int ifail = ITK_initialize_text_services(0);
if (ifail != ITK_ok) {
return ifail;
}
std::ofstream out("released-parts.csv");
out << "item_id,name,status\n";
// Query execution, paging, and guarded export omitted for brevity.
return ITK_ok;
}Exports released parts from a saved query with paging, stable CSV output, and execution telemetry suitable for audit trails.
Try this promptBulk Status Update
Updates status in bulk with guarded mutation, continue-on-error semantics, and audit-friendly outcome reporting.
Create an ITK executable that selects parts by query and updates a custom status property with continue-on-error handling, per-item rollback, and summary report.One warning: confirm status value mapping before production.
#include <epm/epm.h>
#include <pom/pom/pom.h>
int ITK_user_main(int argc, char** argv) {
// Query-select, validate current status, mutate, report summary.
return ITK_ok;
}Updates status in bulk with guarded mutation, continue-on-error semantics, and audit-friendly outcome reporting.
Try this prompt