Hi, so I have a working C++ program which creates a SCR file which I have to manually insert into the DWG file.
How can I apply the SCR file automatically to the DWG file?
Solved! Go to Solution.
Hi, so I have a working C++ program which creates a SCR file which I have to manually insert into the DWG file.
How can I apply the SCR file automatically to the DWG file?
Solved! Go to Solution.
Solved by cadffm. Go to Solution.
I am not one of the robots you're looking for
I am not one of the robots you're looking for
Sebastian
Sebastian
Maybe possible with something like ShellExecute(NULL, "open", "path\\to\\acad.exe", NULL, NULL, SW_SHOWDEFAULT);
There are other methods more complicated with COM interfaces, IAcadApplication and so. Try to use it at the end of your c++ code.
The command line parameter is /b (former /s), it seems they changed it at some point.
Maybe possible with something like ShellExecute(NULL, "open", "path\\to\\acad.exe", NULL, NULL, SW_SHOWDEFAULT);
There are other methods more complicated with COM interfaces, IAcadApplication and so. Try to use it at the end of your c++ code.
The command line parameter is /b (former /s), it seems they changed it at some point.
Sebastian
Sebastian
You're right. It was always /b to run a script.
You're right. It was always /b to run a script.
Can't find what you're looking for? Ask the community or share your knowledge.