I am using ldd4, I need to sort a point group by point raw description and write to another point group. I have a problem with the last line, pointSetArray is my array. Why do I get a type mismatch for pointSetArray? Set NewDermPointGroup = DermPointGroups.Add(I, pointSetArray) ---------------------------------------------------------------------------- Here is the ADD method from the help file. RetVal = object.Add(Name, PointList) object PointGroups The object or objects this property applies to. GroupName String; input-only The new point group name. PointList String; input-only The point list. RetVal PointGroup object The newly added PointGroup object.
Craig, The method is looking for a string value and you are supplying an array, you need to convert the point numbers from the array to a useable string format. grpPoints = "1-15,17,19,101-206" is a valid string HTH, Jeff BTW, there is a group specifically for LDT customization questions.