Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to select all the objects in a layer a read all their atributtes 1

Status
Not open for further replies.

andrecunha

Programmer
Sep 14, 2005
2
PT
Hello!

I'm getting started with the AutoCAD/.Net programing. I have no problem doing simple things like asking for user inputs, drawing stuff, etc. Now, i´m trying to find a way how to connect to an existing drawing and, without user inputs, i want to read all the points attributs that are in a layer that i know the name.
i´ve already read the faq-How to Connect AutoCAD to Access but i couldn´t apply it to my problem.

Thanks for the help.

André Cunha

ps: I'm sorry for my bad english.
 
Hi Andre,

Actually the portion you'd need is the "BuildFilter" routine, there's a FAQ on this also:
In your case, your BuildFilter line would look something like this:

Code:
BuildFilter intData, varData, -4, "<and", _
                                  0, "INSERT", _
                                  8, "A-WALL", _
                              -4, "and>"

HTH
Todd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top