Showing results for 
Search instead for 
Did you mean: 

Simcenter 3D API: Deform Part From Results

Siemens Phenom Siemens Phenom
Siemens Phenom

Utility Name





This program modifies the geometry of the parent part to match the deformed shape of the finite element model.


This application automates a task that can be time consuming, namely the summation of an elemental result (strain or kinetic energy) on groups of elements.



Detailed Description

This program will display a dialog to allow the user to choose a displacement result from one of the solutions in the current simulation. They will also choose the desired outcome - deforming the part and/or exporting data files containing product and sprung point data.


Optional input is the specification of a scaling factor and the deformation box grid size for the global deformation operation.


The code will extract the coordinates of each node and the displacement at each node from the results file. The displacements are added to the coordinates to produce the deformed coordinates.



General Information

Compatible versions

Source code


Simcenter 3D 11


Geometry, deformed shape, fine element



Known Issues




Test Case

  1. Open the .sim file
  2. Load the parent prt file
  3. Launch the application (should be located in $UG_USER_DIR/application):
  4. File > Execute > NX Open > DeformPartFromResults.dll
  5. The main menu is shown
    Step 5.png
  6. Click on Apply. A new Polygon body is created with the chosen deformed shape and an Information window is shown with some program information.Step 6.png




Name: Jim Bernard



Great utility. 


Can you update your API for Simcenter 12?


Can you update your API for Simcenter 2019?

Please?!? :-)

Siemens Phenom Siemens Phenom
Siemens Phenom

The provided version works fine for me in Simcenter 12.0.2 and Simcenter 3D 2019.1.


Have you tried it? If so, and are having trouble, please elaborate (what error messages, behavior/etc.)


Hello JimB,


i have tried in Simcenter 12, but voted  for 2019 because we need it in 2019 anyways (we´re switching soon)

In Simcenter 12.02 it does not work for me, the eror i get is


Error in external library. See System log for details

Function name: Main


Here´s the relevant log part:

it says it failed validation

