@dunglh said:

I have a dwg file. i have a dwg file. I want to use sketchup sdk (c++/c#) to import and convert it to glb (gltf). Is there a way to convert?

Thanks!

SketchUp SDK is for reading / writing skp files. For reading a dwg file you would need e.g.: AutoDesks's RealDwg SDK ( https://www.autodesk.com/developer-network/platform-technologies/realdwg ) and for writing gltf, you need something like Microsoft's gltf SDK ( https://github.com/microsoft/glTF-SDK )