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

How do you retrieve the list of open drawings AutoCAD 2011

2 REPLIES 2
Reply
Message 1 of 3
Rich0365
483 Views, 2 Replies

How do you retrieve the list of open drawings AutoCAD 2011

Hi,

 

I was trying to retrieve a list of the currently open drawings before running a batch script in VB .Net 2008 so that the program can check the selected file listto update against whats open already to make sure that the file isnt read only.

 

I can seem to figure it out... any help would be great thanks.

2 REPLIES 2
Message 2 of 3
tyronebk
in reply to: Rich0365

Autodesk.AutoCAD.ApplicationServices.Application.DocumentManager
holds a DocumentCollection of all the opened documents.
Message 3 of 3
cincir
in reply to: Rich0365

what tkarapita says is true. i want to add an advice for your future affords. if you are dealing with the documents  i mean not a single document , mark your command as CommandFlags.Session so that it runs in application context and dont forget the lock the document you are dealing with.

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