It it depends on where the text objects you want
to process are located. If they're in model space
or a paper space layout, you can use a selection
set to collect them, and then process the selection
set.
--
http://www.caddzone.com
AcadXTabs: MDI Document Tabs for AutoCAD 2004/2005/2006/2007
http://www.acadxtabs.com
wrote in message news:5429174@discussion.autodesk.com...
Hi-
I am writing a really simple C# application. It basically takes values and puts them into an autocad drawing. Right now I am able to to open an AutoCAD drawing but I am having trouble manipulating it the way I would like. The following code below is what I have so far:
gbl_app = new AcadApplication();
gbl_doc = gbl_app.ActiveDocument;
gbl_doc.Open(AcadFile, password);
gbl_app.Application.Visible = true;
My next step is to grab all the text objects in gbl_doc and change them, does anyone know what my next step should be? Should I be using a "Selection Set" for this? Thanks a bunch