APREPRO Cubit FUnction

Coreform Cubit Version: 2021.5
Platform: Windows 10


brick x 10
#{a=atan(2,1)}
curve 4 scheme bias fine size {a} factor 1
mesh curve 4

No error with the classic journals above, but the one below.


brick x 10
#{a=length(4)/10}
curve 4 scheme bias fine size {a} factor 1
mesh curve 4

ERROR: Aprepro: syntax error, unexpected LPAR (interactive_input, line 634

I am trying to use Cubit FUnctions in 15.2.2.1.1
https://coreform.com/manuals/latest/cubit_reference/aprepro.html
but the function “length” does not work.

Hi,

I can reproduce this. I am trying to track down why the APREPRO function is not recognized.

Thanks,
Karl

Hi,

There is an error in the documentation. When this was moved into our new documentation system the keywords were all made lower case. The keyword should use ‘Length(4)’. We will address this immediately.

Thank you,
Karl

Thank you.

As you mentioned, no error with upper case functions.