LoginSignup
0
0

More than 1 year has passed since last update.

python maya pymel 開始フレーム終了フレームを取得して、カメラにアトリビュート追加

Posted at
first_frame = int(pm.Env().getMinTime())
last_frame = int(pm.Env().getMaxTime())
pm.addAttr(new_cam, longName = 'first', attributeType = 'short')
pm.addAttr(new_cam, longName = 'last', attributeType = 'short')
new_cam.first.set(int(first_frame))
new_cam.last.set(int(last_frame))
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0