Forum Discussion

aduddella's avatar
aduddella
Contributor
14 years ago

ODT data group access script required

Hi



I have the following Data group structure also please find the attached word document with the screen shot



the structure is



Data - > Current_CLI -> Var 1 -> Line - Line is a collection of classes which in itself have another classes



So under my Line when i add an itemofclasstype("line")



under item 0 i have the following



CLI - property

DSL - property

BB - which is again a nested class which in turn has properties

   - EDIT

   - Equipment





now my query is to access the CLI property i can access using syntax



ODT.Data.Current_CLI.var1.Line.Item(0).Properties(0).name / value





but how do i access the edit value or property under the BB class as it is one level down the CLI property



Any help would be greatly appeciated.If you want any further clarifications please do let me know



Regards

Anand






1 Reply


  • Hi,





    When you get a reference to your object via Item(x), look at what's returned. The object you get should provide access to the objects it contains via its properties.