Hi,
Currently the use of Variants (and in general run-time Geometries) can be problematic. It's because if Variant objects are passed into an algorithm the code for all possible combinations of types is generated which results in a compile-time error. Example: