Hi sanjayman,
I've already seen that you created another thread for the Group center point.
http://forums.autodesk.com/t5/revit-api/group-center-point/td-p/6379898
As far as I can see, there are about three types of Groups:
- Model groups
- Detail groups
- Model groups with attached Detail groups
Each group consists of a list of members.
You can get the members' BoundingBoxes, this method needs a View parameter.
Depending on the kind of the group,use the View the Element resides in (Detail group) or null (for Model group).
May be that you need to use a valid View3D instead of null, in this case.
For the third case, I have no idea so far.
Once having the BoundinBoxXYZ for each Element in a group, get their minimum and maximum extends.
Calculate the center of the extends by dividing it by two...
(Remark: Groups can contain groups.)
That's all.
Revitalizer