Thu, 04/07/2022 - 00:50
Hi everyone, I am using the OCCT C++ API and I need to change the global variable "read.maxprecision.val" to the value 0.001, but when I use the function
Interface_Static::SetRVal(Standard_CString("read.maxprecision.val"), 0.001f);
it returns false as if the variable doesn't exist, but I am sure that it exists. There is some preparation that I have to do before calling this function?
Thank you.
Thu, 04/07/2022 - 21:29
Make sure to initialize global variables within specific import/export library before changing their values, e.g. something like this: