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

Reply via email to