Personal tools
You are here: Home Forum Use Add Index to a group

Add Index to a group

Up to Use

Add Index to a group

Posted by MRobert at June 24. 2021
Dear forum,
 
Is it possible to add a custom index to a group of faces? For example if I create a group of 10 faces, it will show me 10 indices which are allocated to each face. Can I remove these indices and add a custom one or generate just one number for the group?
Regards,
Robert

Re: Add Index to a group

Posted by MRobert at July 04. 2021

Any ideas, is it possible?

Regards,

Robert

Re: Add Index to a group

Posted by SMESH expert at July 05. 2021

Hello Robert

You can remove and add indices but added indices must be indices of faces, else the operation fails.

Python functions manipulating indices are

https://docs.salome-platform.org/latest/gui/GEOM/geompy_doc/group__l3__groups.html#ga519eea7449649a6820af8744fe6acad2

https://docs.salome-platform.org/latest/gui/GEOM/geompy_doc/group__l3__groups.html#ga14e8fa9ff6e007e42422caf74070d8e7

Edward

Powered by Ploneboard
Document Actions