gordryd
|
gordryd
Posted 3 Years Ago
|
Group: Forum Members
Last Active: 5 hours ago
Posts: 713,
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: Yesterday
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: 6 hours ago
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: 12 hours ago
Posts: 9.2K,
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 R16, Win 11, i9-149000KF, 3.20GHz CPU, 64GB RAM, RTX 4090 (24GB), Samsung 870 Pro 8TB, Gen3 MVNe M-2 SSD, 4TBx2, 39" Alienware Widescreen Monitor Mike "ex-genius" Kelley
|