Profile Picture

How the heck do I use the Self parm when calling an RL function?

Posted By Kelleytoons Last Year
You don't have permission to rate!

How the heck do I use the Self parm when calling an RL function?

Author
Message
Kelleytoons
Kelleytoons
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)Distinguished Member (37.8K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 9.2K, Visits: 22.1K
I realize this is a more generalized Python question but without examples (and OF COURSE the RL docs don't have examples) even reading on the web doesn't tell this old man how to use it.

I have a function: 

RLPy.RIVisualSettingComponent.LoadIBLImage(self, strFilePath )

Load the Image for IBL.

Experimental API

Parameters

strFilePath[IN] Enable or disable two sided material - string

Returns

RLPy.RStatus.Success - Succeed
RLPy.RStatus.Failure - Fail

 Now this IS experimental, but how the heck do I call this?  This old man doesn't want to learn any more about coding in my few remaining years, but even the examples online don't explain this well.  Is the call: RLPy.RIVisualSettingComponent.LoadIBLImage(" ", "C:\testes.hdr")?  That doesn't seem right (and doesn't work) but I don't have any other ideas about it.





Alienware Aurora R16, Win 11, i9-149000KF, 3.20GHz CPU, 64GB RAM, RTX 4090 (24GB), Samsung 870 Pro 8TB, Gen3 MVNe M-2 SSD, 4TBx2, 39" Alienware Widescreen Monitor
Mike "ex-genius" Kelley




Reading This Topic