SilverScreen Solid Modeler

SYMBOL_NODE methods

SYMBOL_NODE methods

Previous topic Next topic  

SYMBOL_NODE methods

Previous topic Next topic JavaScript is required for the print function  

 

SilverSharpAPI

 

SYMBOL_NODE(SYMBOL_NODE rhs)

SYMBOL_NODE(string sym_path);

 

SYMBOL_NODE rhs;       // A SilverSharp.SYMBOL_NODE object

string      sym_path;  // A System.String object

 

 




Synopsis

using SilverSharp;

 

The SYMBOL_NODE constructors create and initialize a SilverSharp.SYMBOL_NODE object. The first form makes a shallow copy of another SilverSharp.SYMBOL_NODE object. The second form creates a SilverSharp.SYMBOL_NODE from a path to a block entity.

 

 

Parameters

rhs is a SilverSharp.SYMBOL_NODE object from which a shallow copy will be made.

 

sym_path is a path to a SilverScreen symbol entity

 

 

Return Value

SYMBOL_NODE returns a SilverSharp.SYMBOL_NODE object.

 

 

Remarks

If sym_path specifies an invalid path, then the inherited IsEmpty method will return true.

 

 

See Also

SYMBOL_NODE, Entity Types

 

 

Example

The following code shows how to construct a SilverSharp.SYMBOL_NODE object.

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 SYMBOL_NODE sym = new SYMBOL_NODE("symbol \\symbols\\desk");

 

 if ( BOS_NODE.IsEmpty(sym) )

    return;