(solved) Is it possible to change the internal name of a daz figure (not label) ?

hi,

I would like to change the internal name of a genesis figure but I don't see how to do it and if it's possible

In this example given by the node properties, it's "Genesis3Female_dup_2" I want to change

Thanks

Primary

Name : 

Genesis3Female_dup_2

Label : 

gina

Class : 

DzFigure


Metadata

Scene ID : 

/data/DAZ%203D/Genesis%203/Female/Genesis3Female.dsf#Genesis3Female

Content Type : 

Actor/Character

Compatibility Base : 

/Genesis 3/Female


Object

Name : 

Genesis3Female_dup_2

Class : 

DzObject


Shape

Name : 

Genesis3Female_17418

Class : 

DzGraftingFigureShape


Geometry

Name : 

Genesis3Female

Vertices : 

17 418

Faces : 

17 000

Class : 

DzFacetMesh

thanks

Post edited by ratus69_c6741fefbf on

Comments

  • ok found it, it was in DzElement with setName( String name ) method

    it changes the Primary Name but not the Object name but if you export the mesh, it will use the primary name so it's ok for what I was looking for...

    /// select the rootnode you want to rename before launching this codevar oNode = Scene.getPrimarySelection();oNode.setName ("whateveryouwant")

     

Sign In or Register to comment.