Thermo Fisher Scientific > Electron Microscopy > Electron Microscopes > 3D Visualization, Analysis and EM Software > Customer Portal > Support Center

VISUALIZATION AND DATA SOLUTIONS

CUSTOMER SUPPORT CENTER

Views:

Description

The _tcl_interp_ is a function that passes a string to the TCL interpreter.

Suggested Solution 

 So, one can do this:

  • filename = "10002451_000_001.ply"
  • _tcl_interp("set mySimplifier [create HxSimplifier]")
  • _tcl_interp("$mySimplifier attach " + str(filename))

 The above works as a standard string concatenation in Python.

Comments (0)