Get measure(mininum distance) with splines in group.

Hellow, I'm beginer and studying NXopen VB now.
I'm looking for the method to meausre between plane and curves in group(ex spline x66) which were made by dynamic section. and find out the minimum distance with curve.
- Group "Dynamic section"
-Group "Mysection"
-Group "Body 1"
- Spline x 66
-Group "Body 2"
- Spline x 23

How can I get the Journalidentifier for each spline in group?
- splines are non associate line

Your prompt reply will be appreciated.

Thanks.

Read through the code posted here:
http://nxjournaling.com/comment/4753#comment-4753

The journal will find the groups in the part and report some information about each group. The .AskGroupData method will return an array of tags that represent the objects in the group. Given the tag, you can use the NXObject manager to get the object the tag represents. Once you have the object, you don't need the journal identifier, but you can get it from the object if you want.