Local material behaviour 2005-02-22 - By Axel Akesson
Back Don't know... but it's easy enough to script. Beware of e-mail formating.
//DUPLICATE OBJECT AND MATERIAL //-- ---- ---- ---- ---- ------ //Usage: Select object and run. //Axel Akesson, 2005
var oSel = GetValue("SelectionList");
for(i=0;i<oSel.Count;i++){ var oMats = oSel(i).Materials var oDup = Duplicate(oSel(i), null, 2, 1, 1, 0, 0, 1, 0, 1, null, null, null, null, null, null, null, null, null, null, 0); for(a=0;a<oMats.Count;a++){ logmessage (oMats(a).Name); var oMatDup = Duplicate(oMats(a), null, 2, 1, 1, 0, 0, 1, 0, 1, null, null, null, null, null, null, null, null, null, null, 0); CopyPaste(oMatDup, null, oDup, 1); } } DeselectAll();
Cheers, Axel VR
-- --Urspr�ngliche Nachricht-- -- Von: owner-xsi@(protected) [mailto:owner-xsi@(protected)] Im Auftrag von Arvid Bj�rn Bereitgestellt: Dienstag, 22. Februar 2005 15:00 Bereitgestellt in: XSI Unterhaltung: Local material behaviour Betreff: Local material behaviour
Is it possible to set a preference for all duplicated objects to have local materials instead of assigning material links in 4.2? Had a look in the manuals, couldn't find any mention of it.
ps. I really dig the magnet locks on my new 4.x manual box =)
-- cg/3d-artist | palladiumfilm
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
--- Unsubscribe? Mail Majordomo@(protected) with the following text in body: unsubscribe xsi
|
|