Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hello,
ProGroup t_Group;
ProLocalGroupCreate((ProSolid)asm_mdl,feat_id,num_refs,L"COMPONENTS_TOP",&t_Group);
I have something like this, asm_mdl is an assembly with many part components in, feat_id is an array (feature id) of some (not all) components part inside the assembly, num_refs is the size of the array.
When I run it, a confirmation window opens and says "Group all features in between YES or NO".
When Yes, it creates a Group with all components in the assembly.
When No, nothing happens.
My problem is that I want to group only some part component (the id I have putted in the array) not all.
Another problem, when I create two groups sequentially, the second group is created inside the first group. How can I avoid it?
Thank you guys!
@MichelH @ysinitsyn @rghadge @RPN
Solved! Go to Solution.
A group must be a continues set of feature ids, the feature number must be n,n+1,n+2 ....
From the Creo Help:
If there are features between the specified features in the regeneration list, you are prompted to group all the features in between. If you do not want to group some of the features within the sequential order, first reorder the features.
A group must be a continues set of feature ids, the feature number must be n,n+1,n+2 ....
From the Creo Help:
If there are features between the specified features in the regeneration list, you are prompted to group all the features in between. If you do not want to group some of the features within the sequential order, first reorder the features.
Yes, you are right. I need to reorder it.