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

SearchBodyParameters in ARIA 15.6 ?

EyckBlank opened this issue · comments

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_API_15.5,
thats why, they should operate in ARIA 15.6 !

Many thanks for help !
Eyck Blank

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

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