Profile Picture

Python: AddDiffuseKey not showing on timeline

Posted By videodv 2 Months Ago
You don't have permission to rate!
Author
Message
videodv
videodv
Posted 2 Months Ago
View Quick Profile
Veteran Member

Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)

Group: Forum Members
Last Active: 7 hours ago
Posts: 182, Visits: 4.4K
Hi All

After the update to 7.41 when I add a series of Material Diffuse Keys to the timeline and playing the sequence the key do not show up, anyone else found this or is it just my system?
I have put this in the feedback tracker but got no responce yet to this issue.

Chris.
The-any-Key
The-any-Key
Posted 2 Months Ago
View Quick Profile
Veteran Member

Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)

Group: Forum Members
Last Active: 3 hours ago
Posts: 157, Visits: 919
Try hide/unhide the object.



iClone 7, 3DXchange 7 Pipeline, CC3 Pipeline, CT8 Pipeline, Iray, Live Face, iPhone Xr, Win 10, i9 9900K ~5GHz, Nvidia RTX 2080 8GB, 16GB Ram, M.2 SSD
videodv
videodv
Posted 2 Months Ago
View Quick Profile
Veteran Member

Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)

Group: Forum Members
Last Active: 7 hours ago
Posts: 182, Visits: 4.4K
The-any-Key (2/3/2019)
Try hide/unhide the object.


Thanks The-any-Key
That did the trick.

Chris.

dogged2003
dogged2003
Posted 2 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.3K reputation)Distinguished Member (2.3K reputation)Distinguished Member (2.3K reputation)Distinguished Member (2.3K reputation)Distinguished Member (2.3K reputation)Distinguished Member (2.3K reputation)Distinguished Member (2.3K reputation)Distinguished Member (2.3K reputation)Distinguished Member (2.3K reputation)

Group: Forum Members
Last Active: 3 hours ago
Posts: 408, Visits: 4.1K
The-any-Key (2/3/2019)
Try hide/unhide the object.

Smile First - play
Second - hide/unhide
What will next? Wink

My YouTube channel.
videodv
videodv
Posted 2 Months Ago
View Quick Profile
Veteran Member

Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)Veteran Member (766 reputation)

Group: Forum Members
Last Active: 7 hours ago
Posts: 182, Visits: 4.4K
dogged2003 (2/4/2019)
The-any-Key (2/3/2019)
Try hide/unhide the object.

Smile First - play
Second - hide/unhide
What will next? Wink


I have my hide unhide script so easy to do now I know Smile

Chris.
RobertoColombo
RobertoColombo
Posted 2 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 1.6K, Visits: 3.0K
Hi,

question: what is the API to set the RGB values for a RLPy.RRgb object ?
Not sure if it is a "typo" but the doc has a kind of duplicated API, both of them saying that they are used to get the color component, e.g. RLPy.RRgb.Red() and RLPy.RRgb.R().
So I tried the 
RLPy.RRgb.R() passing an integer as a parameter but I got an error.
Any idea/hint ?

Thanks
Cheers

  Roberto




My PC:
OS: Windows 10 Pro English 64-bit / CPU: Intel i7-9700 3.6GHz / MB: ASUS ROG Strix Z390  RAM: 32GB DDR4 2.6GHz / HD: 2TB+3TB  /  
SSD: 2x512GB Samsung 860 EVO / 
VB: Palit GTX2080 TI GamingPro 11GB / AB: embedded in the MB and VB (audio from the VB with an HDMI splitter) / DirectX: 12

Edited
2 Months Ago by RobertoColombo
The-any-Key
The-any-Key
Posted 2 Months Ago
View Quick Profile
Veteran Member

Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)Veteran Member (668 reputation)

Group: Forum Members
Last Active: 3 hours ago
Posts: 157, Visits: 919
Try:

# Color object
col_obj=RLPy.RRgb()
# Get color object from object
...
# Get colors
r=col_obj.R()
g=col_obj.G()
b=col_obj.B()
# Custom red
r=255
# Set
col_obj.From(r,g,b)




iClone 7, 3DXchange 7 Pipeline, CC3 Pipeline, CT8 Pipeline, Iray, Live Face, iPhone Xr, Win 10, i9 9900K ~5GHz, Nvidia RTX 2080 8GB, 16GB Ram, M.2 SSD
Edited
2 Months Ago by The-any-Key
RobertoColombo
RobertoColombo
Posted 2 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 1.6K, Visits: 3.0K
Thanks!
I missed this one: col_obj.From(r,g,b)
That's what i need Smile

  Roberto

My PC:
OS: Windows 10 Pro English 64-bit / CPU: Intel i7-9700 3.6GHz / MB: ASUS ROG Strix Z390  RAM: 32GB DDR4 2.6GHz / HD: 2TB+3TB  /  
SSD: 2x512GB Samsung 860 EVO / 
VB: Palit GTX2080 TI GamingPro 11GB / AB: embedded in the MB and VB (audio from the VB with an HDMI splitter) / DirectX: 12

RobertoColombo
RobertoColombo
Posted 2 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)Distinguished Member (6.5K reputation)

Group: Forum Members
Last Active: 2 Months Ago
Posts: 1.6K, Visits: 3.0K
Hi Jeff,

I tried what you suggested but i still get a run-time error.
Basically, the error pops up as soon as I build a simple RGB object, e.g., something like:

   color = RLPy.RRgb.From(150, 40, 200)

Note that I can successfully create a prop and change its color to RED, GREEN, or BLUE using

   color = RLPy.RRgb.RED, or

   color = RLPy.RRgb.GREEN, or
   color = RLPy.RRgb.BLUE

but when I substitute this instruction in the same code with the one above, I get an error.

Puzzling... Blink

  Roberto




My PC:
OS: Windows 10 Pro English 64-bit / CPU: Intel i7-9700 3.6GHz / MB: ASUS ROG Strix Z390  RAM: 32GB DDR4 2.6GHz / HD: 2TB+3TB  /  
SSD: 2x512GB Samsung 860 EVO / 
VB: Palit GTX2080 TI GamingPro 11GB / AB: embedded in the MB and VB (audio from the VB with an HDMI splitter) / DirectX: 12

jlittle
jlittle
Posted 2 Months Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)Distinguished Member (3.4K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 1.5K, Visits: 11.7K
Try putting parens after RRgb:
 color = RLPy.RRgb().From(150, 40, 200)

Jeff


See my CTA Tutorials on the YouTube channel CTAStepByStep
Check out EZColors for CTA. The easy way to change Render Styled (RS) colors.




Reading This Topic