• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 659
  • Last Modified:

VBA: delete single vertex from LWpolyline

In VBA we can add a single vertex to a LWpolyline using the addvertex method. Is there a way to delete a single vertex?

Saqib
0
Saqib Husain, Syed
Asked:
Saqib Husain, Syed
  • 4
  • 3
1 Solution
 
borgunitCommented:
Normally just set the pline.coordinates to an array and then alter the array to a new or different array. After altered, set the coordinates to the new array (ie pline.coordinates = newarray)
0
 
Saqib Husain, SyedEngineerAuthor Commented:
So the answer is NO?
0
 
borgunitCommented:
Well, I guess that depends on you. Do you know what I am describing to do?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Saqib Husain, SyedEngineerAuthor Commented:
I know that already. You are trying to draw a new pline with one less vertex. Not deleting an existing vertex.
0
 
Saqib Husain, SyedEngineerAuthor Commented:
I could have done the same thing to add a vertex but I do have a convenient command to take care of it. I was looking for something similar to delete the vertex.
0
 
borgunitCommented:
Well almost, I am altering the existing pline, not creating a new one.
0
 
Saqib Husain, SyedEngineerAuthor Commented:
I just want to have the statement that this is not possible.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 4
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now