First, let's confrim the behavior - when a machine tool is retrieved from the library, the rigidity factor is saved in the machine tool object in the setup in the work part. If the rigidity changes in the library, you need to retrieve the machine again to update the part file. There is no UI for the setup. The only UI is for the library in Edit Machining Data Libraries.
I think you are asking how to set the rigidity factor in the setup, independent of the library. This vb program will do that by setting the parameter named "Tool Rigidity".
' MachineToolRigidity.vb ' This journal will set the Rigidity in the Machine Tool in the work part Setup ' This is a code sample only with no error checking. ' 21-nov-16 Mark Rief ' Option Strict Off Imports System Imports System.IO Imports NXOpen Imports NXOpen.CAM Module MachineToolRigidity Dim lw As ListingWindow Sub Main (ByVal args() As String) Dim theSession As Session = Session.GetSession() Dim workPart As Part = theSession.Parts.Work Dim machineRoot As CAM.NCGroup = workPart.CAMSetup.GetRoot(CAMSetup.View.MachineTool) ' Take action on the machine tool root lw = Session.GetSession().ListingWindow() lw.Open() lw.WriteLine( "Old Rigidity : " + machineRoot.GetRealValue( "Tool Rigidity").ToString()) machineRoot.SetRealValue( "Tool Rigidity", 0.54321) lw.WriteLine( "New Rigidity : " + machineRoot.GetRealValue( "Tool Rigidity").ToString()) End Sub End Module