Successfully loaded dynamic module C:\3dx\nx120fem-64\NXBIN\libhelpint.dll
Loaded module c:\3dx\nx120fem-64\nxbin\libnxkinematic.dll 7fff74410000 42000 ca57bd8d-4978583b-96cf8886-53d4d5b6-1=libnxkinematic___153446039764 version =
Loaded module c:\3dx\nx120fem-64\nxbin\libmdft.dll 7fff71560000 e7000 8ac63811-46414247-b6754aa1-72dacc96-1=libmdft___153445903164 version =
Loaded module c:\3dx\nx120fem-64\nxbin\libmdphys.dll 7fff6e080000 817000 a6007b7e-4c098241-92bf22a6-ffe7f3fe-1=libmdphys___153445890364 version =
Loaded module c:\3dx\nx120fem-64\nxbin\libflat.dll 7fff74ab0000 5b000 8ce3bce-43771c3b-f10dda6-d2d8d795-1=libflat___153435689764 version =
Loaded module c:\3dx\nx120fem-64\nxbin\libfmbd.dll 7fff6f720000 23b000 13e76eca-4dcd77ff-a76db4bb-726cb717-1=libfmbd___153445971564 version =
Loaded module c:\3dx\nx120fem-64\nxbin\libsmdint.dll 7fff71650000 281000 189d7d10-49a3f5dc-6e5783a6-fa8fd5db-1=libsmdint___153435203564 version =
Loaded module c:\3dx\nx120fem-64\nxbin\libassyrni.dll 7fff7b190000 17000 bf454578-47a3dee2-57636e84-d05c4381-1=libassyrni___153435303064 version =
Loaded module c:\3dx\nx120fem-64\nxbin\libhelpint.dll 7fff718e0000 17a000 30143f0a-4ac4eec3-76b4539f-4f90545d-1=libhelpint___153445990264 version =
Loaded module c:\windows\\framework64\v4.0.30319\diasymreader.dll 7fffa4740000 138000 823273b4-4d7bbc32-f441159b-b70a8ba5-3 version = 14.7.3056.0
Loaded module c:\windows\assembly\nativeimages_v4.0.30319_64\microsoft.v9921e851#\c5735af93087725da36330e011b007ef\ 7fffa4ad0000 218000 c5735af9-725d3087-e03063a3-ef07b011-1 version = 14.7.3056.0
Loaded module c:\windows\assembly\nativeimages_v4.0.30319_64\system.xml\d1f5e51a1f021538b5ea2563505754f5\ 7fffa7090000 88c000 d1f5e51a-15381f02-6325eab5-f5545750-1 version = 4.7.3056.0
Loaded module c:\windows\assembly\nativeimages_v4.0.30319_64\system.configuration\b9e165f74b9e6ed9d1e463ca15a60bd5\ 7fffa7920000 12a000 b9e165f7-6ed94b9e-ca63e4d1-d50ba615-1 version = 4.7.3056.0
Loaded module c:\windows\assembly\nativeimages_v4.0.30319_64\system.core\a7eb69b0e2e5c8d77eae8bfbdb936bbb\ 7fffaa960000 a50000 a7eb69b0-c8d7e2e5-fb8bae7e-bb6b93db-1 version = 4.7.3221.0
Loaded module c:\windows\assembly\nativeimages_v4.0.30319_64\system\681a827721f217c4bd0d480661380fad\ 7fffab3b0000 c40000 681a8277-17c421f2-6480dbd-ad0f3861-1 version = 4.7.3314.0
Loaded module c:\windows\\framework64\v4.0.30319\clrjit.dll 7fffae2b0000 12b000 4e3d6f70-400e59f2-f4b0e089-816dc551-2 version = 4.7.3260.0
Loaded module c:\windows\assembly\nativeimages_v4.0.30319_64\mscorlib\d6009efb32eeecfdd2f5855cd2d60c54\ 7fffabff0000 158b000 d6009efb-ecfd32ee-5c85f5d2-540cd6d2-1 version = 4.7.3260.0
Loaded module c:\windows\system32\msvcr120_clr0400.dll 7fffbb8b0000 f7000 b209650e-472f2814-eb5cb593-83911ddb-1=msvcr120_clr0400.amd64 version = 12.0.52519.0
Loaded module c:\windows\\framework64\v4.0.30319\clr.dll 7fffad580000 9ed000 6a9b85ea-471a469d-e5b12591-5a1bdf19-2 version = 4.7.3260.0
Loaded module c:\windows\\framework64\v4.0.30319\mscoreei.dll 7fffbba30000 9c000 ea02d2bd-47e152f4-a57a7c94-d8ea7ce8-2 version = 4.7.3056.0
Loaded module c:\windows\system32\mscoree.dll 7fffbbad0000 64000 2e66277-120ac518-fb3b7a96-940c85c1-1 version = 10.0.17134.1
&MACRO MENU, 0, UG_FILE_RUN_UFUN UG_GATEWAY_MAIN_MENUBAR <RibbonFileBar->BackStageBar->LeftBackStageGroup->UG_FILE_RUN> ## ! 
&MACRO FILE_DIALOG_BEGIN 0, ! filebox with tools_data
&MACRO FILE_BOX -2,@@@C:\3dx\nx120fem-64\USERDIR\application\DeformPartFromResults.dll@@@C:\3dx\nx120fem-64\USERDIR\application\*.DLL@@@ 0 ! Execute User Function
Using C:\3dx\nx120fem-64\nxbin\managed\ManagedLoader.dll to load managed DLL
Trying to load C:\3dx\nx120fem-64\nxbin\managed\ManagedLoader.dll
ManagedLoader.Load: C:\3dx\nx120fem-64\USERDIR\application\DeformPartFromResults.dll Name:DeformPartFromResults.dll
Keine Kontextrichtlinien vorhanden.

