Showing results for 
Search instead for 
Do you mean 
Reply

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

[ Edited ]

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.Simulation Details BlockSimulation Details Block

 

 

 

 

Stefan Pendl, Systemmanager CAx, HAIDLMAIR GmbH
Production: NX10.0.3, VERICUT 8.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community
1 REPLY

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

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.0, FBM, MRL 3.1.4 | TcUA 10.1 MP7 Patch 0 (10.1.7.0) | TcVis 10.1
Development: VB.NET, Tcl/Tk    Testing: NX11.0 EAP, NX12.0 EAP

How to Get the Most from Your Signature in the Community