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 cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Lazy AutoCAD LDD?

Status
Not open for further replies.

JanekAtWork

Civil/Environmental
Joined
Jan 18, 2002
Messages
3
Location
US
AutoCAD Land Development Desktop 2i it's what I use and try to access from VB. BUT the preaty easy code like:

Set ACAD = GetObject(, "AutoCAD.Application")
Set app = ACAD.GetInterfaceObject("AutoCAD.Application")
ParcelNumb = app.ActiveProject.Parcels.Count

... takes MINUTES for ~200 defined parcels. In AutoCAD's VBA the same code runs just a little faster (and shoud be) but it's still fare, fare away from being usefull.
I experienced the same on two different ACAD instalations.

Do you think it's normal?

Jan
 
With the way you are doing it, it is normal. Try using
LDD's predefined methods of managing parcels, it works
fairly well.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top