Hi,
I do not succeed using some functions of UnitsAPI.
For instance, the following code:
from OCC.UnitsAPI import *
import os
if __name__ == '__main__':
os.environ['CSF_CurrentUnitsDefaults']='L:\\programs\\pythonOCC\\0.5\\examples\\data\\unitConfiguration'
os.environ['CSF_UnitsLexicon']='L:\\programs\\pythonOCC\\0.5\\examples\\data\\unitConfiguration\\Lexi_Expr.dat'
os.environ['CSF_UnitsDefinition']='L:\\programs\\pythonOCC\\0.5\\examples\\data\\unitConfiguration\\Units.dat'
u = UnitsAPI()
a = u.Dimensions('LENGTH')
Give the following error message:
swig/python detected a memory leak of type 'Handle_Units_Dimensions *', no
destructor found.
Does someone know what this means and how I should bypass this problem, or
even what could be a methodology to track this down?
I thank you in advance for your help.
Have a good day.
Best regards,
Pierre
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users