ZWSOFT User Community > ZWSOFT Forums - Find. Share. Connect. > ZWCAD > Error in VBA - Object required
Error in VBA - Object required
Error in VBA - Object required
04-06-2010 02:06 . pm | View his/her posts only
In the latest build of 2010 ZwCADa 31/05/2010 an error occurs in the VBA in the class Utility.
After this code, you receive an error - Object required.
In any earlier versions and in an earlier ZwCADa ZwCAD 2010 - this error has never been!
Code causing the error:
Dim P as new ZwCADPoint
Set P = ThisDocument.Utility.GetPoint
Very urgent please help!
After this code, you receive an error - Object required.
In any earlier versions and in an earlier ZwCADa ZwCAD 2010 - this error has never been!
Code causing the error:
Dim P as new ZwCADPoint
Set P = ThisDocument.Utility.GetPoint
Very urgent please help!
07-06-2010 05:47 . pm | View his/her posts only
There is an improvement with VBA in ZWCAD 2010 Update Patch.
Instead of point objects, ZWCAD 2010 Update Patch uses arrays to store coordinates, which makes VBA API more compatible with that in AutoCAD.
ffice
ffice" />
Error in VBA - Object required
08-06-2010 07:02 . pm | View his/her posts only
Is the class:
ZwCADPoint and ZwCADPoints will be retained in future versions of ZwCAD?
Can we declare a variable:
Dim P as
New ZwCADPoint like now?
ZwCADPoint and ZwCADPoints will be retained in future versions of ZwCAD?
Can we declare a variable:
Dim P as
New ZwCADPoint like now?
Error in VBA - Object required
28-06-2010 08:30 . pm | View his/her posts only
so We get now the same error. How to declare variables in las ZW cad ver.? '2010.05.31(14725)'



