Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
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:
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?