You can use GetValue to convert a string expression into a single object:
var obj = GetValue( Obj.FullName + ".polymsh.cls.*.Material" );
To get a collection of objects, use an XSICollection:
var allColl = new ActiveXObject("XSI.Collection"); allColl.items = Obj.FullName + ".polymsh.cls.*.Material"