GetAllPoints(this cPointObj obj, string csys = "Global") { int NumberNames; NumberNames = default(int); string[] MyName; MyName = default(string[]); double[] X, Y, Z; X = Y = Z = default(double[]); var res = obj.GetAllPoints(ref NumberNames, ref MyName, ref X, ref Y, ref Z, csys); return(NumberNames, MyName, X, Y, Z); }