Hello,
I am trying to get the Name of an IES File that is attached to a custom light source (for the purpose of an accurate light distribution)which is displayed in the Obj Info Palette.
I tried it with GetRField but i cannot get it working.
PROCEDURE FindOutParameter;
VAR
h:Handle;
Parametername,Parameternam2:STRING;
BEGIN
h:=FSactLayer; {Handle to the Lightobject}
Parametername:= GetName(h); {That Part works}
Parameternam2:= GetRField(h,'Obj Info','Distribution'); {This does not work}
AlrtDialog(concat('Name of light: ',Parametername,', ' ,'Name of IES file: ' ,Parameternam2));
END;
RUN(FindOutParameter);
Can anyone help me please?