Thanks Simon,
I ended up using
Self.Project.GetMaterialbyName ("name".Text."textname")
However I could not have gotten to that point without your assistance.
Thanks for your time!
------------------------------
Tai Newman
Xpression operator/designer
Melbourne Australia
------------------------------
Original Message:
Sent: 06-01-2023 17:22
From: Red
Subject: How to Script Quad material change from text input?
Dang.
So you want to assign a material from the material manager to an object face?
You have to get the material from the engine as it is project base.
dim mat as xpMaterial
dim quad as xpQuadObject
engine.GetMaterialByName("materialname", mat)
self.GetObjectByName("quad1", quad)
quad.SetMaterial(0, mat)
------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom
------------------------------
Original Message:
Sent: 06-01-2023 16:53
From: Tai
Subject: How to Script Quad material change from text input?
Ah, unfortunately the workstation is a Graphite 8.5 4567 build. Otherwise this option would be ideal
------------------------------
Tai Newman
Xpression operator/designer
Melbourne Australia
Original Message:
Sent: 06-01-2023 05:18
From: Red
Subject: How to Script Quad material change from text input?
For materials you can just type their name into dynamic material directly

so you could just use a text macro?

------------------------------
Simon Redmile
Senior Graphic Programmer & Designer
Ross Video
Bristol United Kingdom