Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    change activebaseview and redrawer

    Scheduled Pinned Locked Moved SDK Help
    8 Posts 0 Posters 750 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      Helper
      last edited by

      THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

      On 26/07/2007 at 21:13, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:   Windows  ;   
      Language(s) :   C.O.F.F.E.E  ;  C++  ;  XPRESSO  ;

      ---------
      I want to change the activebaseview from top view to right view using doc->getbaseview(2) in the C++ code.
      how can I to do?

      1 Reply Last reply Reply Quote 0
      • H Offline
        Helper
        last edited by

        THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

        On 27/07/2007 at 01:32, xxxxxxxx wrote:

        You can change the BaseDraw like this:

          
        BaseDraw *bd = doc->GetActiveBaseDraw();  
          
        GeData d(BASEDRAW_PROJECTION_TOP);  
        bd->SetParameter(DescLevel(BASEDRAW_DATA_PROJECTION),d,NULL);  
        

        This changes the active view to a top view. Look for "dbasedraw.h" file for IDs.

        cheers,
        Matthias

        1 Reply Last reply Reply Quote 0
        • H Offline
          Helper
          last edited by

          THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

          On 29/07/2007 at 16:31, xxxxxxxx wrote:

          thank you very much

          1 Reply Last reply Reply Quote 0
          • H Offline
            Helper
            last edited by

            THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

            On 29/07/2007 at 17:23, xxxxxxxx wrote:

            but the result is not I need for meaning, I would like the framework with cursor  from top view plance  to right view plance.  how Can I to Do?

            1 Reply Last reply Reply Quote 0
            • H Offline
              Helper
              last edited by

              THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

              On 29/07/2007 at 21:51, xxxxxxxx wrote:

              You want to set the active view (as in the way you click the cursor in it to make it active) from top to right, you mean?

              I can't think of a way offhand. Since BaseDraw is derived from BaseList2D, it may be possible using SetBit() or ChangeNBit() but that's a guess.

              1 Reply Last reply Reply Quote 0
              • H Offline
                Helper
                last edited by

                THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                On 30/07/2007 at 00:04, xxxxxxxx wrote:

                Yes, I want to set the active view (as in the way you click the cursor in it to make it active) from top to right.

                1 Reply Last reply Reply Quote 0
                • H Offline
                  Helper
                  last edited by

                  THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                  On 30/07/2007 at 18:39, xxxxxxxx wrote:

                  anyone can help for me? 
                  I want to set the active view (as in the way you click the cursor in it to make it active) from top to right.

                  1 Reply Last reply Reply Quote 0
                  • H Offline
                    Helper
                    last edited by

                    THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

                    On 31/07/2007 at 00:27, xxxxxxxx wrote:

                    I am not aware of any way to set the active view. In any case I asked the developers if there might be a way.

                    cheers,
                    Matthias

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post