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
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Naming in GraphPage() and GraphLayer() constructor

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
hofmaale Posted - 03/26/2015 : 10:20:26 AM
Hi,

after adding some additional information to the names of graphs created by one of my import-scripts, the program failed with an onknown runtime error when executing
GraphLayer gl(graphName, 0);


The program works, however, when using

GraphPage gp(graphName);
GraphLayer gl = gp.Layers(0);


graphName does neither contain invalid characters, nor exceed 31 chars (in fact it's allways exactly 21 characters).

It does not pose any problem at the moment, but I was just wondering if this is a bug or I'm just misinterpreting the docs...

Greetings
Alex

Origin Ver. and Service Release (Select Help-->About Origin): 2015
Operating System: Win 7 x64
1   L A T E S T    R E P L I E S    (Newest First)
Echo_Chu Posted - 03/30/2015 : 05:40:01 AM
Hi,

Thank you for reporting the problem.

gl(graphName, 0) only works for graph name less than 13 characters.

We add this problem in our bug-tracking database, ORG-12894, and will improve it.

Before we get it fixed, please use the second way you mentioned in the post. (b.t.w, the limitation of graph short name is 24 character instead of 31)

Echo
OriginLab




The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000