VarianAPIs / Varian-Code-Samples

Code samples for ESAPI and other Varian APIs and web services.
MIT License
117 stars 108 forks source link

SearchBodyParameters in ARIA 15.6 ? #146

Open EyckBlank opened 2 years ago

EyckBlank commented 2 years ago

SearchBodyParameters not recognized in ARIA 15.6 ?

By coding a script for automatic structur drawing by HU limits I got in stock.

The self explaining code lines var BodyPar = ss.GetDefaultSearchBodyParameters(); and ss.CreateAndSearchBody(BodyPar); will not be recognized by IntelliSense coding assistance.

The compiler will throw error messages CS1061 in this lines:

I assume version problems of any libraries.

By the way: GetDefaultSearchBodyParameters() and CreateAndSearchBody() will be explained in _OnlineHelp_VMS_Eclipse_Scripting_API15.5, thats why, they should operate in ARIA 15.6 !

Many thanks for help ! Eyck Blank

EyckBlank commented 2 years ago

Here I have found anything. https://codedocu.de/Details_mobile?d=2144&z=1&t=C%23%2C+Winforms%3A+error+CS1061%3A+PropertyStore+enth%C3%A4lt+keine+Definition+f%C3%BCr+Settings But I havn't understood it.

Regards and thanks Eyck Blank

EyckBlank commented 2 years ago

Now, I have solved this problem by my self. Thank you for patiently listening ! Whats happen - shits happen ! Installing ESAPIX, upgrading .NET4.5.0 to .NET4.5.2 and last and least, installing ESAPI Essentials by Carlos Anderson has fixed it.

I assume, the true reasons should be searched in absent C# extension methods in old .NET. dll, supplying SearchBody methods. https://docs.microsoft.com/de-de/dotnet/csharp/language-reference/compiler-messages/cs1061

Kindest regards Eyck Blank

EyckBlank commented 2 years ago

If I upgrade .NET4.5.2 to .NET4.6.1, I do not need the ESAPIX- and ESAPI Essential NuGets ! Kindest regards Eyck Blank