- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
When opening a file using CAD, if the file contains proxy graphics, a proxy graphics prompt will pop up; Alternatively, when the file is missing fonts, a prompt for missing fonts will pop up; Alternatively, when opening the same file for the second time, a read-only prompt will pop up.
What I need now is to include these prompts when opening DWG files in the code, and to be able to open DWG files read-only.
Open prompt
Read-only prompt
Here are two ways I tried to open files, each with its own advantages and disadvantages
Autodesk.AutoCAD.ApplicationServices.DocumentCollectionExtension.Open
Autodesk.AutoCAD.ApplicationServices.DocumentCollectionExtension.Open Can be opened read-only, but will ignore prompts,And no prompt message will pop up
System.Diagnostics.Process.Start
System.Diagnostics.Process.Start Will not ignore the prompt, but cannot open the same file repeatedly and cannot be opened read-only
So is there a way to open a file that meets these conditions simultaneously: it can pop up a prompt, open the file in read-only mode, and open the same file multiple times
Solved! Go to Solution.