Forum: Poser Technical


Subject: Renaming Twist/Bend/Side-Side

bloodsong opened this issue on May 06, 2000 ยท 7 posts


daveH posted Sun, 07 May 2000 at 1:02 AM

the operative term in the "name getStringRes(n,n)" command is the second numberical term, which identifies the label for the parameter dial. the code is below. (at least for the numbers poser currently uses; i don't know if there are more.) 2 = "twist" 3 = "side-side" 4 = "bend" 24 = "front-back" 53 = "up-down" for example, the xrot, yrot, zrot labels for the abdomen are as follows: xrot -- name getStringRes(1028,4) "bend" yrot -- name getStringRes(1028,2) "twist" zrot -- name getStringRes(1028,3) "side-side" for the shoulders, which uses both different rotation orders & labels: xrot -- name getStringRes(1028,2) "twist" yrot -- name getStringRes(1028,24) "front-back" zrot -- name getStringRes(1028,3) "bend" in order to completely hide a rotation control (you'll note the eyes only have 2 axes, not 3), change the "hidden" command parameter from 0 (the default value) to 1. this command usually follows the "name" command a few lines down. i've tried using global replace to rename the dial labels, but it can be tricky, esp. after making a mistake; you can't simply replace all the "1028,2" occurrences since you won't be able to globally distinguish the correct ones from the incorrect ones. in the end, some manual hunting & replacing is always required. as for your last question, none of the body parts nor their subroutines need appear in any particular order, as long as all the abdomen routines are properly nested under "actor abdomen", etc., and all the relevant ones are present.