Error in VBA - Object required

Rank: 1

zw_admin

Newbie

posts: 0

Registered: 2012-1-14

Message 1 of 4

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!
TOP 0 Kudos

Rank: 1

zw_admin

Newbie

posts: 0

Registered: 2012-1-14

Message 2 of 4

  Error in VBA - Object required
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.







fficeffice" />>>
Jenny2010-06-07 17:48:40

0 Kudos

Rank: 1

zw_admin

Newbie

posts: 0

Registered: 2012-1-14

Message 3 of 4

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?

TOP 0 Kudos

Rank: 1

ilia_2s

Newbie

posts: 2

Registered: 2011-9-19

Message 4 of 4

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)'
TOP 0 Kudos
© 2012 ZWCAD Software Co., Ltd. All rights reserved. | About ZWSOFT | Privacy Policy | Terms and Conditions | Contact us | Site Map
All trademarks,trade names or company names referenced herein are used for identification only and are the property of their respective owners.