doc.arcgis.com/en/cityengine/2025.0/cga/cga-size-function.htm

Preview meta tags from the doc.arcgis.com website.

Linked Hostnames

1
  • General Meta Tags

    17
    • title
      size function—ArcGIS CityEngine Resources | Documentation
    • charset
      utf-8
    • X-UA-Compatible
      IE=edge,chrome=1
    • viewport
      width=device-width, user-scalable=no
    • description
      size function Syntaxfloat size(array)Parametersarray—(float[], bool[], string[]) Array for which size is requested.ReturnsThe number of the elements in array.Related Array types operators array initialization function nRows function nColumns function ExampleNumber of elementsconst a = [1:4] const b = [1,2 ; 3,4] Example --> print(size(a)) // 4 print(size(b)) // 4 Components const edgeLengths = comp(e) { all : scope.sx } const faceAreas = comp(f) { all : geometry.area() } Example --> print(edgeLengths) // (4)[2,2,2,2] print(faceAreas) // (1)[4] print(size(edgeLengths)) // 4 print(size(faceAreas)) // 1
  • Link Tags

    8
    • shortcut icon
      /assets/img/favicon.ico
    • stylesheet
      /assets/css/screen.css
    • stylesheet
      /cdn/calcite/css/documentation.css
    • stylesheet
      /assets/css/print.css
    • stylesheet
      /cdn/css/colorbox.css

Links

5