Profile Picture

iClone 7.5 (with new Python APIs ) is Available!

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

Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)

Group: Forum Members
Last Active: 4 hours ago
Posts: 6.8K, Visits: 14.1K
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 R7, Win 10, i7-8700k, 4.7GHz CPU, 32GB RAM, GTX Titan XP (12GB), Samsung 960 Pro 2TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
jlittle
jlittle
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)Distinguished Member (4.2K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 1.5K, Visits: 12.6K
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




See my CTA Tutorials on the YouTube channel CTAStepByStep
Check out EZColors for CTA. The easy way to change Render Styled (RS) colors.

Delerna
Delerna
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)

Group: Forum Members
Last Active: 4 hours ago
Posts: 1.4K, Visits: 12.2K
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
2 Years Ago by Delerna
Delerna
Delerna
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)Distinguished Member (4.9K reputation)

Group: Forum Members
Last Active: 4 hours ago
Posts: 1.4K, Visits: 12.2K
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
2 Years Ago by Delerna
videodv
videodv
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 239, Visits: 6.5K
How to change the Transition Curve of a material.
videodv
videodv
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)

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

Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)Distinguished Member (21.8K reputation)

Group: Forum Members
Last Active: 4 hours ago
Posts: 6.8K, Visits: 14.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 R7, Win 10, i7-8700k, 4.7GHz CPU, 32GB RAM, GTX Titan XP (12GB), Samsung 960 Pro 2TB M-2 SSD, TB+ Disk space
Mike "ex-genius" Kelley
videodv
videodv
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)Distinguished Member (1.4K reputation)

Group: Forum Members
Last Active: Yesterday
Posts: 239, Visits: 6.5K
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 Last Year
View Quick Profile
Distinguished Member

Distinguished Member (1.7K reputation)Distinguished Member (1.7K reputation)Distinguished Member (1.7K reputation)Distinguished Member (1.7K reputation)Distinguished Member (1.7K reputation)Distinguished Member (1.7K reputation)Distinguished Member (1.7K reputation)Distinguished Member (1.7K reputation)Distinguished Member (1.7K reputation)

Group: Forum Members
Last Active: Last Week
Posts: 355, Visits: 1.8K
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
Last Year by The-any-Key
dogged2003
dogged2003
Posted Last Year
View Quick Profile
Distinguished Member

Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)

Group: Forum Members
Last Active: Last Year
Posts: 412, Visits: 4.1K
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
Last Year by dogged2003



Reading This Topic