Stage setting nodes
Tags: stage, settings, time, metadata
Metadata and settings of the stage as a whole: time, axis, units and the default prim.
| Node | Inputs | Output | What it does |
|---|---|---|---|
Set Stage Metadatausd:set_stage_metadata |
stagekeyvalue |
stage | Sets a metadata field of the stage, like comment or documentation. |
Get Stage Metadatausd:get_stage_metadata |
stagekey |
any | Gets a metadata field of the stage. |
Set Time Rangeusd:set_time_range |
stagestart = 0.0end = 100.0 |
stage | Sets the first and last time code of the stage. |
Get Time Rangeusd:get_time_range |
stage |
list | Gets the first and last time code of the stage. |
Set FPSusd:set_fps |
stagefps = 24.0 |
stage | Sets the frames per second of the stage. |
Set Up Axisusd:set_up_axis |
stageaxis = "Y" |
stage | Sets the up axis of the stage. |
Set Meters Per Unitusd:set_meters_per_unit |
stagemeters = 1.0 |
stage | Sets the size of a unit of the stage in meters, 0.01 for centimeters. |
Set Default Primusd:set_default_prim |
stageprim_path = "/" |
stage | Sets the prim used when the file is referenced without a target. |
Get Stage Infousd:get_stage_info |
stage |
dict | Describes a stage: root layer, default prim, axis, units, time and prim count. |
Notes
- Set Up Axis takes
YorZ. - Set Meters Per Unit is the size of one unit in meters:
1for meters,0.01for centimeters. - Set FPS sets the frames per second and the time codes per second together.
- Set Time Range and Get Time Range work on the first and last time code. The end can't be before the start.
- Set Default Prim names the prim that is used when the file is referenced without a target prim, see Add Reference.
- Get Stage Info gives a dictionary with
root_layer,default_prim(empty if there is none),up_axis,meters_per_unit,fps,start,endandprim_count. - Set Stage Metadata works on fields like
commentanddocumentation.