That's something we've recently looked into. I recall that Thomas did add some additional method such that these calls can be set with the normal Python syntax.
Can you tell us which release you are running? Probably SVN has this functionality working, I'm not sure of 0.3 has it... -jelle On Oct 23, 2009, at 8:27 PM, Frank Conradie wrote: > In the ShapeFix classes you often have to set flags in this manner: > > sfw = new ShapeFix_Wire (oldwire, face ,tolerance); > sfw->ModifyTopologyMode() = Standard_True; > > This obviously does not work in Python: > > sfw = ShapeFix_Wire (oldwire, face ,tolerance) > sfw.ModifyTopologyMode() = True > >>>> SyntaxError: can't assign to function call > > How would I set the value of these "returned references"? > > Thanks, > Frank > > > _______________________________________________ > 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