THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 23/07/2012 at 10:20, xxxxxxxx wrote:
I can split a group of polygons into two objects by doing:
Mesh -> Conversion -> Polygon groups to objects
I would like to use SendModellingCommand to the same but I couldn't find the command in the API documentation (R13)
Has anybody an idea how to do that?
PS: What I try to achieve is to slice a model (a window actually) into 8 pieces - 4 corners, 2 vertical bits, 2 horizontal bits. I use Boole object to intersect.
On 23/07/2012 at 14:49, xxxxxxxx wrote:
I could be wrong but it doesn't look to me like a single command. If you take a connected, editable extrude nurbs as an example, you've typically got a single polygon object with two selection tags.
What I think 'polygon groupos to objects' is doing is selecting the polys in the first tag and calling Split, then deleting the original polys. Then it selects the polys in the other tag and does the same. Finally it selects all the other polys and does the same again. Then it just groups the three new objects under the original one, which by now has no polygons in it.
You could easily do the same with SendModelingCommand but an easier way might be just to use CallCommand with ID 17891.
On 25/07/2012 at 01:55, xxxxxxxx wrote:
Thanks for your help. I've actually used a workaround that requires a little bit more preparation of the model but that is much faster - in programmer's view anyway