|
|
|
SW_name2ElementRetrieves a corresponding element ID for a given element name. package require SW_library SW_name2Element elementName [sceneID]
Return ValueIf the procedure succeeds then it returns an element ID. If there is no element with the given name then the procedure returns nothing. If an error occurs then an error message string is returned on the TK console command line. Example
This example allocates and retrieves the current scene, retrieves the element ID corresponding to the name sphere1, and then retrieves BoundingBox attribute. |
|
copyright Video-Collage Inc. |