be icon indicating copy to clipboard operation
be copied to clipboard

nested inventory

Open ruchitinfushion opened this issue 7 years ago • 3 comments

Do i need to keep inventory.yaml this way ?

Asset:
   set:
        -park
        -zoo
        -road
    prop:
       -bottle
       -mobile
       -sh203
   char:
       -joker
       -alien
Sequence:
    seq001:
        -sh101
        -sh102
        -sh103
    seq002:
       -sh201
       -sh202
       -sh203

in terminal

be in project set park modeling
be in project seq001 sh103 animation

ruchitinfushion avatar Sep 13 '18 05:09 ruchitinfushion

Have you had a look at the docs for the inventory?

And here's an example.

  • https://github.com/mottosso/be-film

mottosso avatar Sep 13 '18 06:09 mottosso

Got it, One more quick question, BE_BINDING return asset or sequence based on BE_TOPICS but How do you parse "BE_TOPICS" variable directly in terminal to retrieve user arguments ?

inventory.yaml

asset:
- bruce
- luke

sequence:
- seq01
- seq02

shot:
- sh101
- sh102
- sh103

in terminal for shot be in hulk seq01 sh103 animation (i.e BE_TOPICS=hulk seq01 sh103 animation) for asset be in hulk bruce rigging (i.e BE_TOPICS=hulk seq01 sh103 animation)

ruchitinfushion avatar Sep 13 '18 14:09 ruchitinfushion

For parsing topics, this looks to be it.

  • https://github.com/mottosso/be/blob/0f3d4f3597c71223f616d78c6d9b2c8dffcd8a71/be/cli.py#L77

mottosso avatar Sep 14 '18 07:09 mottosso