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 Automation Server/COM and LabVIEW
 Documentation for OriginLab type library?

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
ChemistryGuy Posted - 12/05/2017 : 6:42:38 PM
Origin Ver. and Service Release (Origin Pro 2017, 64 bit):
Operating System:

Hi everyone,

I have been writing code with VBA to automate various tasks in Origin.

So far I have determined the purpose and syntax of methods and properties by looking at examples, and experimentation.

However, this would be a lot easier if there was a document available that listed all objects, and the meaning of each of their properties and methods.

For example, Adobe CreativeSuite has the following document, which gives this information for their type library:

http://wwwimages.adobe.com/content/dam/acom/en/devnet/illustrator/pdf/Illustrator_Scriptin_Reference_JavaScript_cc.pdf

Does anyone know if an analagous document exists for Origin?

Thank you and regards,

Conrad
3   L A T E S T    R E P L I E S    (Newest First)
eparent Posted - 12/14/2017 : 3:37:56 PM
Origin C is more robust than the COM interface. COM can execute LabTalk code which means you can also execute Origin C code. This allows you to continue using COM but do the things COM cannot in LabTalk and Origin C.
ChemistryGuy Posted - 12/11/2017 : 7:12:36 PM
Yes that is what I was after, thank you very much for providing this link.

I also had one follow up question: I looked at the GraphLayer (and similar) objects and I could not find any properties that referred to the settings of the graph. For example the line thickness or axes minimum values.

So I believe that these properties are not exposed in the Type Library. Based on this I conclude that if I want to programmatically alter these properties, I will need to use a different approach. Eg by writing my program in Origin C instead of VBA. Please would you advise me if you agree with my understanding?
eparent Posted - 12/07/2017 : 09:43:16 AM
Is our Automation Server page what you are looking for?
https://www.originlab.com/doc/COM

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