Skip to content

Adding ReferencePoint to Verification plan #1

@Kiragroh

Description

@Kiragroh

Hi,

do you know a trick to add a reference point with isocenter location to the new verification plan in the same script?

I get this error:
'Reference point can only be created for the plan that is currently open.'

here is a CodeSnippet:

        VVector isocenter = ssQA.Image.UserOrigin;
        // Create a verification plan that contains all fields (Composite).
        ExternalPlanSetup verificationPlan = CreateVerificationPlan(course, plan.Beams, plan, ssQA, calculateDose: false);
        ReferencePoint refpoint = verificationPlan.AddReferencePoint(ssQA.Structures.First(), isocenter, "Verifikation", "Verifikation");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions