Running Autocad Civil 3d in silent mode

Running Autocad Civil 3d in silent mode

Anonymous
Not applicable
1,207 Views
5 Replies
Message 1 of 6

Running Autocad Civil 3d in silent mode

Anonymous
Not applicable

I am running AutoCad Civil 3d in silent mode, by using accoreconsole.exe /i "[drawing file].dwg" /s [Script File].scr" in command prompt. The issue is the command does not seem to enter into the dll. I have a write to console text message and a text file creation command in the dll file , but after executing in cmd, the text file is not created and the message does not appear as well. However there are no errors in cmd (attached image).

Is there a solution? Thanks in advance.

492A3465.PNG

0 Likes
1,208 Views
5 Replies
Replies (5)
Message 2 of 6

Sea-Haven
Mentor
Mentor

Try without the write to console I know 1 rule is no user interaction.

0 Likes
Message 3 of 6

Anonymous
Not applicable

@Sea-Haven  

Thank you for the response. Could you be more elaborate? I am not able to understand your message clearly. 

0 Likes
Message 4 of 6

Sea-Haven
Mentor
Mentor

Your quote "I have a write to console text message"

0 Likes
Message 5 of 6

Anonymous
Not applicable

I can understand why the message is not displayed due to no user interaction. But the sample text file is not created. 

I am creating a sample text file in a local directory to know the success of the command. 
The custom command "CorridorToSld" is not getting invoked. The script file calls the custom dll. 

Any reason for this?

0 Likes
Message 6 of 6

Sea-Haven
Mentor
Mentor

Sorry beyond my expertise make a much simpler .dll and test. Like how many objects in dwg write to file.

0 Likes