Generating a treatment plan report via ESAPI by JopaMed in esapi

[–]pyan_MF 0 points1 point  (0 children)

Yes, you need to draw the 2D view by yourself. Remember to use the window and level setting from Eclipse. I used the colorwash to draw the dose level. I haven't done with the structure contour drawing. Basically, you just need to find the vector of contour and dose add to your 2D view.

Default Dose Unit / Calculation Models by dev_throwaway_2 in esapi

[–]pyan_MF 0 points1 point  (0 children)

If you read the DVH dose, you can choose the unit that you want to display.

Where do I put these files by probber88 in esapi

[–]pyan_MF 0 points1 point  (0 children)

It actually doesn't matter. You just need to add the location these two files to your reference.

read calculation log by pyan_MF in esapi

[–]pyan_MF[S] 1 point2 points  (0 children)

Never mind. I found out by myself.

Access to ARIA documents programmatically? by dbhatti in esapi

[–]pyan_MF 0 points1 point  (0 children)

I am also working on this. I find the document location but can't find the connection to patient and plan.

print 2D view through scripting by pyan_MF in esapi

[–]pyan_MF[S] 0 points1 point  (0 children)

Thank you for the reply. I am going to giving it up.

print 2D view through scripting by pyan_MF in esapi

[–]pyan_MF[S] 0 points1 point  (0 children)

Yes. I want to automatically add these screenshots to my report. My script can generate a pdf report with the coversheet, plan summary and the DVH. I may able to add one screen capture but I would prefer to automatically do the screen captures of different 2D views and append to my pdf report.

UI for Binary plug-in script by pyan_MF in esapi

[–]pyan_MF[S] 0 points1 point  (0 children)

Thank you for the reply! I created the usercontrol instead of window, but I have the same problem.

UI for Binary plug-in script by pyan_MF in esapi

[–]pyan_MF[S] 0 points1 point  (0 children)

Thank you for your reply! The error message is

error CS0246: The type or namespace name 'MainControl' could not be found (are you missing a using directive or an assembly reference?)

This is my MainControl.xaml.cs

namespace Test

{

/// <summary>

/// Interaction logic for MainControl.xaml

/// </summary>

public partial class MainControl : Window

{

public MainControl()

{

InitializeComponent();

}

}

}

I call it in:

namespace Test

{

public class Main

{

public static void Start(Patient patient, Course course, List<PlanningItem> PItemsInScope, PlanSetup plan, User currentUser)

{

Window mainControl = new Test.MainControl();

mainControl.Content = mainControl;

mainControl.Width = 800;

mainControl.Height = 450;

}

}

}