Want to create interactive content? It’s easy in Genially!

Get started free

2 - PLMXML Module

Maxence

Created on November 4, 2024

Start designing with a free template

Discover more than 1500 professional designs like these:

Interactive Bingo

Interactive Hangman

Secret Code

Branching Scenario: Academic Ethics and AI Use

The Fortune Ball

Repeat the Sequence Game

Pixel Challenge

Transcript

PLM XML/TC XML export Import administration

E-LEARNING TC

Teamcenter FUNDAMENTALS

Start

TranSfer mode definition

closure rule

property set

transfer mode creation

transfer mode EXPORT

TRANSFER MODE DEFINITION

Transfer mode objects are made up of the following items that configure the import or export operation. Closure rules : Defines the scope of the data translation. Filter rules : Use conditions to apply a finer level of control over which data gets translated along with the primary objects. Action rules : Defines the sets of methods that can be called before, during, and after the translation. Property sets : Provides a mechanism for PLM XML objects to have arbitrary properties in the form of UserData elements. Context : Provides a mechanism for using method extensions to export or import a specific Teamcenter business object or PLM XML element. Revision Rule : Specifies a transfer mode revision rule, though the rule is not applied to the target data during export and import.

CLOSURE RULE

Traversal Rule Name : Custom_CloseRule Description : Facultative Scope of Traversal : Export / Import Output Schema Format : PLMXML / TCXML

CLOSURE RULE

Secondary Object : Dataset / ImanFile / Custom_Object / *

Secondary Object Class Type : Specifies the secondary object class or type to be translated. The class or type name is preceded by the CLASS or TYPE keyword and a period (.)

Primary Object : Dataset / ImanFile / Custom_Object

Primary Object Class Type : Specifies the primary object class or type to be translated. The class or type name is preceded by the CLASS or TYPE keyword and a period (.)

CLOSURE RULE

Relation Type : Specifies the relationship between the secondary and primary object class or type. The relation name is preceded by a keyword and a period.

ATTRIBUTE : Specifies the name of the Teamcenter attribute of the primary object that refers to the secondary object.

PROPERTY : Specifies the name of the Teamcenter property of the primary object that refers to the secondary object.

RELATIONP2S : Specifies the relation type that binds the primary and secondary object and indicates that the traversal begins at the primary object.

RELATIONS2P : Specifies the relation type that binds the primary and secondary object and indicates that the traversal begins at the secondary object.

REFBY : Specifies the name of the attribute of the secondary object that relates the secondary object to the primary object.

OCCTYPE : Specifies the type of occurrence in a BOM window that relates the primary object to the secondary object.

FUNCTION : Specifies that the named function be executed. The FUNCTION relation selector applies only to TC XML data exchange use cases. It has no effect when used in closure rules for PLM XML export and import.

CLOSURE RULE

Related Property Or Object : CMImplements / HasParticipant / items_tag

Action Type : Specifies the traversal actions to be taken. It must be one or a combination of the following keywords :

SKIP : Specifies that the relationship should not be followed. This directive is useful to eliminate special cases before a more general rule is reached.

PROCESS : Processes the secondary object but does not traverse further, unless combined with the TRAVERSE action.

TRAVERSE : Specifies that the object becomes another target of the translation.

PROCESS+TRAVERSE : The PROCESS and TRAVERSE actions can be combined by using the shift key.

REFERENCE : Writes a PLM XML pointer entity.

CHANGE_CLOSURE_RULES : Alters the closure rules in force when an entity being processed contains its own closure rule element.

DO : Processes the secondary object and specifies that the object becomes another target of the translation.

CLOSURE RULE

CLOSURE RULE

Conditional Clause : Evaluates to TRUE or FALSE and is expressed in the following form :

Condition := Expression1 == Expression2

Condition := Expression1 != Expression2

Condition := (Condition) && (Condition)

Condition := (Condition) || (Condition)

Condition := (!Condition)Predicate : ?

CLOSURE RULE

PROPERTY SET

Property Set Name : Custom_PropSet Description : Facultative Scope of Property Set : Export / Import

PROPERTY SET

Primary Object : Dataset / ImanFile / Custom_Object

Primary Object Class Type : Specifies the primary object class or type to be translated. The class or type name is preceded by the CLASS or TYPE keyword and a period (.)

Relation Type : Specifies the relationship between the secondary and primary object class or type. The relation name is preceded by a keyword and a period.

ATTRIBUTE : Specifies the name of the Teamcenter property of the primary object that refers to the secondary object

PROPERTY : Specifies the name of the Teamcenter attribute of the primary object that refers to the secondary object.

PROPERTY SET

Related Property Or Object : CMImplements / HasParticipant / items_tag

Property Action Type : Specifies the traversal actions to be taken. It must be one of the following keywords

DO : Specifies that the action be executed.

SKIP : Specifies that the relationship must not be followed. This directive is useful to eliminate special cases before a more general rule is reached.

transfer mode creation

Name : Mandatory Context : Optional (DEFAULT_PIE_CONTEXT_STRING) Description : Optional Type of Transfer : Export / Import Output Schema Format : PLMXML / TCXML Support Incremental : Unchecked by default Closure Rule : Choose Closure Rule Filter Rule : Choose Filter Rule Property Set : Choose Property Set Revision Rule : Choose Revision Rule Action List : List of defined tools Tab & List of selected tools Tab

transfer mode creation

transfer mode EXPORT

Export Transfer Mode in Administrator Command Prompt :tcxml_export -u=infodba -p=infodba -g=dba -uid=UID_Transfert_Mode -file=G:\SCRIPTS\custom_package\data\40-post\21-pietie_and_reports\plmxml\ Export_Tranfert_Mode_Name.xml

transfer mode export

UID Transfer_Mode :

General Search

-> Clear all Filters and Search by Type : Transfer Mode

-> Select Transfer Mode then use the Print Object View in order to show Transfer Mode UID

EXPORT ITEM TO PLMXML

Select the Revision of the concerned ObjectTools -> Export -> To PLMXML…

EXPORT ITEM TO PLMXML

Select the Revision of the concerned ObjectTools -> Export -> To PLMXML…

EXPORT ITEM TO PLMXML

Change Export Directory Filepath (If necessary Export Filename) Choose TransferMode Revision Rule, Optional Languages Perform Export in Background unchecked by default (if checked uses the Dispatcher) Open PLMXML File unchecked by default Check Selected Object in Object List -> OK

EXPORT ITEM TO PLMXML

Change Export Directory Filepath (If necessary Export Filename) Choose TransferMode Revision Rule, Optional Languages Perform Export in Background unchecked by default (if checked uses the Dispatcher) Open PLMXML File unchecked by default Check Selected Object in Object List -> OK

EXPORT ITEM TO PLMXML

Open the xml file with Notepad++ then check that all the properties and attributes necessary for the future Report are correctly reported by the Transfer Mode This file will be useful for creating the Excel Stylesheet

THANK YOU