return self.dialog.Open(dlgtype=c4d.DLG_TYPE_ASYNC, pluginid=PLUGIN_ID, xpos=-2, ypos=-2, defaultw=760, defaulth=450)
does anyone know if it is possible every time I open my layout, it has the same "defaultw" and "defaulth" ?
because as a default when I change manually and after opening it again, the change you make is saved
Thanks! seems to work well!
the problem is that apparently it only runs on the tag, if I set the option as a UserData of my object, it doesn't work
Oh! Thank you! but I think you don't understand
I need to create code similar to a PSR and I need the Maintain Original option, for that I need a "LOOK POSITION", because the python tag is executed in a loop, I need to get a position only if I activate the Maintain Original, and after that do not change the value.
does anyone know how i can get my starting position? and keep locked, without changing it? how does PSR's Maintain Original do?
Can someone help me? changes the value of my cycle button, but does not execute it:
but that's really my intention, delete items from the scene as soon as their hierarchy is unfolded
basically this is the algorithm that i need
I need to check if it is being opened, and not if it is open