AppBase: C:\3dx\nx120fem-64\USERDIR\application\
Loaded assembly: DeformPartFromResults, Version=, Culture=neutral, PublicKeyToken=null from C:\3dx\nx120fem-64\USERDIR\application\DeformPartFromResults.dll
Loaded assembly: Microsoft.VisualBasic, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a from C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Microsoft.VisualBasic\v4.0_10.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll
Resolve failed: NXOpen, Version=, Culture=neutral, PublicKeyToken=null
Loaded assembly: NXOpen, Version=, Culture=neutral, PublicKeyToken=null from C:\3dx\nx120fem-64\nxbin\managed\NXOpen.dll
Loaded: : NXOpen, Version=, Culture=neutral, PublicKeyToken=null
Loaded assembly: NXOpen.Utilities, Version=, Culture=neutral, PublicKeyToken=null from C:\3dx\nx120fem-64\nxbin\managed\NXOpen.Utilities.dll
Resolve failed: NXOpen.UF, Version=, Culture=neutral, PublicKeyToken=null
Loaded assembly: NXOpen.UF, Version=, Culture=neutral, PublicKeyToken=null from C:\3dx\nx120fem-64\nxbin\managed\NXOpen.UF.dll
Loaded: : NXOpen.UF, Version=, Culture=neutral, PublicKeyToken=null
Resolve failed: NXOpenUI, Version=, Culture=neutral, PublicKeyToken=null
Loaded assembly: NXOpenUI, Version=, Culture=neutral, PublicKeyToken=null from C:\3dx\nx120fem-64\nxbin\managed\NXOpenUI.dll
Loaded: : NXOpenUI, Version=, Culture=neutral, PublicKeyToken=null
Verifying C:\3dx\nx120fem-64\USERDIR\application\DeformPartFromResults.dll for NXOpen signature.
NXOpen.Utilities.MissingResourceException: Assembly has not been compiled with an NX resource bundle
   bei NXOpen.Utilities.ResourceUtilities..ctor(Byte[] assemblyData)
   bei NXOpen.Utilities.BaseSession.verifyAssembly(String filename, Boolean& alliance_mode, SignatureType signTypeNeeded)
Validation failed 
Caught exception while running: Main
System.TypeInitializationException: Der Typeninitialisierer für "DeformPartFromResults.DeformPartFromResults" hat eine Ausnahme verursacht. ---> NXOpen.Utilities.NeedDOTNETAuthorLicenseException: Invalid NX signature found
   bei NXOpen.Utilities.BaseSession.InitLicense()
   bei NXOpen.Utilities.BaseSession.StaticInitialize()
   bei NXOpen.Session.GetSession()
   bei DeformPartFromResults.DeformPartFromResults..cctor()
   --- Ende der internen Ausnahmestapelüberwachung ---
   bei DeformPartFromResults.DeformPartFromResults.Main()
&MACRO MESSAGE_BOX  -2  Error in external library. See system log for details
&MACRO MESSAGE_TEXT  File name: C:\3dx\nx120fem-64\USERDIR\application\DeformPartFromResults.dll
&MACRO MESSAGE_TEXT  Function name: Main
Unloading C:\3dx\nx120fem-64\USERDIR\application\DeformPartFromResults.dll
&MACRO MENU, 0, UG_LWIN_FILE_EXIT ListingWindowMenuBar !
&MACRO MENU, 0, UG_HELP_SYSTEM_LOG UG_GATEWAY_MAIN_MENUBAR <RibbonFileBar->BackStageBar->LeftBackStageGroup->rbn_file_tab_help_cascade.csb> ## ! 




Hello JimB,


could it be, that the dll is not signed?

since you have author rights, it still works for you, but fails for users who do not own an author license?

Siemens Phenom Siemens Phenom
Siemens Phenom

The dll was signed, but it was last built in NX 7.5. The signing utility was changed in NX 12, so that signature was no longer valid.


I've updated it to NX 12, re-built and re-signed it. I've submitted a revision of this article for moderator approval. Once approved, a new download link for the Simcenter 12 version should appear. This version works at least in Simcenter 12, Simcenter 3D 2019.1 and Simcenter 3D 2019.2.


Sounds great, thanks a lot!