osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie question about Python syntax


On 8/22/2019 3:34 AM, Paul St George wrote:
> I have the Python API for the Map Value Node here: 
> <https://docs.blender.org/api/current/bpy.types.CompositorNodeMapValue.html>. 
> 
> 
> All well and good. Now I just want to write a simple line of code such as:
> 
> import bpy
> 
> ...
> 
>  >>>print(bpy.types.CompositorNodeMapValue.max[0])
> 
> If this works, I will do something similar for max, min, offset and then 
> size.

 From this and your other responses, you seem to not undertstand some of 
the concepts explained in the tutorial, in particular class and class 
instance.  Perhaps you should reread the appropriate section(s), and if 
you don't understand any of the examples, ask about them here.  We are 
familiar with those, but not with CompositorNodeMapValue.


-- 
Terry Jan Reedy