iMesh API

iMesh_Object

This subtype of iBase_Object represents an iMesh instance object.

iMeshIter_Object

This subtype of PyObject represents an iMesh iterator object.

iMeshEntitySet_Object

This subtype of iBaseEntitySet_Object represents an iMesh entity set object.

iMeshTag_Object

This subtype of iBaseTag_Object represents an iMesh tag object.

PyTypeObject iMesh_Type

This instance of PyTypeObject represents the iMesh instance type. This is the same object as itaps.iMesh.Mesh.

PyTypeObject iMeshIter_Type

This instance of PyTypeObject represents the iMesh iterator type. This is the same object as itaps.iMesh.Iterator.

PyTypeObject iMeshEntitySet_Type

This instance of PyTypeObject represents the iMesh entity set type. This is the same object as itaps.iMesh.EntitySet.

PyTypeObject iMeshTag_Type

This instance of PyTypeObject represents the iMesh tag type. This is the same object as itaps.iMesh.Tag.

PyTypeObject CreateEnt_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from createEnt(). This is the same object as itaps.iMesh.create_ent.

PyTypeObject AdjEntIndices_Type

(Python 2.6+ only.) This instance of PyTypeObject represents the named tuple type returned from getAdjEntIndices(). This is the same object as itaps.iMesh.adj_ent.

int iMesh_Check(PyObject *p)

Return true if its argument is a Mesh or a subtype of Mesh.

int iMeshEntitySet_Check(PyObject *p)

Return true if its argument is a EntitySet or a subtype of EntitySet.

int iMeshTag_Check(PyObject *p)

Return true if its argument is a Tag or a subtype of Tag.

PyObject* iMeshEntitySet_New()

Return a new uninitialized EntitySet, or NULL on failure.

PyObject* iMeshTag_New()

Return a new uninitialized Tag, or NULL on failure.

PyObject* iMesh_FromInstance(iMesh_Instance instance)

Return a new (unowned) Mesh, or NULL on failure.

PyObject* iMeshEntitySet_FromHandle(iMesh_Object *m, iBase_EntitySetHandle h)

Return a new itaps.iMesh.EntitySet from a Mesh object and a C iBase_EntitySetHandle, or NULL on failure.

PyObject* iMeshTag_FromHandle(iMesh_Object *m, iBase_TagHandle h)

Return a new itaps.iMesh.Tag from a Mesh object and a C iBase_TagHandle, or NULL on failure.

iMesh_Object* iMeshEntitySet_GetInstance(PyObject *p)

Attempt to return the Mesh object of the object p. If there is an error, an exception is raised and NULL is returned.

iMesh_Object* iMeshEntitySet_GET_INSTANCE(PyObject *p)

Return the Mesh object of the object p. No error checking is performed.

iMesh_Object * iMeshTag_GetInstance(PyObject *p)

Attempt to return the Mesh object of the object p. If there is an error, an exception is raised and NULL is returned.

iMesh_Object * iMeshTag_GET_INSTANCE(PyObject *p)

Return the Mesh object of the object p. No error checking is performed.

int iMeshTopology_Cvt(PyObject *obj, int *val)

Convert any compatible Python object, obj, to a value in the enumeration iMesh_EntityTopology. Return 1 on success, and 0 on failure. This function can be used with the "O&" character code in PyArg_ParseTuple() processing.

Previous topic

iBase API

Next topic

iGeom API

This Page