I am making a set of functions that makes an arraylist from a resultbuffer, then later converts back to a resultbuffer.
I test it by converting the results of an entget.
One of those items is the -1 group, which is the entity name.
I can convert the ename to a string no problem for the first part of the prog, but when trying to make the typedvalue object and resbuff with:
outRB.Add(new TypedValue(-1, "-2069760"));
it crashes acad. I can only guess an entity name cannot be added using a string.
I know the ename val is valid, its not an erased entity or something.
Anyone have ideas on how to do it correctly?
thanks