Profile Picture

iClone 7.5 (with new Python APIs ) is Available!

Posted By luke (RL) 6 Years Ago
Rated 5 stars based on 1 vote.
Author
Message
Kelleytoons
Kelleytoons
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 9.2K, Visits: 21.8K
jlittle (12/27/2018)
I

Use 4 spaces--never tabs. Enough said.
Jeff



If you are using Notepad++ (and I note that RL recommends this, which is excellent advice -- I've used it for many, many years now) you can make your tabs produce spaces (if that makes sense).  I like it because you *can* use tabs (pressing the tab key just generates the appropriate spaces).





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
jlittle
jlittle
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (6.7K reputation)Distinguished Member (6.7K reputation)Distinguished Member (6.7K reputation)Distinguished Member (6.7K reputation)Distinguished Member (6.7K reputation)Distinguished Member (6.7K reputation)Distinguished Member (6.7K reputation)Distinguished Member (6.7K reputation)Distinguished Member (6.7K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 1.9K, Visits: 17.1K
Kelleytoons (12/27/2018)
... you *can* use tabs (pressing the tab key just generates the appropriate spaces).

Yes, a lot of editors can be setup to either use a tab or a number of spaces, when pressing the tab key, which is very convenient.

Jeff




Get my Plugin Manager and TaskNotes plugins for iClone.
Check out EZColors and Other products for CTA/CA. EZColors: the easy way to change Render Styled (RS) colors!
See my CTA Tutorials on the YouTube channel CTAStepByStep

Delerna
Delerna
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 1.5K, Visits: 14.8K
Thank you jlittle.
The way you explained how to setup method1 projects that automatically loads when iClone gets loaded has cleared the incorrect thinking on this in my head and now it makes absolute sense for me.
Unfortunately my brain has started finding it difficult to start understanding new things unless it is explained clearly. Reading the explanation in iClone Python API tutorial I found confusing and I made an incorrect statement on only 1 being able to be created. But now, after reading your explanation even this explanation also makes absolute sense. It didn't when I first read it but it does now. I don't know why it didn't when I first read it......just my brain getting a bit lost on it I guess.

Thanks for your post



i7-3770 3.4GHz CPU 16 GB Ram   
GeForce GTX1080 TI 11GB
Windows 10 Pro 64bit
Edited
6 Years Ago by Delerna
Delerna
Delerna
Posted 6 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)Distinguished Member (8.2K reputation)

Group: Forum Members
Last Active: 2 Years Ago
Posts: 1.5K, Visits: 14.8K
By the way. Everything you wrote in that post is going to be useful to assist me getting this new iClone API clearer in my head.

Edit
Also read some of RobertoColombo's posts which are also going to help me get going with this.
Good to see all these assistable comments being made


i7-3770 3.4GHz CPU 16 GB Ram   
GeForce GTX1080 TI 11GB
Windows 10 Pro 64bit
Edited
6 Years Ago by Delerna
videodv
videodv
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 342, Visits: 12.0K
How to change the Transition Curve of a material.
videodv
videodv
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 342, Visits: 12.0K
How to select different functions when pressing a button or other widgets in a basic dialog box.
Kelleytoons
Kelleytoons
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)Distinguished Member (35.7K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 9.2K, Visits: 21.8K
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 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)

Group: Forum Members
Last Active: Last Year
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.

The-any-Key
The-any-Key
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)Distinguished Member (2.8K reputation)

Group: Forum Members
Last Active: 3 Weeks Ago
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
Edited
5 Years Ago by The-any-Key
dogged2003
dogged2003
Posted 5 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)Distinguished Member (5.3K reputation)

Group: Forum Members
Last Active: Last Year
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.
Edited
5 Years Ago by dogged2003



Reading This Topic