.NET
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How do you retrieve the list of open drawings AutoCAD 2011
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
279 Views, 2 Replies
01-24-2012 08:40 AM
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.
Re: How do you retrieve the list of open drawings AutoCAD 2011
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-24-2012 01:11 PM in reply to:
Rich0365
Autodesk.AutoCAD.ApplicationServices.Application.D ocumentManager
holds a DocumentCollection of all the opened documents.
holds a DocumentCollection of all the opened documents.
Re: How do you retrieve the list of open drawings AutoCAD 2011
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
01-24-2012 02:01 PM 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.
