Do you mean that you exported an acad drawing containing objects with xdata attached and you want to retrieve them in the fbx? If I misunderstood, please clarify the question.
Did you take a look at the fbx sdk? I am not familiar with it personally unfortunately:
If the question is more fbx oriented, you may want also ask the question on our M&E oriented progarmming forums.