Hello Hongyun,
our AutoCAD (2D) integration has capabilities to extract "components" from AutoCAD and link them to Material Masters (even if the 2D drawing is a single, flat file). We can then also derive a BOM for such a flat 2D drawing without having the Document Structure in between.
Does this make sense for you?
What CAD are you using?
Regards,
Gerhard