TeamcenterKnowledge

4th Generation Design and Product Configurator utilities

ptn0_persist_dynamicMembers

Traverses the complete partition breakdown of a collaborative design, executes every partition recipe, and creates static membership objects in the database. Traversal of a large product may take a significant time and Siemens Digital Industries Software recommends you schedule the utility to execute periodically as a cron job. Execute it at a frequency that ensures the saved state of dynamic members is sufficiently up-to-date to produce reliable results from the wherePartitioned service (this service uses static membership objects to identify owning partitions for design elements). When you run this utility, it deletes membership objects it previously created and creates new membership objects, according to the latest recipes on the partitions. It also generates an error report in the XML format at the location specified in the TC_TMP_DIR environment variable. If you do not set this environment variable, the error report is generated at the location from where the ptn0_persist_dynamicMembers utility was executed. Instead of generating a new error report every time this utitlity is executed, if you want a consolidated error report, set the file name of the report in the Ptn0PersistDynamicMembers_ErrorReport_FileName environment variable. You can set this environment variable either as a user or as a system variable. While specifiying the file name, do not include any spaces and quotation marks. If you set the environment variable from a command prompt, the consolidated error report is generated till you close the command prompt. Syntax ptn0_persist_dynamicMembers [-u=user-id {-p=password | -pf=password-file} -g=group] -m=model_id -s=partition scheme type name [-revisionrule=rev rule name] [-h] Arguments -u Specifies the user ID. This is a user with Teamcenter administration privileges. Note If Security Services single sign-on (SSO) is enabled for your server, the user and password arguments are authenticated externally through SSO rather than being authenticated against the Teamcenter database. If you do not supply these arguments, the utility attempts to join an existing SSO session. If no session is found, you are prompted to enter a user ID and password. -p Specifies the password. This argument is mutually exclusive with the -pf argument. -pf Specifies the password file. For more information about managing password files, see Manage password files. This argument is mutually exclusive with the -p argument. -g Specifies the group associated with the user. If used without a value, the user's default group is assumed. -m Specifies the identifier of the collaborative design (model) to traverse. -s Specifies the type name of the partition scheme, for example, Ptn0SchemeFunctional, Ptn0SchemePhysical, or Ptn0SchemeSpatial. -revisionrule Optionally specifies a revision rule to apply. If no revision rule is specified, the utility uses the default revision rule. -h Displays help for this utility. Restrictions This utility must be run by a user with Teamcenter administration privileges. Examples Copy ptn0_persist_dynamicMembers -u=adminjones -p=passjones -g=dba -m=new_ship_design -s=Ptn0SchemeFunctional -revisionrule=Any Status;Working In case of an error, to troubleshoot it, open the error report in any browser. Sample report with updated failed partitions Report attribute Description Display_Name (of ProductDesign1) Contains the display name of the product design element. Update_Failed_Count (of ProductDesign1) Specifies the number of partitions that failed to update. Display_Name (of Partitionpartition_number) Contains the display name of the partition. Error_Message (of Partitionpartition_number) Specifies why the partition failed to update. Sample report with OtherErrors Element

Source: https://docs.sw.siemens.com/documentation/external/PL20251212545240207/en-US/tc_help/utilities_reference/hen1737253693250/id1691327.html · retrieved Fri Jul 31 2026 00:00:00 GMT+0000 (Coordinated Universal Time)