Description Converts a predefined element (Lens, Mirror, Prism, etc.) to a Custom Element.
Syntax success = ConvertToCustomElement ( n )
Parameters success (Boolean) True if the operation succeeded, False otherwise.
n As Long Node number of the element.
Remarks This function converts a predefined element (Lens, Mirror, Prism) to a Custom Element. Note that the element must exist on the object tree before calling this command, i.e. when creating the predefined element in the same script an Update command must be issued before the ConvertToCustomElement command. If there is a problem, the function sets an error, does not modify the General Element, and returns False.
See Also
Examples
|