Windows 10 comes with DirectX 11 installed by default however that version of DirectX doesn’t work very well with old software (games or CAD) you need DirectX 9.0c. Microsoft just removed the online installer for DirectX 9.0c making it very difficult to find.
Here’s the official Microsoft full (offline) setup for DirectX 9 (9.0c), released June 2010…
Copyright 2021 (c) Longbow Software