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
 LabTalk Forum
 Switching an axis break on/off?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

johannes.kastl

Germany
71 Posts

Posted - 12/14/2012 :  03:55:12 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello,

it is possible to change the properties of an existing axis break via labtalk. But I found no way to switch the break on/off via labtalk. Is there a way?

Also I found no way of detecting whether or not an axis break exists. The properties on http://wiki.originlab.com/~originla/wiki/index.php?title=LabTalk:Layer.Axis.Break_%28object%29 are only valid, when a break exists, but how to check that?

Regards,
Johannes

Origin Ver. and Service Release (Select Help-->About Origin): 8.6G SR3
Operating System: Win XP

Kathy_Wang

China
159 Posts

Posted - 12/20/2012 :  03:42:02 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi,

There's no way to turn on the axis break via labtalk, you have to do this manually, sorry.

Kathy
Originlab
Go to Top of Page

johannes.kastl

Germany
71 Posts

Posted - 01/09/2013 :  08:20:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Kathy,

thanks for your answer. This would be a nice feature to be added to newer origin versions.

Any thoughts on the check for the axis break? (If this does not exist by now that would be a feature request, too...).

Regards,
Johannes
Go to Top of Page

Kathy_Wang

China
159 Posts

Posted - 01/09/2013 :  9:56:38 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Johannes,

I already submitted such feature request that to enable axis break with LT.

As to check whether an axis break exist, there's not an object property for this but since if there's no axis break, properties such as the layer.axis.break.from will return a missing value, so you could use this to determine, an example would be:


if(layer.x.break.from==0/0)
   type -b "There's no axis break";
else
   type -b "There's an axis break";


Kathy
Originlab
Go to Top of Page

johannes.kastl

Germany
71 Posts

Posted - 01/10/2013 :  09:20:15 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for your answer, Kathy. Seems like a good way to check for a break. I always forget the ==0/0 thingy... ;-)

Regards,
Johannes
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