VarianAPIs / Varian-Code-Samples

Code samples for ESAPI and other Varian APIs and web services.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Loading structure template and converting target structures to high resolution

AnandKrishnamurthy opened this issue · comments

I want to load a structure template that is already in Eclipse and convert some of the structures to high resolution before contouring takes place. I have figured out the high resolution part but don't know how to access the list of structure templates and load the appropriate one. Using v.15.6. Would appreciate your help. Thanks in advance - Anand.

List<Structure> ContourList = Plan.StructureSet.Structures.ToList(); foreach (Structure HighResStructure in ContourList) { if (HighResStructure.CanConvertToHighResolution()) { HighResStructure.ConvertToHighResolution(); } }

Thank you, Brad. Will give it a try. Best regards - Anand.