Repeated Detail Component child family

I have created a repeating detail component that uses a simple detail family as its base. I’m trying to get access to that “base family” to replace with a new family that can be scheduled. Anybody know of a way to access these “base” families in a repeating detail component? It seems to be based on a detail curve element. Is there an API place in the detail curve where this is stored?

Thanks,
D