From Vectorworks Developer
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionReturns the shader record of the specified family (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump), if one is attached to the texture.
family :LONGINT) : HANDLE;
def vs.GetShaderRecord(texture, family): return HANDLE
texture HANDLE Get the shader record attached to this texture. family LONGINT The kind of shader to retrieve (1 = color, 2 = reflectivity, 3 = transparency, 4 = bump).