In 2011 and later, you can’t use OriginPath to find the location of the inspected shader/texture. Instead, use ShaderDef.DefinitionPath.
ShaderDef.DefinitionPath will return something like:
' INFO : C:\Users\blairs\Autodesk\Softimage_2012_SP1\Addons\baVolume\Application\spdl\BA_fluid.spdl
So you could do something like this in your SPDL file to specify the location of your help:
Sub OnInit() setAlpha_OnChanged() Set ppi =PPG.Inspected(0) s = ppi.ShaderDef.DefinitionPath sHelp = Left( s, InStr( 1, s, "spdl" ) - 1 ) + "../help/index.htm" PPG.PPGLayout.SetAttribute siUIHelpFile, sHelp End sub