Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
TorbenS
Posted - 01/05/2021 : 09:48:36 AM Hello everyone,
I try to automate the creation of my graphs. Therefore I use external Python 3.9.1 and the originpro libary and I am already able to create my graphs in origin in this fashion.
Before, I liked to order different graphs in subfolders in the project explorer. It would be very nice if I could create subfolders in the project explorer with external Python. Until now I did not found the correct function which does this for me. But, I am relativly new to Python, so maybe I did not saw it or did not understood it correctly. So if there is such a function it would be nice if you let me know.
Thanks in advance! Cheers Torben
2 L A T E S T R E P L I E S (Newest First)
TorbenS
Posted - 01/06/2021 : 11:10:50 AM Hey,
the code works perfectly for me! Thank you.
Torben
YimingChen
Posted - 01/05/2021 : 10:19:08 AM Hi,
Use Python script below in external Python:
import originpro as op
fldr = op.po.RootFolder.Folders.Add('subfolder')
fldr.Activate()