TestClipping3D



  • On 17/09/2013 at 08:05, xxxxxxxx wrote:

    Hi, _<_o:_<_o:p_>_o:p>
    _
    I'm trying to find out if a bounding box is visible in the _<_o:_<_o:p_>_s view.
    I've only found a way to test if the bounding box is visible _<_o:_<_o:p_>_editor's view:
     
    _view=doc.GetActiveBaseDraw()
    resul_<_o:_<_o:p_>_torview.TestClipping3D(mp, rad, mg)
     
    Does anyone know how to replace "edito_<_o:_<_o:p_>_so that the function access to the camera's view?
    _ 10pt" =Msonormal>_"mso-ansi-: EN-US" lang=EN-US>



  • On 20/09/2013 at 10:07, xxxxxxxx wrote:

    GetActiveBaseDraw() does not return a gui.EditorView instance, but a BaseDraw instance as
    the name implies (the BaseDraw attached to the currently active BaseView). BaseDraw inherits 
    from BaseView.

    You can change the BaseDraw camera with BaseDraw.SetSceneCamera().


Log in to reply