0

Convert python to idv.

Hi, I want to convert a python file (.py) to .idv file, Can I do it ?

vetero's avatar
37
vetero
asked 2017-01-05 22:12:24 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

0

PY to IDV conversion - Use the PSSe recording feature:

  • Load PSSe

  • Click the recording button and select to save as idv

  • run the py script, select first the file type as *.py

  • Click the stop button. The py command are translated in the idv file!

PY commands with no equivalent in IDV will be ignored.

The IDV to PY conversion is done similarly.

jconto's avatar
2.9k
jconto
answered 2017-01-07 22:33:01 -0500
edit flag offensive 0 remove flag delete link

Comments

Thank you very much !

vetero's avatar vetero (2017-01-08 21:09:48 -0500) edit
add a comment see more comments
0

Is there an API to record an IDV and run a separate PY script? I have multiple PY files that make various changes to my case, and I would like to convert each of them to IDV. It would be a whole lot easier to write a script to convert all of these, rather than manually converting each.

jeremy.harris.ee's avatar
1
jeremy.harris.ee
answered 2018-01-04 10:42:00 -0500
edit flag offensive 0 remove flag delete link

Comments

I've found an API for PSEB and PSAS, which convert PSEB and PSAS files to idv, but can't seem to find anything for python.

jeremy.harris.ee's avatar jeremy.harris.ee (2018-01-04 10:54:16 -0500) edit

Nevermind, I was able to determine a fix for my issue of running python files.

jeremy.harris.ee's avatar jeremy.harris.ee (2018-01-05 10:23:49 -0500) edit

Hi Jeremy, is it possible for you to share the api to convert PSAS to idv?

Type1_bus's avatar Type1_bus (2020-09-21 22:50:58 -0500) edit
add a comment see more comments

Your Answer

Login/Signup to Answer