I want to develop a plugin that defines the path of the folder that the open project window will open
hi @ferdinand ,
I also forgot to mention that there will be a button to save the checkbox configuration.
before Render To Picture Viewer runs, a dialog with two buttons will run "go to render" and "stop"
or a simple c4d.gui.QuestionDialog() I'm still deciding
by chance, now taking advantage of it, I already had several other doubts that I had to resort here to the forum and the solution was always something related to MSG, I don't understand anything about this subject, where can I read more about this material?
I made a plugin to show you
would be something like this:
yeah! I am aware of this but I would like to know if it is possible to change the command
let's say I have a script (which will become a plugin) that needs to be executed before the "Render View" function is it possible to do this with just python?
I have no knowledge of c++ but I imagine it is possible to do this with c++
Hmm thank you!! It's not as difficult as I imagined I just had to make a change in the formula for some case, I used:
x = focaldistance*math.tan(h/2)*1
maybe it got a little confusing, i mean you need to get the radio aspect size
it gives me in degrees...
I imagine it's something super simple.. but I didn't find anything
I would like to know if it is possible to get the height and length of field of view in cm individually from a camera
I see that the camera gives me values in degrees, but I need to have them in CM
is there any way I can get these values without having to do complex calculations based on Field Of View and Focus distance?
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
@Cairyn said in how is it possible to check if the object is being "opened"? with python:
ohh! this worked thanks!
but partially ... I would need something to keep checking all the time