Adds a single object to the selection.
Selection.Add( Object in_pObj, siSelectMode in_selType );  | 
Selection.Add( Object, SelectionMode );  | 
| Parameter | Type | Description | 
|---|---|---|
| Object | Object (ie., X3DObject, Camera, Light, etc.) | Object to add to selection | 
| SelectionMode | siSelectMode | Specifies how the object selected in hierarchy.
 Default Value: siSelectDefault  | 
set sel = Application.Selection set c = ActiveSceneRoot.AddGeometry( "Cone", "NurbsSurface" ) set g = ActiveSceneRoot.AddGeometry( "Grid", "NurbsSurface" ) sel.Add c, siSelectDefault sel.Add g, siSelectDefault for each i in sel LogMessage i.Name next 'Output of above script: 'INFO : "cone" 'INFO : "grid"  |