.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How to allow readonly xref files in "Edit Reference In Place" mode.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
I am working on Xrefs in autocad, I come across one scenario as below,
AutoCAD application is not allowing me, when tring to "Edit Reference In Place" mode for readonly xref file. and displaying below dialog box.
Could you any body suggest on this issue.
Regards,
Raman
Re: How to allow readonly xref files in "Edit Reference In Place" mode
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
you can't edit a file that needs to be saved after edit.
Otherwise XRef-technology would not work, that's mechanism is "show an external (saved) DWG in my current drawing"
If you want to edit the external DWG you can first check it the drawing-file itself or the directory-rights are set to read-only.
Or what's the workflow you are running in your app to get this message?
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: How to allow readonly xref files in "Edit Reference In Place" mode
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
Scenario here is,
In Main drawing file, If I am tring to edit(using Edit reference in place) the readonly Xref file, then autoCAD is displaying below shown dailog box.
My Concern here is, Once user click on Edit Reference, I want to turnoff readonly of xref file and allow user to edit the xref file.
Please advice on this.
Regards,
Raman
Re: How to allow readonly xref files in "Edit Reference In Place" mode
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
you can create an eventhandler and check for command-started, if it's a command handling your XRef then handle your readonly-state and on command-ended event you can set back the file-state.
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
Re: How to allow readonly xref files in "Edit Reference In Place" mode
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
Could you please provide me the code sample on handling this event.
Regards,
Raman
Re: How to allow readonly xref files in "Edit Reference In Place" mode
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
- alfred -
Alfred NESWADBA
Ingenieur Studio HOLLAUS ... www.hollaus.at
-------------------------------------------------------------------------
