Hi all,

I confirm it works.
I didn't install OCE sources on my computer, only copied CurrentUnits into
a folder and then in python wrote:

os.environ['CSF_CurrentUnitsDefaults']='L:\\programs\\pythonOCC\\0.5\\examples\\data\\unitConfiguration'
u = UnitsAPI()
u.SetLocalSystem(UnitsAPI_SI)
print u.CurrentUnit("LENGTH")

It works.
So let's go further now.

Thanks again.
Bests

Pierre
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to