SilverScreen Solid Modeler

ToString method

ToString method

Previous topic Next topic  

ToString method

Previous topic Next topic JavaScript is required for the print function  

SilverSharpAPI

 

string ToString ( )

 

 

 

 

 




Synopsis

using SilverSharp;

 

The ToString method formats the SilverSharp.EDGE_NODE object as a system string that is suitable for use with ss_command.

 

 

Parameters

none

 

 

Return Value

ToString returns a System.String representation of the EDGE_NODE object.

 

 

See Also

EDGE_NODE

 

 

Example

The following code moves every edge in an object 2 units in the direction of the positive x-axis:

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 EdgeList eList = EdgeList.FromObject("object \\obj1");

 

 foreach ( EDGE_NODE edge in eList )

    {

    SC.ss_command("move {0} delta x2", edge);

    }

 

 

Note: The use of ToString is implied above.