change activebaseview and redrawer

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?

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

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

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?

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.

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.

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.

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