Click or drag to resize
SoElementGetClassStackIndexE Method
Returns the stack id for the element type.

Namespace: OIV.Inventor.Elements
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax
public static int GetClassStackIndex<E>()
where E : class, SoElement

Type Parameters

E
Type of element.

Return Value

Type: Int32

The stack id for the element type.

-or-

-1 if E is an abstract type.

Exceptions
ExceptionCondition
[!:System.ArgumentException] Thrown when E type does not define a default constructor.
See Also