.NET

Reply
Active Member
mbair
Posts: 7
Registered: ‎09-11-2008
Message 1 of 2 (253 Views)

AcCoreConsole + Read-Only Drawing

253 Views, 1 Replies
11-27-2012 03:36 PM

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?

ADN Support Specialist
Balaji_Ram
Posts: 662
Registered: ‎03-21-2011
Message 2 of 2 (206 Views)

Re: AcCoreConsole + Read-Only Drawing

12-03-2012 08:08 AM 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community