Message 1 of 8
acadPoint.cordinates

Not applicable
12-13-2004
03:37 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
hi,
I am declaring an acadPoint and trying to populate its x,y &z cordinates using its cordinates property ,but it gives an error
"Object reference not set". Here is the code
dim acadPt as acadPoint
acadPt.coordinates(0) = 0
acadPt.coordinates(1) =1
acadPt.coordinates(2) =2
I understand that i have not instantiated acadPt but when i use 'new' it says 'new' is a private property, so cant do that.
Can someone please guide as to how to populate an instanace of acadPoint.
regards,
irfan
I am declaring an acadPoint and trying to populate its x,y &z cordinates using its cordinates property ,but it gives an error
"Object reference not set". Here is the code
dim acadPt as acadPoint
acadPt.coordinates(0) = 0
acadPt.coordinates(1) =1
acadPt.coordinates(2) =2
I understand that i have not instantiated acadPt but when i use 'new' it says 'new' is a private property, so cant do that.
Can someone please guide as to how to populate an instanace of acadPoint.
regards,
irfan