A material name will appear in the faces property of an object.

here I have tied it to a text object which would allow me to do pretty much whatever I want from there.


------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
------------------------------
Original Message:
Sent: 10-05-2023 19:24
From: Cindy McNicholl
Subject: Using Visual Logic or Scripting to change position and width of text object
Is there a way to have whether the quad has a material or new material assigned to it control the text position, instead of the quad's visibility?
I have the length of text string control similar adjustments on other objects. (0 string length as opposed to 1 or greater)
------------------------------
Cindy McNicholl
------------------------------
Original Message:
Sent: 10-05-2023 17:51
From: Omar Reyes
Subject: Using Visual Logic or Scripting to change position and width of text object
Here is the file, attached the wrong one before...
------------------------------
Omar Reyes
Fargo United States
Original Message:
Sent: 10-05-2023 17:03
From: Omar Reyes
Subject: Using Visual Logic or Scripting to change position and width of text object
This can be done easily with the Input Selector in Visual Logic. The Visible node will show 0 (quad is hidden) or 1 (quad is visible), connect this to the Index of the Input Selector node to have it select which value to use for the Output. As for changing the bounding box for the text, you'll want to use the Autosqueeze Width node.
I'll attach the project I made and a screenshot below:



------------------------------
Omar Reyes
Fargo United States