Mike, thank you a lot!
@m_magalhaes Thank you for answer!
Hello for everyone. Is it real to set up parameters like a position and rotation for all selected nodes by python?
nodes = 
root = nodeMaster.GetRoot()
for node in root.GetChildren():
##place for setting parameter##
If its real, could you write a command which set up x position in input for example
Hello guys! I know how to merge a scene with a current project. But i have no idea how to insert scene under parent with coordinats of this parent.
I want to create custom nulls thats why i want to it. What should i add in this code if i want insert scene under object?
doc.StartUndo() # Start recording undos
path = "C:\Users\Jamaletdinov.r\Desktop\ArrowR.c4d"
flags = c4d.SCENEFILTER_OBJECTS | c4d.SCENEFILTER_MATERIALS | c4d.SCENEFILTER_MERGESCENE
c4d.documents.MergeDocument(doc, path, flags)
@ferdinand Sorry for the late reply. Yes you understood me correctly. Will this be fixed in new c4d versions?
Hello for every one. Does anybody know is it real to set up value for selected user data and for all user data in object?
@cairyn Thank you again. I will check your patreon
For example, we have 20 layers and i need to change visibility just for 2 layers in this list. That's what i meant when i talked about selected layers.
I tried to use same code but it showed to me first layer in list....while i want to work with active layers which i have selected.
And i wanted to ask which command delete layer?
Sorry for stupid questions, but SDK a little bit unobvious.
@cairyn, i don't understand just one thing how should i change a code if i want to do it with selected objects not for all.
if layer == None: return
layer [c4d.ID_LAYER_VIEW] = 1
first = doc.GetLayerObjectRoot().GetDown()
It’s too bad, but thank you for your answer Manuel.