# Can I create a changeable Linear Transform Node and never appeared in the menu

**URL:** <https://discourse.slicer.org/t/can-i-create-a-changeable-linear-transform-node-and-never-appeared-in-the-menu/5619>\
**Category:** Development\
**Created:** [February 2, 2019, 3:47pm UTC](https://discourse.slicer.org/t/can-i-create-a-changeable-linear-transform-node-and-never-appeared-in-the-menu/5619 "2019-02-02T15:47:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 2, 2019, 3:47pm UTC](https://discourse.slicer.org/t/can-i-create-a-changeable-linear-transform-node-and-never-appeared-in-the-menu/5619/1 "2019-02-02T15:47:02Z")

</div>

I created many Linear-Transforms succesfully with this code:  
transform = slicer.mrmlScene.AddNewNodeByClass(‘vtkMRMLLinearTransformNode’)  
vTransform = vtk.vtkTransform()  
…  
transform.SetMatrixTransformToParent(vTransform.GetMatrix())

But there are so many transforms. So, I don’t want it appeard even in data module.  
Can I change the code to achive my goials and doesn’t affect the transform function, such as：  
they have a NodeID, or editable.

---

<div class="post-metadata">

**Author:** ![timeanddoctor](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/timeanddoctor/32/5839_2.png) [@timeanddoctor](https://discourse.slicer.org/u/timeanddoctor)\
**Post date:** [February 2, 2019, 3:49pm UTC](https://discourse.slicer.org/t/can-i-create-a-changeable-linear-transform-node-and-never-appeared-in-the-menu/5619/2 "2019-02-02T15:49:19Z")

</div>

![360%E6%88%AA%E5%9B%BE-42702937](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/1/a/1af8cbb16e2c740123ac3b75cf564c542d5dc6a9.jpeg)

---

<div class="post-metadata">

**Author:** ![pieper](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/pieper/32/8_2.png) [@pieper](https://discourse.slicer.org/u/pieper)\
**Post date:** [February 2, 2019, 9:03pm UTC](https://discourse.slicer.org/t/can-i-create-a-changeable-linear-transform-node-and-never-appeared-in-the-menu/5619/3 "2019-02-02T21:03:06Z")

</div>

Try this:

`transformNode.SetHideFromEditors(True)`

You probably have to set this before adding to the scene.

HTH
