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
 GetNumDataPlots or something like that possible?

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
Dominik Paulkowski Posted - 11/22/2006 : 11:11:37 AM
Origin Version (Select Help-->About Origin): Origin 7.5G SR6
Operating System: XP Professional

In my script I need the number of already existing DataPlots in a GraphPage or GraphLayer. Is there something possible like:

int iDataPlotNumbers = gl.GetNumDataPlot();

This idea is based on

int iColNumbers = wks.GetNumCol();

I need this to avoid "Unattached Wrapper Class Members" in bad cases, that are possible on re-run script in the same opened project.

-------------------
:-Dipl.-Phys. at
Fraunhofer Institute for Surface Engineering and Thin Films IST, Braunschweig, Germany

Edited by - Dominik Paulkowski on 11/22/2006 11:12:50 AM
2   L A T E S T    R E P L I E S    (Newest First)
Dominik Paulkowski Posted - 11/23/2006 : 02:55:50 AM
Hi, Mike!

Thanks a lot! That is very well.

:-Dominik

-------------------
:-Dipl.-Phys. at
Fraunhofer Institute for Surface Engineering and Thin Films IST, Braunschweig, Germany
Mike Buess Posted - 11/22/2006 : 11:50:00 AM
Hi Dominik,

This gives the number of dataplots in graphlayer gl...

int iDataPlotNumbers = gl.DataPlots.Count();

Mike Buess
Origin WebRing Member

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