duplcate with children?

is there a way to duplocate parent adn child object at ounce with any constraint for instance and how to ?

thanks happy 2.5

Not sure about the more advanced features, but you can select the parent, press Shift+G and choose “children” then shift select the parent again (selecting the children deselects the parent). Then Shift D to duplicate and the relationships should be duplicated as well (the dup children will be children of the dup parent etc).

ok any example of API commands to do this?

happy 2.5