Skip to content

Commit

Permalink
added folder creation for 3dsmax. Updated step nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
manneohrstrom committed Jan 17, 2013
1 parent efa552c commit f6d7c7d
Show file tree
Hide file tree
Showing 8 changed files with 38 additions and 28 deletions.
15 changes: 1 addition & 14 deletions core/schema/project/assets/asset_type/asset/step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
# ----------------------------------------------------

# the type of dynamic content
type: "shotgun_entity"
type: "shotgun_step"

# the shotgun field to use for the folder name
name: "short_name"

# the shotgun entity type to connect to
entity_type: "Step"

# when our parent folder is created, create this folder too
create_with_parent: True

# shotgun filters to apply when getting the list of items
# this should be a list of dicts, each dict containing
# three fields: path, relation and values
# (this is std shotgun API syntax)
# any values starting with $ are resolved into path objects
filters: [{"path":"$FROM$Task.step.entity", "relation": "is", "values":["$asset"]}]

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2012 Shotgun Software, Inc
# ----------------------------------------------------

# the type of dynamic content
type: "static"

# defer creation and only create this folder when 3dsmax starts
defer_creation: "tk-3dsmax"

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file is a placeholder to ensure that the parent folder is preserved and not deleted by git.
# Any file named 'placeholder' will not be copied across when folders are created.
# Note: You can which files should be ignored when folders are created in the ignore_files file,
# located in the schema folder.
10 changes: 10 additions & 0 deletions core/schema/project/assets/asset_type/asset/step/work/3dsmax.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#
# Copyright (c) 2012 Shotgun Software, Inc
# ----------------------------------------------------

# the type of dynamic content
type: "static"

# defer creation and only create this folder when 3dsmax starts
defer_creation: "tk-3dsmax"

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file is a placeholder to ensure that the parent folder is preserved and not deleted by git.
# Any file named 'placeholder' will not be copied across when folders are created.
# Note: You can which files should be ignored when folders are created in the ignore_files file,
# located in the schema folder.
15 changes: 1 addition & 14 deletions core/schema/project/sequences/sequence/shot/step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,8 @@
# ----------------------------------------------------

# the type of dynamic content
type: "shotgun_entity"
type: "shotgun_step"

# the shotgun field to use for the folder name
name: "short_name"

# the shotgun entity type to connect to
entity_type: "Step"

# when our parent folder is created, create this folder too
create_with_parent: True

# shotgun filters to apply when getting the list of items
# this should be a list of dicts, each dict containing
# three fields: path, relation and values
# (this is std shotgun API syntax)
# any values starting with $ are resolved into path objects
filters: [{"path":"$FROM$Task.step.entity", "relation": "is", "values":["$shot"]}]

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file is a placeholder to ensure that the parent folder is preserved and not deleted by git.
# Any file named 'placeholder' will not be copied across when folders are created.
# Note: You can which files should be ignored when folders are created in the ignore_files file,
# located in the schema folder.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file is a placeholder to ensure that the parent folder is preserved and not deleted by git.
# Any file named 'placeholder' will not be copied across when folders are created.
# Note: You can which files should be ignored when folders are created in the ignore_files file,
# located in the schema folder.

0 comments on commit f6d7c7d

Please sign in to comment.