.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

AcCoreConsole + Read-Only Drawing

1 REPLY 1
Reply
Message 1 of 2
mbair
637 Views, 1 Reply

AcCoreConsole + Read-Only Drawing

I'm trying to use AcCoreConsole to open a drawing for processing.  I do not know ahead of time if the drawing is in a read-only state.  When opening a read-only drawing, AcCoreConsole will ask if I want to open the drawing read-only, but this breaks my code execution because AcCoreConsole doesn't execute the provided script until an answer has been provided.  Is there a command switch that will allow me to bypass the read-only question, or specify that the drawing should be opened read-only?

1 REPLY 1
Message 2 of 2
Balaji_Ram
in reply to: mbair

Hello,

 

Sorry, This is a known behavior and has been already been logged in our system.

 

As a workaround, you can create a batch file that first checks the drawing file attributes and makes it write enabled and then invokes the accoreconsole.

 

Hope this helps.

 

 



Balaji
Developer Technical Services
Autodesk Developer Network

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost