This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
stripping:stripping [2011/04/20 10:46] – [How to get the name of the lines] decianm | stripping:stripping [2011/04/20 11:09] (current) – [How to get the name of the lines] decianm | ||
---|---|---|---|
Line 19: | Line 19: | ||
</ | </ | ||
* This will give you something like: '' | * This will give you something like: '' | ||
+ | |||
+ | From Stripping 13 on, you have to do something like: | ||
+ | |||
<code python> | <code python> | ||
- | from StrippingSettings.Stripping12 | + | from StrippingSelections.Utils import |
- | _streams | + | streams = buildStreams(' |
- | for stream in _streams: | + | for stream in streams: |
- | | + | |
- | for line in stream.lines : | + | for line in stream.lines : |
- | print line.name(), | + | |
</ | </ | ||
===== How to access the event ===== | ===== How to access the event ===== |