Advertisement
yaotungyu

preb bs attr dump

Jan 24th, 2022
1,010
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. from attr_lib import attr_preset_io
  2. reload(attr_preset_io)
  3. asset_name = cmds.ls(sl=1)[0]
  4. preb_bs_lib_base = 'G:/Tech_Animation/data_dump/preb_sim_bs'+'/'+os.environ['tt_projcode']+'/'+'Nubs_Jedi.HiSim2Anm'
  5.  
  6. if not os.path.isdir(preb_bs_lib_base):
  7.     os.makedirs(preb_bs_lib_base)
  8. for bs in cmds.ls('*:*_HiSim2Anm_bs'):
  9.     attr_preset_io.attrPreset_server_dump(bs,bs.split(':')[-1],dump_dir = preb_bs_lib_base)
Advertisement
Advertisement
Advertisement
RAW Paste Data Copied
Advertisement