I don't even know how to ask a question, so this is the explanation of what i want to achieve. I try to do something like Civil: when I create a point group (or topology, or surface, or....) I name that point group, and then within the document I can use the name of the point group (or ...), not the name of some variable that is given inside the application. Then I call my Command with that created name as an input parameter.
Or a simpler example: a list of all created topologies in the drawing.
This should probably be some kind of collection or dictionary maybe.