I see, then this is the complete log and the warning doesn’t appear in any other place, only at the begining.
If it’s not a big problem for the RIG as you mentioned, then I don’t want to bother you more. Thanks a lot for your help!
SNIPPET: GET COUNT FOR ALL TYPES
import pymel.core as pm
allColl = pm.ls(’*’)
typeColl = list(set([x.type() for x in allColl]))
counter = 0
typeCollCount = [[len(pm.ls(type=x)), x] for x in typeColl]
typeCollCount.sort(key=lambda x: x[0])
for typeCount, eachType in typeCollCount:
if typeCount > 0:
print(’{:<5} {}’.format(typeCount, str(eachType)))
### Try to instantiate one as a PyNode, and see if it causes a warning. ###
pm.PyNode(pm.ls(type=eachType)[0])
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
# Warning: pymel.core.general : Could not create desired MFn. Defaulting to MFnDagNode. #
1 strokeGlobals
1 defaultRenderUtilityList
1 colorManagementGlobals
1 shapeEditorManager
1 displayLayerManager
1 defaultShaderList
1 particleCloud
1 lightLinker
1 poseInterpolatorManager
1 hardwareRenderingGlobals
1 ikSplineSolver
1 sequenceManager
1 shaderGlow
1 ikRPsolver
1 renderGlobalsList
1 aiOptions
1 script
1 renderLayerManager
1 postProcessList
1 ikSystem
1 globalCacheControl
1 defaultRenderingList
1 hwRenderGlobals
1 lightList
1 viewColorManager
1 renderLayer
1 geomBind
1 renderQuality
1 renderGlobals
1 dynController
1 hyperGraphInfo
1 defaultTextureList
1 hardwareRenderGlobals
1 hyperLayout
1 dof
1 defaultLightList
1 time
1 resolution
1 aiAOVFilter
2 curveInfo
2 ikSCsolver
2 mgear_slideCurve2
2 aiAOVDriver
2 partition
3 lambert
3 nodeGraphEditorInfo
3 materialInfo
3 dagPose
4 shadingEngine
4 scaleConstraint
4 mgear_ikfk2Bone
4 displayLayer
4 mgear_inverseRotOrder
4 skinCluster
5 camera
8 locator
8 motionPath
8 orientConstraint
8 pairBlend
8 mesh
9 clamp
9 gameFbxExporter
10 poleVectorConstraint
10 distanceBetween
12 animCurveUU
13 mgear_intMatrix
19 aimConstraint
19 ikHandle
19 ikEffector
20 mgear_rollSplineKine
28 mgear_squashStretch2
38 addDoubleLinear
38 mgear_curveCns
44 tweak
47 pointConstraint
47 blendColors
64 reverse
81 parentConstraint
88 groupId
88 groupParts
88 multiplyDivide
99 objectSet
139 condition
157 joint
178 unitConversion
235 mgear_mulMatrix
321 decomposeMatrix
570 controller
1081 nurbsCurve
1438 transform