mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
tweak filepath a little bit
This commit is contained in:
parent
2c53fcf8e5
commit
fee69d102d
1 changed files with 8 additions and 2 deletions
|
|
@ -27,6 +27,13 @@ class CreatePointCache(plugin.HoudiniCreator):
|
|||
pre_create_data)
|
||||
|
||||
instance_node = hou.node(instance.get("instance_node"))
|
||||
|
||||
filepath = "{staging_dir}/{product_name}.abc".format(
|
||||
staging_dir=hou.text.expandString("$HIP/pyblish/"),
|
||||
# keep dynamic link to product name
|
||||
product_name="`chs(\"AYON_productName\")`",
|
||||
)
|
||||
|
||||
parms = {
|
||||
"use_sop_path": True,
|
||||
"build_from_path": True,
|
||||
|
|
@ -34,8 +41,7 @@ class CreatePointCache(plugin.HoudiniCreator):
|
|||
"prim_to_detail_pattern": "cbId",
|
||||
"format": 2,
|
||||
"facesets": 0,
|
||||
"filename": hou.text.expandString(
|
||||
"$HIP/pyblish/{}.abc".format(product_name))
|
||||
"filename": filepath
|
||||
}
|
||||
|
||||
if self.selected_nodes:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue