THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 28/12/2011 at 07:21, xxxxxxxx wrote:
I am trying to select merged objects using python.
What I want to be able to do is select only the merged objects in the scene and then run a "center object axis" command on them.
I was able to get the objects to merge but I can't select only the merged objects. I don't want to select all, but only the objects that I have merged.
Your help would be much appreciated.
bellow is my code:
from c4d import gui
#Welcome to the world of Python
def main() :
doc = c4d.documents.GetActiveDocument()
c4d.documents.MergeDocument(doc, path, 1);