Hello @nivedita.srivastava,
Just a quick note to share…
As part of the Communicator package there is C++ solution containing 20+ examples of authoring the model and the assembly tree. Please see:
HOOPS_Communicator_2025.X.x\authoring\libsc\examples\authoring_samples.sln
Also, please see this post about importing BREP to OpenCascade:
Thanks,
Tino