As the title, I created some commands about visible/invisible components, the component which is visible can not be invisible by command in python code in .vcax file (exported to Animation) despite that could be invisible in .avi file (video) and simulation file. Is there any solution for that ? Thanks
I assume that you hide the components during the simulation. I suggest you move the components to a very high position instead of hiding them.
1 Like
Is there a command allows me to do that during simulation. I’ve tried to scale transform (expression) of the component but it didn’t work
import vcMatrix
show_matrix = comp.PositionMatrix
hide_matrix = comp.PositionMatrix
hide_matrix.translateRel(0.0, 0.0, 10000.0)
# Show
comp.PositionMatrix = show_matrix
# Hide
comp.PositionMatirx = hide_matrix
1 Like