How to get the ValidationService from editor programatically .net

Xabi Bikuña Losada

How to get the ValidationService from editor programatically .net

How to get the ValidationService from editor programatically .net

 

Althougth, CatiaV6 documentation with the Automation documentation file

{installFolder}\B419\win_b64\code\bin\DSYAutomation.chm

 

sets that to access a VALValidationService object you have to use the "ValidationService" ID in the editor GetService function.

 

CatiaApp.ActiveEditor.GetService("ValidationService")

 

This function call with that ID gives always an exception error,

also gives the same exception the SectionService object (ID "SectionService")

whereas access to other services are obtained correctly... like "MeasureService" or "PLMProductService"

 

does anybody know if the Id has been changed or if I have to do anything else to get the ValidationService object

 

Thanks in advance