gordryd
|
gordryd
Posted 3 Years Ago
|
Group: Forum Members
Last Active: 18 minutes ago
Posts: 711,
Visits: 7.6K
|
The Parent/Child commands only return bone information about the Avatar. Since .ccCloth is not a prop, it doesn't show up in prop list either. Any ideas?
Reallusion Certified Director / Reallusion Best Visual Award / Reallusion Certified Content Developer See all the G-Tools Plug-Ins available for iClone here: G-Tools Plug-Ins
|
Data Juggler
|
Data Juggler
Posted 3 Years Ago
|
Group: Forum Members
Last Active: 3 hours ago
Posts: 1.7K,
Visits: 5.4K
|
My wish list item is for exposing sub props of props is on page 2 here: https://forum.reallusion.com/469826/Submit-your-Python-Wishlist-Reallusion-Python-Wishlist-Thread?PageIndex=2
Clothing for characters would be another good use of getting child items. This seems like whoever wrote the API doesn't use the API much.
Creator of the free website: PixelDatabase.Net A Free Online Text Based Image Editor
|
4u2ges
|
4u2ges
Posted 3 Years Ago
|
Group: Forum Members
Last Active: Yesterday
Posts: 5.0K,
Visits: 15.9K
|
A few days ago we hit 1 year anniversary since the last Python update: https://wiki.reallusion.com/IC_Python_API:Uses_and_CapabilitiesWith the way things are going, I am not sure if we will see updates soon. Maybe in iClone 8.. hopefully.
|
videodv
|
videodv
Posted 3 Years Ago
|
Group: Forum Members
Last Active: Last Year
Posts: 342,
Visits: 12.0K
|
# Get Avatar mesh and Material avatar_list = RLPy.RScene.GetSelectedObjects() avatar = avatar_list[0] material_component = avatar.GetMaterialComponent() mesh_list = avatar.GetMeshNames() mesh_name = mesh_list[0] material_list = material_component.GetMaterialNames(mesh_name)
for mesh in mesh_list: material_list = material_component.GetMaterialNames(mesh) for mat in material_list: print(mat)
Hopefully this may help. Chris.
|
Kelleytoons
|
Kelleytoons
Posted Last Month
|
Group: Forum Members
Last Active: Yesterday
Posts: 9.1K,
Visits: 21.8K
|
Ah, sir - why the $%@ did I not see your reply so many years ago? (Perhaps I was busy with other things in life. We'll never know :> . In any case, I thank you a thousand times. This does indeed work perfectly (and now off to anoint my other thread questions with this info. Just in case some other poor soul has the same issue).
Alienware Aurora R12, Win 10, i9-119000KF, 3.5GHz CPU, 128GB RAM, RTX 3090 (24GB), Samsung 960 Pro 4TB M-2 SSD, TB+ Disk space Mike "ex-genius" Kelley
|