I

IDToLocation

Introduced

7.0

UI Location

• Conversion

• Geometry Queries

Description

Outputs a location on a geometry based on the ID attribute at each geometry point. An ID attribute must be defined on the points of the geometry and must be unique for this node to work. For point clouds, if the point cloud is generated using AddPointNode, IDs are automatically generated.

This node is useful for accessing attributes on points based on the ID of the point. For this purpose you can connect the locations into a GetDataNode and specify the attribute name in the Get Data node. However, you should rarely need to use this node since ICE does the iteration on the geometry components. For example, a tree that does a Set Data node on "Self.PointPosition" will iterate on all points implicitly for you.

There are cases, however, where this node can be useful. For example, if you generate a point cloud ordered as a 3D grid. You could use ID arithmetics to get the attributes of the points at the previous and next row, which is required if you want to implement a grid-based fluid simulator, for example.

Port Description

Inputs

Group ID | Instance s | Port Name | Connection Info | Description
0 | 1 | geometry | • Type: siICENodeDataGeometry • Structure: siICENodeStructureSingle • Context: siICENodeContextSingleton | Geometry on which to generate a new point location.
id | • Type: siICENodeDataLong • Structure: siICENodeStructureAny • Context: siICENodeContextAny | Input ID to convert to Locations.

Outputs

Port Name | Connection Info | Description
result | • Type: siICENodeDataLocation • Structure: siICENodeStructureAny • Context: siICENodeContextAny | Resulting Locations.

See Also

GenerateSampleSetNode | GetClosestLocationNode | GetGeometrySampleNode | GroupGeometryNode
IsOnGeometryNode | PointInVolumeNode | RaycastNode | UndefinedLocationNode
UVToLocationNode |  |  |

Autodesk Softimage v7.5