Hi there,

I tried your code like this - but doesn't work.
Would you kindly let me know what seems to be the problem?


"Object doesn't support this property or method"

my code :

Dim ftr As Feature

    For Each ftr In Map1.Layers("Road").Selection
        ftr.Parts(1).Points(2).Set x2, y2
        ftr.Update
    Next

Regards,
- Ara BR -


----- Original Message -----
From: Jeff James <[EMAIL PROTECTED]>
To: 'GTS' <[EMAIL PROTECTED]>; Mapinfo-L <[EMAIL PROTECTED]>
Sent: Friday, August 18, 2000 7:26 PM
Subject: RE: MI Help me to move a node in MapX 3.5.1


> You need to move one Point object in the Points collection of the Part
> object of the Parts collection of the Feature object.  In other words,
your
> code might look something like this:
>
> ftrMyLine.Parts(1).Points(2).Set nNewX, nNewY
> ftrMyLine.Update
>
> Good luck
>
> Jeff James
> Vice President
> Sage Software, Inc.
> 3423 Piedmont Road NE
> Suite 500
> Atlanta, Georgia 30305
> www.sagesoft.com <http://www.sagesoft.com>
> Phone: 404.262.7478.x12
> Fax: 404.832.3366
> eFax: 520.222.2020
>
>
> -----Original Message-----
> From: GTS [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 18, 2000 7:18 AM
> To: Mapinfo-L
> Subject: MI Help me to move a node in MapX 3.5.1
> Importance: High
>
>
> Dear List,
>
> I have a line (x1,y1 - x2,y2).
> I need to know the syntax to move the x2,y2 to other position.
> I use MapX 3.5.1 and VB 6.0
>
> TIA
> Ara BR
>
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
>

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to