|
Author
|
Message
|
|
The-any-Key
|
The-any-Key
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 356,
Visits: 1.9K
|
dogged2003 (1/13/2019) Not prop, like the horse.Did you try his code :-) Currently these are the types in iClone:
EObjectType_Object EObjectType_Avatar EObjectType_Prop <<< Horse probably here EObjectType_Camera EObjectType_Particle EObjectType_Light EObjectType_SpotLight EObjectType_PointLight EObjectType_DirectionalLight
iClone 7, 3DXchange 7 Pipeline, CC3 Pipeline, CT8 Pipeline, Iray, Live Face, iPhone Xr, Win 10, i9 9900K ~5GHz, Nvidia RTX 2080 8GB, 16GB Ram, M.2 SSD
|
|
|
|
|
dogged2003
|
dogged2003
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 418,
Visits: 4.5K
|
Not prop, like the horse.
My YouTube channel.
|
|
|
|
|
Kelleytoons
|
Kelleytoons
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 9.2K,
Visits: 22.1K
|
robby = RLPy.RScene.FindObject(RLPy.EObjectType_Prop, "RobbyRigged") skeleton_component = robby.GetSkeletonComponent() motion_bones = skeleton_component.GetMotionBones() for bone in motion_bones: print (bone.GetName())
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
|
|
|
|
|
dogged2003
|
dogged2003
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 418,
Visits: 4.5K
|
How to get the bones of a non-human avatar? And manage them?So I get nothing:import math, RLPy
#-- Get Characters from current scene --# avatar_list = RLPy.RScene.GetAvatars() #-- Get First Character --# avatar = avatar_list[0] #-- Get Skin Bone Data --# skin_bone = avatar.GetSkeletonComponent().GetSkinBones() #-- Get Motion Bone Data --# motion_bone = avatar.GetSkeletonComponent().GetMotionBones()
for bone in skin_bone: print ("Skin Bone: " + bone.GetName())
for bone in motion_bone: print ("Motion Bone: " + bone.GetName())
My YouTube channel.
|
|
|
|
|
dogged2003
|
dogged2003
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 418,
Visits: 4.5K
|
Show me how to write my actions in the Clone to the script? For editing and repetition?How to get access to menu items, Timeline, to settings windows, etc.?
My YouTube channel.
|
|
|
|
|
The-any-Key
|
The-any-Key
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 356,
Visits: 1.9K
|
Sample how to replace old data in transform key. When I run this once, it will add a key and the value I need object.GetControl("Transform").SetData("Rotation/RotationX", timemark, RLPy.RVariant(value))
But if I run it again with a different value, it wont change the key rotation to the new value, the old value remain.Is that intended or is it a bug. Anyway, I would like an example how to replace a transform value in an existing key.
EDIT: Found a way by using transform_control.SetValue. But there seem to be a bug in the GetValue and SetValue. Because I get half the actual value. And set the double of the input value. Reported this on the feedback tracker however. EDIT 2: Sorry, my bad. The R().x (y,z) return the values from the matrix, not the local settings. :crazy: EDIT 3: Sorry again:
object.GetControl("Transform").SetData("Rotation/RotationX", timemark, RLPy.RVariant(value))
Works fine and will replace old key values. It was just a combination with the half values issue and SetData. It works fine, if you use the correct values Ignore this request. :Whistling:
iClone 7, 3DXchange 7 Pipeline, CC3 Pipeline, CT8 Pipeline, Iray, Live Face, iPhone Xr, Win 10, i9 9900K ~5GHz, Nvidia RTX 2080 8GB, 16GB Ram, M.2 SSD
|
|
|
|
|
videodv
|
videodv
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 342,
Visits: 12.0K
|
Kelleytoons (1/10/2019)
videodv (1/5/2019) How to change the Transition Curve of a material.
You can't do this (yet). You can fake a step transition, though, quite easily. Thanks Mike I have allready put this on the feedback tracker and got the reply that this wll be put in a future update. Chris.
|
|
|
|
|
Kelleytoons
|
Kelleytoons
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: Last Year
Posts: 9.2K,
Visits: 22.1K
|
videodv (1/5/2019) How to change the Transition Curve of a material.
You can't do this (yet). You can fake a step transition, though, quite easily.
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
|
|
|
|
|
videodv
|
videodv
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 342,
Visits: 12.0K
|
How to select different functions when pressing a button or other widgets in a basic dialog box.
|
|
|
|
|
videodv
|
videodv
Posted 6 Years Ago
|
|
Group: Forum Members
Last Active: 2 Years Ago
Posts: 342,
Visits: 12.0K
|
How to change the Transition Curve of a material.
|
|
|
|