Dear all,

I installed theAll-In-One precompiled binaries version of pythonOCC with Python 
2.6. All examples run perfectly but I still have problems with 2 examples using 
the OCAF tree:

I cannot get running Level1\OCAF\topological_naming and 
Level2\InteractiveFeatureTree. I get the following error message:

Traceback (most recent call last):
  File 
"C:\Python26\POCC\0.5\examples\Level1\OCAF\topological_naming\named_shape_demo.py",
 line 45, in <module>
    box_label = ts.NewChild(root)
NotImplementedError: Wrong number of arguments for overloaded function 
'TDF_TagSource_NewChild'.
  Possible C/C++ prototypes are:
    NewChild(TDF_Label const &)
    NewChild(TDF_TagSource *)

When executing the NewChild method:

doc = h_doc.GetObject()

root = doc.Main()

ts = TDF.TDF_TagSource()

#
# We'll add all shapes under this node in the label tree
#
shape_root = ts.NewChild(root)

Am I the only one and did I missed something?

Thanks you very much in advance, and congratulation for this wonderful python 
module.

Jean Francois
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to