Isotropix Forums

AddLayer doesnt work

Clarisse Scripting related topics

AddLayer doesnt work

Unread postby qinyao » Thu Sep 26, 2019 6:17 am

Hi,

This cmd "AddLayer" dose not work without any errer.
Code: Select all
layer = ix.cmds.AddLayer("project://scene/image.layers", "background")


Can any body help me?
qinyao
 
Posts: 82
Joined: Fri Aug 26, 2016 11:29 am

Re: AddLayer doesnt work

Unread postby dboude » Thu Sep 26, 2019 8:22 am

Hi,

to add a 3D Layer please use this :

Code: Select all
ix.cmds.AddLayer("project://scene/image.layers", "Layer3d")


If you want a color layer, replace Layer3d by LayerColor and so on...

Cheers ;)
Démian
Isotropix
Technical Artist - Clarisse Specialist
User avatar
dboude
 
Posts: 1257
Joined: Mon Jul 03, 2017 10:51 am


Return to Scripting