SCI Seg3D Mailing List

Text archives Help

Re: [Seg3D] python scripting question

Chronological Thread 
  • From: Jess Tate <>
  • To:
  • Cc:
  • Subject: Re: [Seg3D] python scripting question
  • Date: Tue, 5 May 2015 10:15:31 -0600

Hi Steve,

to set the name of a layer in the python controller, use a command like this: 
As for  your second question, all the tools and filters require the layer id(s) to run from the python console.  You can search through the layers to find the matching name,w which may be too slow depending on the number of layers that you have.  You can also use the layermanager::activelayer stateid to give you the layerid of the highlighted layer:
the controller window can help you know what actions(functions) and stateids are available to access and use.  


On May 5, 2015, at 8:57 AM, Elizabeth Jurrus <> wrote:

Hi Steve,

Thanks for your inquiry.  I am forwarding your question to our seg3d mailing list.

Also, thank you for the reference.  We keep track of these!

- liz

-------- Forwarded Message --------
Subject: Contact CIBC Submission
Date: Tue, 5 May 2015 04:19:24 -0600
From: SCI Webmaster <>

steven <>

Affiliation: King's College London

Re Software: Seg3D

Subject: publication + request

Message: Hi guys,

We published a paper that used and references seg3d:
Bishop M, Rajani R, Plank G, Gaddum N, Carr-White G, Wright M, O'Neill M and Niederer S. Three-dimensional atrial wall thickness maps to inform catheter ablation procedures for atrial fibrillation. Europace. 2015.

Second I am using the python scripting tools in seg3D. Is it possible to change a layer name from within the script (I make 50+ layers and the auto names start to get confusing).

Also if it were possible to have the layer ID in the mask information window correspond to the layer ID that you use in the python script to operate on that layer, it would be super useful..

Carry on the great work.


Archive powered by MHonArc 2.6.18.

Top of page