Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock 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
Jan 18, 2002
3
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
 
Replies continue below

Recommended for you

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