How to use some CMesh() attributes

General discussion about TexGen.

Moderators: Martin, Developers

Post Reply
Eric1
Posts: 2
Joined: Tue Jun 30, 2009 11:40 am

How to use some CMesh() attributes

Post by Eric1 »

Hello,

I would like to know if somene could help me with using three different CMesh() attributes.

1. PointInsideYarn attribute as I mentionned in my previous. I just don't see how to put input arguments.

2. DeleteNodes (const set< int > &Nodes): I don't understand how to write this type of input; I tried DeleteNodes(set(int())) but it says:
TypeError: in method 'CMesh_DeleteNodes', argument 2 of type 'set< int > const &'

3. DeleteNode(vector< XYZ >::iterator it): I also can't write the input since it says:
def DeleteNode(*args): return _Core.CMesh_DeleteNode(*args)
TypeError: in method 'CMesh_DeleteNode', argument 2 of type 'std::vector< TexGen::XYZ,std::allocator< TexGen::XYZ > >::iterator'


If someone can help me with these three function, or one of them, I would be grateful.

Thank you in advance for your help!

Eric.
Post Reply