Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 11/11/2002 at 08:53, xxxxxxxx wrote:
User Information: Cinema 4D Version: 8.012 Platform: Language(s) : C++ ;
--------- Why does gui->GetZoom( *Node, &Zoom ) return zero? I need it to scale user area appropriately inside the nodes. darf
On 11/11/2002 at 09:51, xxxxxxxx wrote:
Quote: Originally posted by darf on 11 November 2002 > > * * * > > Why does gui->GetZoom( *Node, &Zoom ) return zero? Not entirely accurate; it just multiplies your passed value by 1.0... > I need it to scale user area appropriately inside the nodes. Jokes aside there are two important things to know about GetZoom: 1. The node you pass must be the group node, i.e. not the node itself. So do node->GetUp() until you find a node->IsGroupNode(). (Normally just one step up.) 2. The return value isn't the zoom but the passed value times zoom. So to get the zoom you must pass 1.0 to the function, not 0.0. (The zoom of non-group nodes is 1.0.)