Change Scraper direction or insert_from with alter Element
Posted: 11 Sep 2018, 04:18
Dear all,
1-) I am trying to use alter_elements to modify the direction of the SCRAPER element with no luck.
It appears that the "alter_elements" command does not work for changing the direction or (insert_from).
For example:
&alter_elements
name = SCRAP
item = DIRECTION
value = 2
&end
&alter_elements
name = SCRAP
item = POSITION
value = -0.001
&end
or
&alter_elements
name = SCRAP
item = INSERT_FROM
string_value = "-x"
&end
&alter_elements
name = SCRAP
item = POSITION
value = -0.001
&end
my scraper definition:
!SCRAP: SCRAPER, INSERT_FROM="+x", POSITION=-0.1
SCRAP: SCRAPER, DIRECTION=0, POSITION=0
I know I can make the changes in the lattice but I want to scan many positions for the scraper, it is easier to change it with alter_elements.
Is there any possibility to do it?
2-) If I have the scraper definition with "INSERT_FROM" and make output for all parameters, the values for the directions are "-1". So If I want to parse the parameters values to know which direction have the scrapers, it does not help. Is that correct, that all directions parameters are "-1" ?
3-) What is the effect of "INSERT_FROM = x"? oder "INSERT_FROM = y"?
Could you help me to find a solution?
Thanks in advance
Youssef
1-) I am trying to use alter_elements to modify the direction of the SCRAPER element with no luck.
It appears that the "alter_elements" command does not work for changing the direction or (insert_from).
For example:
&alter_elements
name = SCRAP
item = DIRECTION
value = 2
&end
&alter_elements
name = SCRAP
item = POSITION
value = -0.001
&end
or
&alter_elements
name = SCRAP
item = INSERT_FROM
string_value = "-x"
&end
&alter_elements
name = SCRAP
item = POSITION
value = -0.001
&end
my scraper definition:
!SCRAP: SCRAPER, INSERT_FROM="+x", POSITION=-0.1
SCRAP: SCRAPER, DIRECTION=0, POSITION=0
I know I can make the changes in the lattice but I want to scan many positions for the scraper, it is easier to change it with alter_elements.
Is there any possibility to do it?
2-) If I have the scraper definition with "INSERT_FROM" and make output for all parameters, the values for the directions are "-1". So If I want to parse the parameters values to know which direction have the scrapers, it does not help. Is that correct, that all directions parameters are "-1" ?
3-) What is the effect of "INSERT_FROM = x"? oder "INSERT_FROM = y"?
Could you help me to find a solution?
Thanks in advance
Youssef