insert_elements

Moderators: cyao, michael_borland

Post Reply
petrenko
Posts: 43
Joined: 09 Jun 2008, 02:53
Contact:

insert_elements

Post by petrenko » 16 Sep 2008, 11:04

Could you give an example of "insert_elements" usage please?
I can't make it work.
Attachments
insert_elements.tar.gz
(5.97 KiB) Downloaded 166 times

xiaoam
Posts: 17
Joined: 12 Jun 2008, 09:27

Re: insert_elements

Post by xiaoam » 16 Sep 2008, 11:44

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

petrenko
Posts: 43
Joined: 09 Jun 2008, 02:53
Contact:

Re: insert_elements

Post by petrenko » 17 Sep 2008, 02:12

Thanks a lot!
It's quite hard to guess. Probably it makes sense to set the default "skip" to 1.

Post Reply