STK Vector Geometry ToolSend comments on this topic.
Remove Method (IAgCrdnVectorGroup)
See Also
VectorName
Specify a name of the vector to be removed.
Windows





Windows & Linux

Description

Removes a specified vector.

Syntax

[Visual Basic .NET]
Public Sub Remove( _
    ByVal VectorName As String _
)
[C#]
public void Remove(
    string VectorName
);
[Managed C++]
public: void Remove(
    String __gc ^ VectorName
);
[Unmanaged C++]
public: HRESULT Remove(
    BSTR VectorName
);
[Java]
public void remove(
    String VectorName
);
[Python - STK API ]
def Remove(self, VectorName:str) -> None:

Parameters

VectorName
Specify a name of the vector to be removed.

See Also

Example

Remove an existing vector with the specified name.
[C#]
// Check if the vector with specified name already exists.
if (provider.Vectors.Contains(VectorName))
{
    provider.Vectors.Remove(VectorName);
}
Remove an existing vector with the specified name.
[Visual Basic .NET]
' Check if the vector with specified name already exists.
If provider.Vectors.Contains(VectorName) Then
	provider.Vectors.Remove(VectorName)
End If
© 2024 Analytical Graphics, Inc. All Rights Reserved.