comp shape attribute

Syntax

string comp.sel

float comp.index

float comp.total

Description

The comp shape attributes give information about the last component split in the chain of the shape's predecessors.

comp.selA string containing the component split selector which selected the current shape (or it's predecessor, respectively) in the last component split.
comp.indexThe zero-based index into the group of shapes generated by the selector.
comp.totalThe total number of components selected by the selector.

Example

Index and total are per selector; for instance

...
primitiveCube()
comp(f) { front : Front | side : Side }  
creates one Front shape with and 3 Side shapes with

Related

Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.