You can't directly set a material with a Datalinq path using visual logic. The Object's face block needs a [Material] value, but the Datalinq path is a [String] value.
Instead, you can use Dynamic Materials to assign a @textobject@ macro value to your object face, and apply any Visual Logic you need to the text object referenced in your Dynamic Material Path.
Depending on the logic you're trying to accomplish, you might be able to do all this in your Dynamic Material path by including using your Text Object to be part of a file path, and setting it to something like C:\Users\Me\Pictures\@Text1@.tga
------------------------------
Jeff Mayer
Ross Video
------------------------------
Original Message:
Sent: 05-27-2023 05:18
From: Karim
Subject: Xpression Materrial Datalinq and Visual Logic
Hi,
Is it possible to assigne a material in visual logic using datalinq ?
I want to use an Excel Sheet with several tabs with a path like "C:\Users\Me\Pictures\Picture 1.tga" in cells and then be able to assign this path to a material in Visual Logic using a Datalinq connection.
I hope this is clear enough.
Regards
------------------------------
Karim Lakehal
ALTERNATIVE DEVELOPPEMENT - VIDELIO - AMP VISUALTV
France
------------------------------