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
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