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
 user parameter row
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

wiktoria164

Poland
2 Posts

Posted - 12/14/2022 :  2:12:31 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,
I'm having trouble adding a value to a user parameter row. I can add one by function: wks._user_param_row("B", add=True), but I don't know how to insert values of B into every column.
Thank you for your help.

YimingChen

1618 Posts

Posted - 12/14/2022 :  2:36:45 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You can try the script below to add a label row "Measure" and set the label of col(A) to "run1". Here the label row name string length should be larger than 1.

wks.set_label(0, 'run1', 'Measure')


James
Go to Top of Page

wiktoria164

Poland
2 Posts

Posted - 12/14/2022 :  3:07:59 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thank you James. Your solution worked.
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