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.1.1.0 (2024.1.1)
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