WorldViz User Forum

WorldViz User Forum (https://forum.worldviz.com/index.php)
-   Vizard (https://forum.worldviz.com/forumdisplay.php?f=17)
-   -   Pspice Call (https://forum.worldviz.com/showthread.php?t=3008)

jassel41 10-08-2010 07:53 AM

Pspice Call
 
Hi,

I was wondering if there was a way to call the program Pspice in Vizard and maybe show a resulting graph from the output of Pspice in the Vizard environment?

Thank you,
Jassel41

farshizzo 10-08-2010 11:16 AM

I'm not familiar with pspice, but you can call any external process and pass it arguments by using the Python subprocess module. Example:
Code:

import subprocess
subprocess.call(['pspice.exe','arg1','arg2'])



All times are GMT -7. The time now is 09:21 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC