C

CacheOnFileNode

Associated Parameters: CacheOnFileNode

Introduced

7.0

UI Location

• Data Access

Description

Reads or writes attribute information to a file. For more information about using caches, see ICE Caching.

The filename used is resolved based on several things including a path, several tokens as well as a frame number. The path is chosen by either one of the path templates in the simulation preferences or a specified alternative path. Files are stored as "pathtemplate\modelname\objectname_versionstring_localframe.icecache".

Furthermore this node can be used to blend file cache sequences with each other, merge file cache sequences together and copy cache file sequences from one location to a second one. CurrentFrameNode

Parameters

Parameter Name

Scripting Name

Type

Description

Template Path

templatepath

Integer

Template Path

Possible Values:

0: Project Path

1: Temporary Path

2: Path A

3: Path B

4: Path C

5: Alternative Path

Alternative Path

alternativepath

String

Alternative Path

File Mode

filemode

Integer

File Mode

Possible Values:

0: Do Nothing

1: Save to File

2: Read from File

Second Path

secondpath

Integer

Second Path

Possible Values:

0: Project Path

1: Temporary Path

2: Path A

3: Path B

4: Path C

Version String

versionstring

String

Version String

Attribute List

attributelist

String

Attribute List

Port Description

Inputs

Group ID

Instances

Port Name

Connection Info

Description

0

1

mute

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

True to prevent the node from being executed.

0

1

inname

Type: siICENodeDataReference

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Allows daisy chaining Cache On File nodes. The scene path connected in this port is appended as a prefix to the reference string of the node.

inputs

1

frame

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Specifies the frame number to be used to resolve the filename. This is typically driven by a .

normalize

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

True to normalize the attribute values from a file with the ones in the scene values when blending; otherwise, handle them as additive.

blend

Type: siICENodeDataFloat

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Specifies the amount of blending of this current file cache sequence. Set to 1 the attribute values are simply overwritten; set to 0.5 the values from the file cache sequence are blended with the previous ones by 50%.

overlay

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

True to blend file cache sequences for PointClouds by overlaying one file cache sequence with a second one; otherwise, use the particle's ID. When overlaying, particles are linearly removed from the first sequence and added based on the second sequence. The balance is defined by the Blend value of the node.

append

Type: siICENodeDataBool

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Merge the particles into the existing PointCloud when loading multiple file cache sequences; otherwise, blend with each other.

Outputs

Port Name

Connection Info

Description

execute

Type: siICENodeDataExecute

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Output port to connect to execute the node.

outname

Type: siICENodeDataReference

Structure: siICENodeStructureSingle

Context: siICENodeContextSingleton

Allows daisy chaining Cache On File nodes. Connect this port into the In Name port of another Cache On File to prefix the reference of the other node with the reference of this node.

See Also

GetDataNode



Autodesk Softimage v7.5