From 64f0d7e40a9bc8aafc4ed75ba0b51d44975b25f9 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Mon, 29 Jul 2024 20:37:21 +0200 Subject: [PATCH 1/4] Implement a rudimentary HELP page for the Lop Node --- .../ayon_8_8Lop_1lop__import_8_81.0/Help | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help b/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help index e69de29bb2..a9ebde486c 100644 --- a/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help +++ b/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help @@ -0,0 +1,16 @@ += AYON Load Asset = + +#icon: path/to/icon + +"""References a USD file, usually an asset.""" + +== Overview == + +*References* or *Payloads* a USD file into the current USD layer. + +In USD, when referencing, it's good to understand that you load a *single root prim* from the USD file. You will not get the full contents of the USD file if the USD file's content do not live within that single root primitive. By default, it will load a USD file's *default prim* but can be customized using the Load Options on this LOP node. + + +@related + +* [Node:lop/reference] \ No newline at end of file From a612b3f875e9bb30603acc20134ff215279a2e04 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Tue, 30 Jul 2024 00:15:51 +0200 Subject: [PATCH 2/4] Update client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help Co-authored-by: Mustafa Taher --- .../ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help b/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help index a9ebde486c..67dcde54cd 100644 --- a/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help +++ b/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help @@ -1,6 +1,6 @@ = AYON Load Asset = -#icon: path/to/icon +#icon: opdef:/ayon::Lop/lop_import::1.0?AYON_icon.png """References a USD file, usually an asset.""" From 3c8509115231c02402fad6677b88dbfa31078fa3 Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Tue, 30 Jul 2024 01:28:20 +0200 Subject: [PATCH 3/4] Update client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help Co-authored-by: Mustafa Taher --- .../ayon_8_8Lop_1lop__import_8_81.0/Help | 36 ++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help b/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help index 67dcde54cd..1e7eb3de0a 100644 --- a/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help +++ b/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help @@ -2,14 +2,40 @@ #icon: opdef:/ayon::Lop/lop_import::1.0?AYON_icon.png -"""References a USD file, usually an asset.""" +"""References an AYON USD product, usually an asset or a shot.""" == Overview == -*References* or *Payloads* a USD file into the current USD layer. - -In USD, when referencing, it's good to understand that you load a *single root prim* from the USD file. You will not get the full contents of the USD file if the USD file's content do not live within that single root primitive. By default, it will load a USD file's *default prim* but can be customized using the Load Options on this LOP node. - +*References* or *Payloads* an AYON USD product into the current USD layer. + +This node allows you to select which AYON USD product to load. It does this by utilizing a [Node:lop/reference] to load the specified AYON USD product. + +@parameters +~~~ Choose Product ~~~ +Project: + The name of the AYON project from which to load products. +Folder Path: + The path to the AYON folder (entity) within the project's hierarchy. +Product Type: + The type of AYON product to load (e.g., USD, point cache, camera, etc.). + :note: + Product type can have multiple representations. +Version: + The specific version of the product you want to load. +Representation: + The name of the representation, which refers to the file format (e.g., USD, USDA, ABC). + :note: + we use the representation name to query the file path from AYON. +Refresh: + Click to refresh and retry applying the product load parameters to load the correct file +Reload Files: + Click to reload the contents of all files imported by this node. This also clears the cache of file wilrdcard pattern expansions. +File: + The file path that will be loaded. This is locked by default as it is typically generated by the node. + :tip: + It's locked by default as it should be computed by the node. +Primitive Root: + The referenced prim will be overlayed onto this prim, and the referenced prim’s descendants will become this prim’s descendants. If this prim doesn’t exist, the node will create it. @related From 6c436e1d6dce1af96de3fa54bf0d111a7f42c56d Mon Sep 17 00:00:00 2001 From: Roy Nieterau Date: Tue, 30 Jul 2024 10:15:05 +0200 Subject: [PATCH 4/4] Update client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help Co-authored-by: Mustafa Taher --- .../ayon_8_8Lop_1lop__import_8_81.0/Help | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help b/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help index 1e7eb3de0a..5881ed7bbc 100644 --- a/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help +++ b/client/ayon_houdini/startup/otls/ayon_lop_import.hda/ayon_8_8Lop_1lop__import_8_81.0/Help @@ -16,10 +16,10 @@ Project: The name of the AYON project from which to load products. Folder Path: The path to the AYON folder (entity) within the project's hierarchy. -Product Type: - The type of AYON product to load (e.g., USD, point cache, camera, etc.). +Product : + The name of the AYON product you want to load. :note: - Product type can have multiple representations. + Products can have multiple representations. Version: The specific version of the product you want to load. Representation: