Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8389681
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T18:47:39+00:00 2026-06-09T18:47:39+00:00

I’m a bit desperate here… I’m trying to access one parameter of a light

  • 0

I’m a bit desperate here… I’m trying to access one parameter of a light in Softimage.

First, when we do this:

light.GetParameterValue(L"LightExponent")

it works!

But when we try:

light.GetParameterValue(L"soft_light.atten")

it fails completely!

I tried to find documentation, but the only code that I could find is in Python and no indication for the equivalent in C++. In python, they manage to do something like:

xsi = Application
test = xsi.GetValue("LightName.point.soft_light.atten")

But I cannot figure out what is Application, and it’s not the same as XSI::Application in the API.

So, any idea how to access this value ? Also, if I could found the equivalent to Application.GetValue (in the script, you can see Application.SetValue… so I imagine that GetValue exists in some form!) in C++, that would be nice… I could simply use the name of the light and then add the information that I need to access that value like:

SomeUnknownClassForNow::GetValue(light.GetName() + ".point.soft_light.atten");

Any idea ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T18:47:41+00:00Added an answer on June 9, 2026 at 6:47 pm

    With the help of a client of ours, I finally managed to find a proper solution to this.

    First, there’s some direct parameters, like “LightExponent”. But there’s other parameters associated with an object, like a light, in other categories called Shaders.

    With a light, or a least a point light, there’s only one Shader, called “soft_light”. It’s possible to access it by:

    light.GetShaders()[0]
    

    It’s possible to verify its name to with GetName(). Which, in this case, would be “LightName.point.soft_light”.

    Finally, to access the “soft_light.atten” parameter:

    light.GetShaders()[0].GetParameterValue("atten")
    

    So, in Softimage, there’s sort of Hierarchy in objects and all these a separated as shaders. For more complex object, just find the right shader and extract its parameter.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm making a simple page using Google Maps API 3. My first. One marker
link Im having trouble converting the html entites into html characters, (&# 8217;) i
For some reason, after submitting a string like this Jack’s Spindle from a text
I am trying to understand how to use SyndicationItem to display feed which is
Basically, what I'm trying to create is a page of div tags, each has
this is what i have right now Drawing an RSS feed into the php,
I am reading a book about Javascript and jQuery and using one of the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.