last line is the call to a function needing some vars
how do you pass the prop to the operator?
i’m calling the operator class with a button
so when i click it does it only ounce not repeating like if it was in the panel itself
cause that has to change the mesh data only ounce otherwise it goes like into a loop!
when you add prop you can specify some default values
but if you change these values in the panel and then save file
when you re upload these saved values will be use instead of the default value
so is there a way to cancel the saved values and use the default values instead?
What OBJ? You can only use the available bpy.props properties, a stringprop for a filename would work.
when you re upload these saved values
Reopen you mean? Well, i guess you need to add the SKIP_SAVE option for the properties in the panel, then it shouldn’t save them.
Otherwise, you could provide an operator / button to restore defaults. You can read out the default values from global props btw:
bpy.types.Scene.your_prop[1][‘default’]
but how do you add the SKIP_SAVE to panel
never use that one before!
for the ob in panel i did
obj = bpy.context.object
so wondering how to pass this obj to an operator and to a function inside the operator
is it through a string may be ?
cause this is an object not a string!