Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(0)  |  Call(0)  |  Derive(0)  |  Import(0)

src/p/y/PyPRP-HEAD/PyPRP/prp_AnimClasses.py   PyPRP(Download)
            else:
                ploc = [0, 0, 0]
            if (Ipo.OB_LOCX in ipo) or (Ipo.OB_LOCY in ipo) or (Ipo.OB_LOCZ in ipo) or (Ipo.OB_ROTX in ipo) or (Ipo.OB_ROTY in ipo) or (Ipo.OB_ROTZ in ipo):
                app = PrpController(0x0309) #plMatrixChannelApplicator
                app.data.fEnabled = 1
                ctlchn.data.fController = PrpController(0x023B) #plTMController()
                # first, we check for OB_LOCX, OB_LOCY, OB_LOCZ
                if (Ipo.OB_LOCX in ipo) or (Ipo.OB_LOCY in ipo) or (Ipo.OB_LOCZ in ipo):
                    compoundController = plCompoundPosController()
                    if (Ipo.OB_LOCX in ipo):
                        compoundController.fXController = controller
 
                    if (Ipo.OB_LOCY in ipo):
                        curve = ipo[Ipo.OB_LOCY]
                        controller = plScalarController()