constants module

Commonly used item type defines, services, etc. These are mostly items that are used by the other modules but may also be more generally useful.

Note

This module uses a little bit of Python magic to wrap modo item type lookups as module level properties and expose them as constants. This enables lazy lookup of the item type codes when used rather than when the module is imported. One notable caveat to this when using the constants from your own code is that you must import the module explicitly as either:

import modo.constants

or:

import modo.constants as c

the constants cannot be imported using:

from modo.constants import *

For details/background on the ‘trickery’ in use see:

Services

  • SCENE_SVC - persistent reference to lx.service.Scene.

Item Type Defines

A complete list of all the item types available in modo as defined constants.

  • ABCDEFORM_SAMPLE_TYPE
  • ALEMBICCLOUD_TYPE
  • ALEMBICCURVES_TYPE
  • ALEMBICFILE_TYPE
  • ALEMBICMESH_TYPE
  • EXPRESSION_TYPE
  • RPC_MESH_TYPE
  • VOXELITEM_TYPE
  • ACTIONCLIP_TYPE
  • ACTIONPOSE_TYPE
  • ADVANCEDMATERIAL_TYPE
  • ANCHOR_TYPE
  • AREALIGHT_TYPE
  • AUDIOCLIP_TYPE
  • AUDIOFILE_TYPE
  • BACKDROP_TYPE
  • BASEVOLUME_TYPE
  • BEZIERNODE_TYPE
  • BLOB_TYPE
  • CAMERA_TYPE
  • CAPSULE_TYPE
  • CEFLOAT_TYPE
  • CEMATRIX_TYPE
  • CELLULAR_TYPE
  • CHANEFFECT_TYPE
  • CHANMODIFY_TYPE
  • CHECKER_TYPE
  • CMCHANNELRELATION_TYPE
  • CMCLAMP_TYPE
  • CMCOLORBLEND_TYPE
  • CMCOLORCORRECT_TYPE
  • CMCOLORGAMMA_TYPE
  • CMCOLORHSV_TYPE
  • CMCOLORINVERT_TYPE
  • CMCOLORKELVIN_TYPE
  • CMCONSTANT_TYPE
  • CMCURVEPROBE_TYPE
  • CMCYCLER_TYPE
  • CMDIRECTIONCONSTRAINT_TYPE
  • CMDISTANCECONSTRAINT_TYPE
  • CMDYNAMICPARENT_TYPE
  • CMFLOATOFFSET_TYPE
  • CMFLOATWARP_TYPE
  • CMGEOMETRYCONSTRAINT_TYPE
  • CMIKDUAL2D_TYPE
  • CMINTERSECT_TYPE
  • CMLINEARBLEND_TYPE
  • CMLOGIC_TYPE
  • CMMATH_TYPE
  • CMMATHBASIC_TYPE
  • CMMATHMULTI_TYPE
  • CMMATHTRIG_TYPE
  • CMMATHVECTOR_TYPE
  • CMMATRIXBLEND_TYPE
  • CMMATRIXCOMPOSE_TYPE
  • CMMATRIXCONSTRUCT_TYPE
  • CMMATRIXFROMEULER_TYPE
  • CMMATRIXINVERT_TYPE
  • CMMATRIXOFFSET_TYPE
  • CMMATRIXTOEULER_TYPE
  • CMMATRIXTRANSPOSE_TYPE
  • CMMATRIXVECTOR_TYPE
  • CMMATRIXVECTORMULTIPLY_TYPE
  • CMMATRIXWARP_TYPE
  • CMMEASUREANGLE_TYPE
  • CMMEASUREDISTANCE_TYPE
  • CMNOISE_TYPE
  • CMOSCILLATOR_TYPE
  • CMPID_TYPE
  • CMPATHCONSTRAINT_TYPE
  • CMQUATERNIONCONJUGATE_TYPE
  • CMQUATERNIONFROMAXISANGLE_TYPE
  • CMQUATERNIONFROMEULER_TYPE
  • CMQUATERNIONFROMMATRIX_TYPE
  • CMQUATERNIONGETVALUE_TYPE
  • CMQUATERNIONMATH_TYPE
  • CMQUATERNIONNORMALIZE_TYPE
  • CMQUATERNIONSETVALUE_TYPE
  • CMQUATERNIONSLERP_TYPE
  • CMQUATERNIONTOAXISANGLE_TYPE
  • CMQUATERNIONTOEULER_TYPE
  • CMQUATERNIONTOMATRIX_TYPE
  • CMQUATERNIONVECTORMULTIPLY_TYPE
  • CMRANDOM_TYPE
  • CMREVOLVE_TYPE
  • CMSHADEREFFECTS_TYPE
  • CMSHADERLIGHTING_TYPE
  • CMSHADERRAYTYPE_TYPE
  • CMSHADERRAYCAST_TYPE
  • CMSHADERSWITCH_TYPE
  • CMSIMPLEKINEMATICS_TYPE
  • CMSMOOTH_TYPE
  • CMSOUND_TYPE
  • CMSPEED_TYPE
  • CMSTRINGCOMPOSE_TYPE
  • CMSTRINGFINDANDREPLACE_TYPE
  • CMSTRINGSWITCH_TYPE
  • CMSWITCH_TYPE
  • CMTIME_TYPE
  • CMTRANSFORMCONSTRAINT_TYPE
  • CMVECTOR_TYPE
  • CMVECTORBYSCALAR_TYPE
  • CMVECTORMAGNITUDE_TYPE
  • CMVECTORORTHOGONALIZE_TYPE
  • CMVECTORREFLECTION_TYPE
  • CMVELOCITY_TYPE
  • CMWAVEFORM_TYPE
  • COLLECTOREMITTER_TYPE
  • CONS_TYPE
  • CONSHINGE_TYPE
  • CONSPIN_TYPE
  • CONSPOINT_TYPE
  • CONSSLIDEHINGE_TYPE
  • CONSSPRING_TYPE
  • CONSTANT_TYPE
  • CSVCACHE_TYPE
  • CURVEEMITTER_TYPE
  • CYLINDERLIGHT_TYPE
  • DEFAULTSHADER_TYPE
  • DEFERREDMESH_TYPE
  • DEFORM_TYPE
  • DEFORM_BEND_TYPE
  • DEFORM_BEZIER_TYPE
  • DEFORM_CRVCONST_TYPE
  • DEFORM_LAG_TYPE
  • DEFORM_LATTICE_TYPE
  • DEFORM_MAGNET_TYPE
  • DEFORM_SLACK_TYPE
  • DEFORM_SPLINE_TYPE
  • DEFORM_VORTEX_TYPE
  • DEFORM_WRAP_TYPE
  • DEFORMFOLDER_TYPE
  • DEFORMGROUP_TYPE
  • DEFORMMDD_TYPE
  • DEFORMMDD2_TYPE
  • DOMELIGHT_TYPE
  • DOTS_TYPE
  • DYNAMIC_REPLICATORFILTER_TYPE
  • DYNAMICCOLLIDER_TYPE
  • DYNAMICCOLLISIONEMITTER_TYPE
  • DYNAMICFLUID_TYPE
  • DYNAMICSCONSTRAINTMODIFIER_TYPE
  • ENVMATERIAL_TYPE
  • ENVIRONMENT_TYPE
  • FALLOFF_TYPE
  • FALLOFF_BEZIER_TYPE
  • FALLOFF_CAPSULE_TYPE
  • FALLOFF_LINEAR_TYPE
  • FALLOFF_RADIAL_TYPE
  • FALLOFF_SPLINE_TYPE
  • FLOCKINGOP_TYPE
  • FORCE_CURVE_TYPE
  • FORCE_DRAG_TYPE
  • FORCE_LINEAR_TYPE
  • FORCE_NEWTON_TYPE
  • FORCE_RADIAL_TYPE
  • FORCE_ROOT_TYPE
  • FORCE_TURBULENCE_TYPE
  • FORCE_VORTEX_TYPE
  • FORCE_WIND_TYPE
  • FURMATERIAL_TYPE
  • GASKETTOY_TYPE
  • GEAR_ITEM_TYPE
  • GENINFLUENCE_TYPE
  • GPLANE_TYPE
  • GRADIENT_TYPE
  • GRASS_ITEM_TYPE
  • GRID_TYPE
  • GROUP_TYPE
  • GROUPLOCATOR_TYPE
  • IKFULLBODY_TYPE
  • IKSOLVER_TYPE
  • IMAGEFOLDER_TYPE
  • IMAGEGROUP_TYPE
  • IMAGELAYER_TYPE
  • IMAGEMAP_TYPE
  • ITEM_ROCK_TYPE
  • ITEMCHANNELPROBE_TYPE
  • ITEMINFLUENCE_TYPE
  • ITEMMODIFY_TYPE
  • LIGHT_TYPE
  • LIGHTMATERIAL_TYPE
  • LOCATOR_TYPE
  • LOCDEFORM_TYPE
  • MAPMIX_TYPE
  • MASK_TYPE
  • MATCAPSHADER_TYPE
  • MATERIAL_CELEDGES_TYPE
  • MATERIAL_CELSHADER_TYPE
  • MATERIAL_HAIRMATERIAL_TYPE
  • MATERIAL_HALFTONE_TYPE
  • MATERIAL_IRIDESCENCE_TYPE
  • MATERIAL_SKINMATERIAL_TYPE
  • MATERIAL_THINFILM_TYPE
  • MEDIACLIP_TYPE
  • MESH_TYPE
  • MESHINST_TYPE
  • MORPHDEFORM_TYPE
  • MORPHMIX_TYPE
  • NOISE_TYPE
  • OCCLUSION_TYPE
  • PMOD_AUDIO_TYPE
  • PMOD_BASIC_TYPE
  • PMOD_EXPRESSION_TYPE
  • PMOD_GENERATOR_TYPE
  • PMOD_LOOKAT_TYPE
  • PMOD_RANDOM_TYPE
  • PMOD_SIEVE_TYPE
  • PMOD_STEP_TYPE
  • PARTICLEOP_TYPE
  • PARTICLESIM_TYPE
  • PARTICLETERMINATOR_TYPE
  • PCLOUD_TYPE
  • PHOTOMETRYLIGHT_TYPE
  • POINTLIGHT_TYPE
  • POLYRENDER_TYPE
  • PORTAL_TYPE
  • PROBEFALLOFF_TYPE
  • PROCESS_TYPE
  • PROJECTSHADER_TYPE
  • PROXY_TYPE
  • RADIALEMITTER_TYPE
  • REALPARTICLE_TYPE
  • RENDER_TYPE
  • RENDERBOOL_TYPE
  • RENDEROUTPUT_TYPE
  • REPLICATOR_TYPE
  • RIPPLES_TYPE
  • ROTATION_TYPE
  • SCALE_TYPE
  • SCENE_TYPE
  • SCHMNODE_TYPE
  • SHADER_TYPE
  • SHADERFOLDER_TYPE
  • SHEAR_TYPE
  • SOFTLAG_TYPE
  • SOLVER_TYPE
  • SOURCEEMITTER_TYPE
  • SPOTLIGHT_TYPE
  • SPRITE_TYPE
  • SUNLIGHT_TYPE
  • SURFEMITTER_TYPE
  • SURFGEN_TYPE
  • SURFGENLOC_TYPE
  • SURFACESCATTER_TYPE
  • TENSIONTEXTURE_TYPE
  • TEXTURELAYER_TYPE
  • TRANSFORM_TYPE
  • TRANSLATION_TYPE
  • TRISURF_TYPE
  • TXTRLOCATOR_TYPE
  • VAL_DISPLAY_COUNTER1_RJJ_TYPE
  • VAL_DISPLAY_COUNTER2_RJJ_TYPE
  • VAL_DISPLAY_UVLEDS_RJJ_TYPE
  • VAL_GEOMETRIC_BOX_RJJ_TYPE
  • VAL_GEOMETRIC_CIRCULAR_RJJ_TYPE
  • VAL_GEOMETRIC_CORNERS_RJJ_TYPE
  • VAL_GEOMETRIC_CUBIC_RJJ_TYPE
  • VAL_GEOMETRIC_DIMPLES_RJJ_TYPE
  • VAL_GEOMETRIC_GRID_RJJ_TYPE
  • VAL_GEOMETRIC_IRIS_RJJ_TYPE
  • VAL_GEOMETRIC_LINEAR_RJJ_TYPE
  • VAL_GEOMETRIC_POLYGON_RJJ_TYPE
  • VAL_GEOMETRIC_RADIAL_RJJ_TYPE
  • VAL_GEOMETRIC_RING_RJJ_TYPE
  • VAL_GEOMETRIC_RNDLINEAR_RJJ_TYPE
  • VAL_GEOMETRIC_SPIRAL_RJJ_TYPE
  • VAL_GEOMETRIC_STAR_RJJ_TYPE
  • VAL_NOISE_AGATE_RJJ_TYPE
  • VAL_NOISE_BOZO_RJJ_TYPE
  • VAL_NOISE_CRUDDY_RJJ_TYPE
  • VAL_NOISE_DENTED_RJJ_TYPE
  • VAL_NOISE_ETCHED_RJJ_TYPE
  • VAL_NOISE_FLOWBOZO_RJJ_TYPE
  • VAL_NOISE_GRANITE_RJJ_TYPE
  • VAL_NOISE_HYBRID_RJJ_TYPE
  • VAL_NOISE_LUMP_RJJ_TYPE
  • VAL_NOISE_MARBLENOISE_RJJ_TYPE
  • VAL_NOISE_MARBLEVEIN_RJJ_TYPE
  • VAL_NOISE_MULTIFRACTAL_RJJ_TYPE
  • VAL_NOISE_PEBBLES_RJJ_TYPE
  • VAL_NOISE_PUFFYCLOUDS_RJJ_TYPE
  • VAL_NOISE_RIDGED_RJJ_TYPE
  • VAL_NOISE_SCAR_RJJ_TYPE
  • VAL_NOISE_SCRUFFED_RJJ_TYPE
  • VAL_NOISE_STRATA_RJJ_TYPE
  • VAL_NOISE_STUCCO_RJJ_TYPE
  • VAL_NOISE_VECTORBOZO_RJJ_TYPE
  • VAL_NOISE_WRAPPEDFBM_RJJ_TYPE
  • VAL_NOISE_FBM_RJJ_TYPE
  • VAL_ORGANIC_ARTDECO_RJJ_TYPE
  • VAL_ORGANIC_BLISTER_RJJ_TYPE
  • VAL_ORGANIC_BRANCHES_RJJ_TYPE
  • VAL_ORGANIC_CAUSTIC_RJJ_TYPE
  • VAL_ORGANIC_CELLULAR_RJJ_TYPE
  • VAL_ORGANIC_CHEESY_RJJ_TYPE
  • VAL_ORGANIC_CONCRETE_RJJ_TYPE
  • VAL_ORGANIC_CRACKLE_RJJ_TYPE
  • VAL_ORGANIC_DIRT_RJJ_TYPE
  • VAL_ORGANIC_DISTURBED_RJJ_TYPE
  • VAL_ORGANIC_EASYWOOD_RJJ_TYPE
  • VAL_ORGANIC_ELECTRIC_RJJ_TYPE
  • VAL_ORGANIC_FIRE_RJJ_TYPE
  • VAL_ORGANIC_FIREWALL_RJJ_TYPE
  • VAL_ORGANIC_HARDWOOD_RJJ_TYPE
  • VAL_ORGANIC_MEMBRANE_RJJ_TYPE
  • VAL_ORGANIC_MINKY_RJJ_TYPE
  • VAL_ORGANIC_SCATTER_RJJ_TYPE
  • VAL_ORGANIC_SINBLOB_RJJ_TYPE
  • VAL_ORGANIC_VEINS_RJJ_TYPE
  • VAL_ORGANIC_WIRES_RJJ_TYPE
  • VAL_ORGANIC_WORMVEIN_RJJ_TYPE
  • VAL_PANELS_PEEL_RJJ_TYPE
  • VAL_PANELS_PLATES_RJJ_TYPE
  • VAL_PANELS_RIVETRUST_RJJ_TYPE
  • VAL_PANELS_RIVETS_RJJ_TYPE
  • VAL_PANELS_RUST_RJJ_TYPE
  • VAL_PANELS_SMEAR_RJJ_TYPE
  • VAL_PROCESS_EASYGRAD_RJJ_TYPE
  • VAL_PROCESS_REGIONALHSV_RJJ_TYPE
  • VAL_RTCURVATURE_TYPE
  • VAL_RPCTEXTURE_TYPE
  • VAL_SKINS_CAMO_RJJ_TYPE
  • VAL_SKINS_CRUMPLED_RJJ_TYPE
  • VAL_SKINS_DINOSKIN_RJJ_TYPE
  • VAL_SKINS_DISEASE_RJJ_TYPE
  • VAL_SKINS_FROGSKIN_RJJ_TYPE
  • VAL_SKINS_GRAINYWOOD_RJJ_TYPE
  • VAL_SKINS_LEATHER_RJJ_TYPE
  • VAL_SKINS_MONSTER_RJJ_TYPE
  • VAL_SKINS_PASTELLA_RJJ_TYPE
  • VAL_SKINS_PEENED_RJJ_TYPE
  • VAL_SKINS_SCRATCHES_RJJ_TYPE
  • VAL_SPACE_BLAST_RJJ_TYPE
  • VAL_SPACE_CORIOLIS_RJJ_TYPE
  • VAL_SPACE_FLARE_RJJ_TYPE
  • VAL_SPACE_GASGIANT_RJJ_TYPE
  • VAL_SPACE_GLINT_RJJ_TYPE
  • VAL_SPACE_HURRICANE_RJJ_TYPE
  • VAL_SPACE_NURNIES_RJJ_TYPE
  • VAL_SPACE_PLANET_RJJ_TYPE
  • VAL_SPACE_PLANETCLOUDS_RJJ_TYPE
  • VAL_SPACE_RINGS_RJJ_TYPE
  • VAL_SPACE_STARFIELD_RJJ_TYPE
  • VAL_SPACE_SWIRL_RJJ_TYPE
  • VAL_SPACE_TERRA_RJJ_TYPE
  • VAL_SPACE_WINDOWS_RJJ_TYPE
  • VAL_TILES_BASKET_RJJ_TYPE
  • VAL_TILES_BATHTILE_RJJ_TYPE
  • VAL_TILES_BRICKS_RJJ_TYPE
  • VAL_TILES_CHECKS_RJJ_TYPE
  • VAL_TILES_CORNERLESS_RJJ_TYPE
  • VAL_TILES_CUBES_RJJ_TYPE
  • VAL_TILES_DASHLINE_RJJ_TYPE
  • VAL_TILES_DIAMONDDECK_RJJ_TYPE
  • VAL_TILES_FISHSCALES_RJJ_TYPE
  • VAL_TILES_HEXTILE_RJJ_TYPE
  • VAL_TILES_LATTICE1_RJJ_TYPE
  • VAL_TILES_LATTICE2_RJJ_TYPE
  • VAL_TILES_LATTICE3_RJJ_TYPE
  • VAL_TILES_MOSAIC_RJJ_TYPE
  • VAL_TILES_OCTTILE_RJJ_TYPE
  • VAL_TILES_PARQUET_RJJ_TYPE
  • VAL_TILES_PAVING_RJJ_TYPE
  • VAL_TILES_PLAID_RJJ_TYPE
  • VAL_TILES_PLANKS_RJJ_TYPE
  • VAL_TILES_RIBS_RJJ_TYPE
  • VAL_TILES_ROUNDEDTILE_RJJ_TYPE
  • VAL_TILES_SHINGLES_RJJ_TYPE
  • VAL_TILES_SPOTS_RJJ_TYPE
  • VAL_TILES_STAMPED_RJJ_TYPE
  • VAL_TILES_TACOS_RJJ_TYPE
  • VAL_TILES_TARTAN_RJJ_TYPE
  • VAL_TILES_TILER_RJJ_TYPE
  • VAL_TILES_TRICHECKS_RJJ_TYPE
  • VAL_TILES_TRIHEXES_RJJ_TYPE
  • VAL_TILES_TRITILE_RJJ_TYPE
  • VAL_TILES_WALL_RJJ_TYPE
  • VAL_WATER_DRIPDROP_RJJ_TYPE
  • VAL_WATER_RAIN_RJJ_TYPE
  • VAL_WATER_RIPPLES_RJJ_TYPE
  • VAL_WATER_SURF_RJJ_TYPE
  • VAL_WATER_WAVES_RJJ_TYPE
  • VAL_WATER_WINDYWAVES_RJJ_TYPE
  • VAL_WAVEFORMS_BIASGAIN_RJJ_TYPE
  • VAL_WAVEFORMS_FRESNEL_RJJ_TYPE
  • VAL_WAVEFORMS_GAMMA_RJJ_TYPE
  • VAL_WAVEFORMS_GAUSSIAN_RJJ_TYPE
  • VAL_WAVEFORMS_IMPULSE_RJJ_TYPE
  • VAL_WAVEFORMS_NOISE_RJJ_TYPE
  • VAL_WAVEFORMS_RAMP_RJJ_TYPE
  • VAL_WAVEFORMS_ROUNDED_RJJ_TYPE
  • VAL_WAVEFORMS_SCURVE_RJJ_TYPE
  • VAL_WAVEFORMS_SAWTOOTH_RJJ_TYPE
  • VAL_WAVEFORMS_SCALLOP_RJJ_TYPE
  • VAL_WAVEFORMS_SINE_RJJ_TYPE
  • VAL_WAVEFORMS_SMOOTH_RJJ_TYPE
  • VAL_WAVEFORMS_SMOOTHIMPULSE_RJJ_TYPE
  • VAL_WAVEFORMS_SMOOTHSTEP_RJJ_TYPE
  • VAL_WAVEFORMS_STAIRCASE_RJJ_TYPE
  • VAL_NOISE_GABOR_TYPE
  • VAL_NOISE_POISSON_TYPE
  • VAL_WIREFRAME_TYPE
  • VARIATIONTEXTURE_TYPE
  • VIDEOBLANK_TYPE
  • VIDEOCLIP_TYPE
  • VIDEOSEQUENCE_TYPE
  • VIDEOSTILL_TYPE
  • VMAPTEXTURE_TYPE
  • VOLUME_TYPE
  • WEAVE_TYPE
  • WEIGHTCONTAINER_TYPE
  • WIDGET_TYPE
  • WOOD_TYPE
  • XFRMCORE_TYPE