[Gate-users] LET Actor "setRestricted" and "setOtherMaterial" commands not found?

Cassandra Miller cassandramiller at phas.ubc.ca
Wed Apr 28 20:27:27 CEST 2021


Hello all,

The gate wiki lists the following commands for the LET actor:

/gate/actor/MyActor/setRestricted false
/gate/actor/MyActor/setOtherMaterial G4_WATER

But when I try and use them, I get the error:

/gate/actor/MyActor/setRestricted false
[G4-cerr] ***** COMMAND NOT FOUND </gate/actor/MyActor/setRestricted 
false> *****
[Gate] Sorry, error in a macro command : abort.

with a similar error for "setOtherMaterial". Does anyone know why they 
don't work? I'm using gate version 9. My entire actor script is:

/gate/actor/addActor    LETActor       MyActor
/gate/actor/MyActor/save               output/myLETactor.mhd
/gate/actor/MyActor/attachTo           phantom
/gate/actor/MyActor/setResolution      51 51 51
/gate/actor/MyActor/setType            DoseAveraged
/gate/actor/MyActor/doParallelCalculation true
/gate/actor/MyActor/setRestricted false


Thanks!

Best,
Cassandra

-- 

Cassandra Miller
PhD Candidate, Physics
Quantitative Radiomolecular Imaging and Therapy Lab
Department of Physics and Astronomy, University of British Columbia



More information about the Gate-users mailing list