list of objects and children

in a script ins there a way to select or make a list of objects and all the following copy of it

may be one way would be ot make the copy a children of the first but how do you do that

Ex: supposed i have a parent object called OB1
and then i need copy of it at different location with name like OB1.001 then OB1.002 ect…
there may 10 or 20 children or copy of the master object or the parent object
but i need afterward to be able to select let say the frist parent object and get all the spec for each of the children objects

is it possible to do this in script and how ?

Thanks

I did not understand your problem.
I thinks it like this
OBJ1- has 4 Children->OBJ1a,OBJ1b,OBJ1c,OBJ1d
You can to copy these all as
NewOBJ1 has 4 childre->NewOBJ1a,NewObj1b,NewOBJ1c and NewObj1d
thrugh python?

i looking for a simple way in python to find object like the parent
which i know the name but not the sequence number after the name
let say like CB1 or CB2 … CBN
i know that it is CB then a number
(i can always do a for list to determine the number of parent)
theses are the parents but each parent there may be some childrens like
CB1 Parent —> children like CB1.001 CB1.002 CB1.993 …ect
and the same for CB2 and other parent
CB2 Parent —> children like CB2.001 CB2.002 CB2.003 …ect.
now i need a way to select one parent and be able to get how many children and the specs of theses children like position ect,

Thanks