Hello Alain, Thanks for this interesting feedback. You currently have to pass an instance of a Interface_Static class (the python wrapper does not currently support C++ static methods). This issue is reported on the googlecode page as #20: http://code.google.com/p/pythonocc/issues/detail?id=20
Best regards, Thomas 2010/7/26 Alain Fagot <alain.fa...@dorea.fr> > Hello, > > > > Starting from the sample provided in > “pythonOCC-0.4-samples\Level2\DataExchange” I would like to change de output > protocol to AP203 (the default being AP214). > > > > In C++ this can be done with the following line: > > Interface_Static::SetCVal ("write.step.schema", "AP203") > > > > I tried in Python, but SetCVal is not class method of Interface_Static (not > static method) > > An instance of Interface_Static is requested. > > > > Does someone have some indication on how to proceed? > > > > Regards, > > > > Alain > > > > > > _______________________________________________ > Pythonocc-users mailing list > Pythonocc-users@gna.org > https://mail.gna.org/listinfo/pythonocc-users > >
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users