Cancel
Showing results for 
Search instead for 
Did you mean: 

How to get the contents of the details block of the IS&V dialog

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I would like to get the information as displayed in the details block of the IS&V dialog when I run IS&V as a background process through NXOpen API.

The only thing that looks promising is the SimDebugBuilder, but I want to make sure that is the case.

See image below for what I am talking about.

Thanks in advance for any pointers into the right direction.SimulationDetailsBlock.PNGSimulation Details Block

 

 

 

 

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide
1 REPLY

Re: How to get the contents of the details block of the IS&V dialog

Gears Esteemed Contributor Gears Esteemed Contributor
Gears Esteemed Contributor

I have done some testing and the following C# code seems to be promising, but I still am not sure if this is used correctly.

Part wp = theSession.Parts.Work();
KinematicConfigurator kinCfg = wp.KinematicConfigurator;
NCGroup rootGroup = wp.CAMSetup.GetRoot(CAMSetup.View.ProgramOrder);
CAMObject[] simObjs = { rootGroup };

IsvControlPanelBuilder ctrPanBld = kinCfg.CreateIsvControlPanelBuilder(IsvControlPanelBuilder.VisualizationType.MachineCodeSimulateCse, simObjs);

ctrPanBld.PlayForward();

// Start dumping simulation details ...
ctrPanBld.SimDebugBuilder.DumpToFileName = "C:\MyISV.log";
ctrPanBld.SimDebugBuilder.DumpOutput = SimDebugBuilder.OutputType.ToFile;
ctrPanBld.SimDebugBuilder.Dump = SimDebugBuilder.DumpType.Details;
ctrPanBld.SimDebugBuilder.Dump = SimDebugBuilder.DumpType.None;
// Finished dumping simulation details ...

ctrPanBld.Destroy();

Is there anyone out there to shed some light on this?

Thanks in advance.

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.1, FBM, MRL 3.1.7 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 11.4
Development: C (ITK), .NET, Tcl/Tk Testing: NX12.0 | AWC 3.4 Preparing: NX12.0

Employees of the customers, together we are strong Smiley Wink
How to Get the Most from Your Signature in the Community
NX Customization - Best Practice Guide