Structure approval status

Oct 19, 2016 at 3:49 PM
I would like to access structure>properties>approval status from within a script. Structure has various properties (volume etc.) but I do not see one for approval status, or a get method. Thanks in advance!
Robin
Oct 31, 2016 at 5:46 PM
Likewise is there a way to get the Mean and SD of the HU of a structure? This is accessible via contouring..
Coordinator
Nov 16, 2016 at 2:17 PM
It doesn't look like you can get the approval status of a Structure with ESAPI. You can try getting it directly from the database.

The Structure class has a GetAssignedHU() method, but I don't know what it is; it doesn't seem to be the mean or the SD. However, you should be able to calculate this information yourself. The Image class has a GetImageProfile() method, which I would guess it gives you the raw HU values. You will need to use the Structure's GetSegmentProfile() method to obtain the vectors that are contained within the structure.
Nov 17, 2016 at 2:03 PM
Thanks for the info redcurry. Lets hope Varian are listening :-)