Task Agent Configuration Files
The Task Agent is configured by multiple files that can be found in <Creo Elements\Direct Manager Server installation location>\20.6\taskagent.
There are two types of XML files that control job parameters and execution and two types of script files that are executed on the job server.
TaskAgent.xml: configuration of event based job creation
jobconfig\<job type>.xml: configuration files for each job type
drafting\<macro>.m: Creo Elements/Direct Drafting macro files
modeling\<lisp file>.lsp: Creo Elements/Direct Modeling LISP files
Configuring event based job creation– TaskAgent.xml
When Creo Elements/Direct Manager Server is installed, the TaskAgentListener is registered with the TransactionListenerProcessor. For more information, see Transaction Listener lab. The TaskAgentListener itself dispatches the transaction events to TransactionAgent components which are configured in the TaskAgent.xml file. There a three pre-configured TransactionAgent entries,
ModelStateChangeAgent : creates jobs for 3D models
DrawingStateChangeAgent : creates jobs for 2D drawings
ClashAnalysisStateChangeAgent : triggers the recalculation of clash analysis elements
You can also implement and configure additional TransactionAgent entries in this file.
Each TransactionAgent can create jobs based on different triggers. By default, the following triggers are available:
UponCreate : create a job when a new element is created
UponOverwrite: create a job when an existing element is overwritten
UponNewRevision: create a job when a new minor or major version of the element is created
TriggerState: create a job when the state of the element changes to the configured target state
By default, the jobs are scheduled for immediate execution. The optional <Schedule> tag allows you to schedule the execution for a different time or day.
Job Configuration XML files
The directory C:\Program Files\PTC\Creo Elements\Direct Manager Server 20.6\taskagent\jobconfig contains xml configuration files for each job type.
xml file
Used by
DraftingConversion.xml
Generate 2D Formats or automatic 2D format generation (see <TriggerState>)
DraftingPlot.xml
Plot > Schedule or Plot > Now
DraftingConversionPDF.xml
Generate PDF
ModelingClashAnalysis.xml
Recalculate (Clash Analysis)
ModelingConversion.xml
Automatic 3D format generation (see <TriggerState>)
ModelingConversionAnfIdeas.xml
Generate Native Format > I-DEAS
ModelingConversionCreoElementsPro.xml
Generate Native Format > Creo Parametric
ModelingConversionAnfUnigraphics.xml
Generate Native Format > NX
ModelingConversionCatiaV4.xml
Generate Native Format > CATIA V4
ModelingConversionEDrawings3D.xml
Generate Viewing Format > eDrawings 3D
ModelingConversionIGES3D.xml
Generate Standard Format > IGES 3D
ModelingConversionParasolid.xml
Generate Native Format > Parasolid
ModelingConversionPDF3D.xml
Generate Viewing Format > 3D PDF
ModelingConversionSAT.xml
Generate Standard Format > SAT
ModelingConversionSTEP.xml
Generate Standard Format > STEP
ModelingConversionU3D.xml
Generate Viewing Format > U3D
ModelingConversionVRML3D.xml
Generate Viewing Format > VRML
ModelingConversionXVL.xml
Generate Viewing Format > XVL
ModelingConversionSTL.xml
Generate Viewing Format > STL
ModelingConversionCreoViewMCAD.xml
Generate Viewing Format > Creo View MCAD
ModelingConversionPKG.xml
Generate Native Format > Creo Elements/Direct Modeling
Was this helpful?