AGI STK Objects 11 Send comments on this topic.
Add Method (IAgVORefCrdnCollection)
See Also 
Type
Name
The name of the ReferenceCrdn.





Description

Adds a VGT component to the collection. The path must refer to a valid VGT component. The method throws an exception if the path is invalid or if the element already exist.

Syntax

[Visual Basic .NET]
Public Function Add( _
   ByVal Type As AgEGeometricElemType, _
   ByVal Name As String _
) As IAgVORefCrdn

[C#]
public IAgVORefCrdn Add(
AgEGeometricElemType Type,
string Name
);

[Managed C++]
public: IAgVORefCrdn^ Add(
AgEGeometricElemType Type,
String __gc ^ Name
);

[Java]
public IAgVORefCrdn add(
AgEGeometricElemType Type,
String Name
);

[Unmanaged C++]
public: HRESULT Add(
AgEGeometricElemType Type,
BSTR Name,
IAgVORefCrdn ** ReturnValue
);

Parameters

Type
Member Value Description
eVectorElem 0 Vector geometric element.
eAxesElem 1 Axes geometric element.
eAngleElem 2 Angle geometric element.
ePointElem 3 Point geometric element.
ePlaneElem 4 Plane geometric element.
Name
The name of the ReferenceCrdn.

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK Programming Interface 11.0.1