Message 1 of 5
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I need to view a block definition from an out-of-process app (written in C#).
The app uses True View Acctrl to as a viewer.
It works fine for whole dwgs, but when it comes to viewing just one block definition' the best I could come up with was:
<pseudo code>
start a new Autocad instance;
open the dwg in Autocad;
perform a Wblock of the block definition to some temporary file;
open and view the file in the Acctrl;
erase the temporary file;
</pseudo code>
It seems clumsy though.
Is there any API for doing this? (preferably not higher than Acad 2008)
Thanx
alex
Solved! Go to Solution.