<div dir="ltr"><div><div><div>Hi!<br><br></div>I would like to know if there's a way to acess the information/attributes of the cameras there are created trough a .pvx file<br><br></div>To acess the attributes in the camera of the active Layout/RenderView I do:<br><br></div>1 - Open Python Shell<br>2 -<span style="font-family:"Courier";font-size:9pt;color:rgb(0,0,0)"> </span>camera = GetActiveCamera()<div><div><div><div><div><div><div>3 -<span style="font-family:"Courier";font-size:9pt;color:rgb(0,0,0)"> </span>print(camera)</div><div><br></div><div>And the output is:</div><div><br></div><div>
<p style="margin:0px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">vtkOpenGLCamera (0x4a45e80)</span></p>
<p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Debug: Off</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Modified Time: 405029</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Reference Count: 5</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Registered Events: </span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Registered Observers:</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> (none)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ClippingRange: (1.63277, 5.56498)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> DirectionOfProjection: (0.526409, 0.492965, -0.692733)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Distance: 3.37001</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> EyeAngle: 2</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> FocalDisk: 1</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> FocalPoint: (0, 0, 0)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ViewShear: (0, 0, 1)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ParallelProjection: Off</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ParallelScale: 0.872667</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Position: (-1.77401, -1.6613, 2.33452)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Stereo: Off</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Left Eye: 1</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Thickness: 3.93221</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ViewAngle: 30</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> UseHorizontalViewAngle: 0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> UserTransform: (none)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">(none)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> FreezeFocalPoint: (none)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ViewPlaneNormal: (-0.526409, -0.492965, 0.692733)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ViewUp: (-0.0865543, 0.841596, 0.533127)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> WindowCenter: (0, 0)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> UseOffAxisProjection: (0)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ScreenBottomLeft: (-0.5, -0.5, -0.5)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ScreenBottomRight: (0.5, -0.5, -0.5)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ScreenTopRight: (0.5, 0.5, -0.5)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> EyeSeparation: (0.06)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> WorldToScreenMatrix: (0x4a457c0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Debug: Off</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Modified Time: 155883</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Reference Count: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Registered Events: (none)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Elements:</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 1 0 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 1 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 0 1 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 0 0 1</span><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)">)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> EyeTransformMatrix: (0x4a458b0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Debug: Off</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Modified Time: 155885</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Reference Count: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Registered Events: (none)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Elements:</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 1 0 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 1 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 0 1 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 0 0 1 </span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> )</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ModelTransformMatrix: (0x4a459a0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Debug: Off</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Modified Time: 155887</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Reference Count: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Registered Events: (none)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Elements:</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 1 0 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 1 0 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 0 1 0 </span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 0 0 1 </span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> )</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> ProjectionTransform: (0x4a46280</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Debug: Off</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Modified Time: 405415</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Reference Count: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Registered Events: (none)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Inverse: (0)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Matrix: (0x4a46330)</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Debug: Off</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Modified Time: 405416</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Reference Count: 1</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Registered Events: (none)</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 120px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Elements:</span></p><div style="margin-left:120px">
</div><p style="margin:0px 0px 0px 160px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 3.76067 0 0 0 </span></p><div style="margin-left:160px">
</div><p style="margin:0px 0px 0px 160px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 3.73205 0 0 </span></p><div style="margin-left:160px">
</div><p style="margin:0px 0px 0px 160px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 0 -1.83046 -4.62147 </span></p><div style="margin-left:160px">
</div><p style="margin:0px 0px 0px 160px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0 0 -1 0 </span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> Input: (0)</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> InverseFlag: 0</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> NumberOfConcatenatedTransforms: 1</span></p><div style="margin-left:80px">
</div><p style="margin:0px 0px 0px 80px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> 0: vtkSimpleTransform at 0x6ecdae0</span></p><div style="margin-left:40px">
</div><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"> )</span></p><p style="margin:0px 0px 0px 40px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;text-indent:0px"><b>How to get these informations of the cameras created from a .pvx file?</b><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p><p style="margin-top:0px;margin-right:0px;margin-bottom:0px;text-indent:0px"><span style="font-family:"Courier";font-size:9pt;color:rgb(0,150,0)"><br></span></p></div><div>Thanks in advance,<br></div><div><span style="font-family:"Courier";font-size:9pt;color:rgb(0,0,0)"></span></div><div><div><div><div class="gmail_signature"><div dir="ltr"><div dir="ltr"><div><div><div><div><div><span><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Leonardo Pessanha<br>Laboratory of Computational Methods in Engineering </div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Federal University of Rio de Janeiro - COPPE</div><div style="color:rgb(0,0,0);font-family:"Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif,serif,EmojiFont;font-size:13px">Rio de Janeiro, RJ, Brasil</div><div><br></div></span></div></div></div></div></div></div><div><div style="font-size:12.8px"></div><div style="font-size:12.8px"></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div>