This is what I have now:
------------------->
I would like to have this:
=============>
Code: Select all
axis=axisCross.getPart("shape",0)
axis.set("xAxis.appearance.drawStyle", "lineWidth 2")
axis.set("yAxis.appearance.drawStyle", "lineWidth 2")
axis.set("zAxis.appearance.drawStyle", "lineWidth 2")
The pivy is a python wrapper for the C++ library Coin3D (Open Inventor) using the tool SWIG. Obviously the generated code handles all the type-internal stuff on its own instead of following the official python way. That's why attributes don't appear in an object's type list and thus do not appear in the list. Unfortunately, I do nit know of any workaround to fix this misbehaviour.When I'm writing down final line in python console:
cone.bottomRadius.setValue(10)
when I write 'cone.' a list appears. Why is 'bottomRadius' not listed in this list? and where in documentation can I find 'bottomRadius'