The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Python
 Changing graph's shortname
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rererere

1 Posts

Posted - 07/19/2021 :  12:06:01 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver.: Origin 2021b (64-bit) SR2 9.8.5.212(academic)
Operating System: Windows10
=================================

Hi. I'd like to set or change a graph's shortname via python script.
Is there a command to do that?

Any information is appreciated.
Thanks in advance.

Sincerely,
rererere



YimingChen

1618 Posts

Posted - 07/19/2021 :  10:50:25 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
If you have the graph object, you can set graph short name by:
graph.name = 'MyGraph'


James

Edited by - YimingChen on 07/19/2021 10:51:00 AM
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000