🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

unsupported operation in function

User: "PaolaAG"
Altair Employee
Updated by PaolaAG

Hello, I have this error "unsupported operation in function OmlBlockFunction at line number 8 in file OmlBlockFunction_1.oml ( -1 )"

This is my function

image

I was wondering if somebody knows how to solve it. Thank you!

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "João Marabisa"
    Altair Employee
    Accepted Answer
    Updated by João Marabisa

    Thank you so much! The function now works, but when I place it inside the Oml Block doesn´t work, do you know if I have to stablish some state or parameter?

    Hi Paola,

    When you use "OmlCustomBlock" you must use "vssGetInputData" function to get the block's input data, and to export them you must use "vssSetOutputData" function.

    I'm attaching a .SCM file with your desired function.

    Below you have the results between the previous (.OML) vs. actual (.SCM) files:

    image

    Hope it helps you,

    João.