Use layers, use any one layer for only datum's or curves, and switch off that layer in assembly file
or
create a reference set named as solid body in part file, add only solid bodys. and change reference set to solid body of the part in assembly tree structure by right clicking the part.
or...