How to export a creo model to JT (enable xtbrep) with Creo OTK Java / Jlink
How to export a creo model to JT (enable xtbrep) with Creo OTK Java / Jlink。 I use such code:
GeometryFlags geometryFlags = pfcExport.GeometryFlags_Create();
geometryFlags.SetAsQuilts(false);
geometryFlags.SetAsWireframe(false);
geometryFlags.SetAsSolids(true);
geometryFlags.SetAsSurfaces(true);
AssemblyConfiguration asmCfg = AssemblyConfiguration.EXPORT_ASM_SINGLE_FILE;
JT3DExportInstructions expJtIns= pfcExport.JT3DExportInstructions_Create(asmCfg,geometryFlags);
model.Export(jtFilePath,expJtIns);
recieive error :XInvalidInput

