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






Windows & Linux

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
MemberValueDescription
eVectorElem0Vector geometric element.
eAxesElem1Axes geometric element.
eAngleElem2Angle geometric element.
ePointElem3Point geometric element.
ePlaneElem4Plane geometric element.
Name
The name of the ReferenceCrdn.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.