Page 1 of 1

insert_elements

Posted: 16 Sep 2008, 11:04
by petrenko
Could you give an example of "insert_elements" usage please?
I can't make it work.

Re: insert_elements

Posted: 16 Sep 2008, 11:44
by xiaoam
Thank you for trying our code.

In your insert_elements command, you need to add "skip=1" or some none zero number according to your problem.
The default value "skip=0" has no action to add element to the beamline.

aimin

Re: insert_elements

Posted: 17 Sep 2008, 02:12
by petrenko
Thanks a lot!
It's quite hard to guess. Probably it makes sense to set the default "skip" to 1.