*Dale Levesque
Message 1 of 1 (44 Views)

Problem passing array to COM Class

44 Views, 0 Replies
09-07-2005 11:52 AM
I have a class that is exposed to COM with the following Property.

If i try to set it using :

la_Pt(0) = 0.5
la_Pt(1) = 1.5
.CenterPoint = la_Pt

I get an object not set error. I can see the object get created in the watch
window, but as soon as I try to set the point I get the error.

Any suggestions?


Public Property CenterPoint() As Array


Return mvarCenterPoint

End Get

Set( ByVal values As

mvarCenterPoint = values

End Set

End Property
Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.