Page tree
Skip to end of metadata
Go to start of metadata

In general

If a model is assembled in PTC Creo, for example insert a part to an assembly, the "Component Placement" dialog is opened in PTC Creo Parametric .

When the constraint relationship between the models are changed in this dialog and are confirmed with "Enter" by the user, the modela are moved automatically in the assembly by PTC Creo Parametric.

Symptom

When models are added to an assembly using the SAP ECTR Interface to PTC Creo function "Add Components" the "Component Placement" dialog is opened in PTC Creo Parametric.

But when the constraint relationship between the models are changed in this dialog and are confirmed with "Enter" by the user now, unfortunately the models are not moved automatically in the assembly by PTC Creo Parametric.

The models are only moved when the dialog is closed.

But this symptom only occurs when models are added the first time.

Solution

There is an issue with the used PTC Toolkit API for the functionality "Component Placement", respectively there is an issue of PTC Creo Parametric in combination with its API.

SAP ECTR interface to PTC Creo:

With patch 49 of the SAP ECTR interface to PTC Creo (V1.1.26) a technical solution is provided for this issue.

Mapkeys are used per default instead of the PTC Toolkit API.

In the configuration file"...\applications\pro\customize\config\mapkeys.txt" the following mapkeys are delivered activated: (both mapkeys are needed activated)

riess_assemble_comp ...

riess_assemble_comp_multi ...


If the mapkeys are deactivated the PTC Toolkit API is used.

For multiple selection in SAP ECTR the following preference must set:

default.txt: plm.document.addComponent.singleSelectionOnly.PRO=false


Workaround:

However, the functionality is available in general, components are added without an error from SAP ECTR using following workaround:

  • Add components to an assembly using SAP ECTR Interface to PTC Creo function "Add Components".
  • After adding the last component close the "Component Placement" dialog at first with green hook.
  • Reopen the "Component Placement" dialog again (Edit Definition).
  • If constraint relationships between models are changed now, the models are moved automatically after changing a distance
  • No labels