SilverScreen Solid Modeler

DETAIL_NODE methods

DETAIL_NODE methods

Previous topic Next topic  

DETAIL_NODE methods

Previous topic Next topic JavaScript is required for the print function  

 

SilverSharpAPI

 

DETAIL_NODE(DETAIL_NODE rhs)

DETAIL_NODE(string det_path);

 

DETAIL_NODE rhs;       // A SilverSharp.DETAIL_NODE object

string      det_path;  // A System.String object

 

 




Synopsis

using SilverSharp;

 

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

 

 

Parameters

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

 

det_path is a path to a SilverScreen detail entity

 

 

Return Value

DETAIL_NODE returns a SilverSharp.DETAIL_NODE object.

 

 

Remarks

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

 

 

See Also

DETAIL_NODE, Entity Types

 

 

Example

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

 

C# Code

 

 using SilverSharp;

 

 . . .

 

 DETAIL_NODE det = new DETAIL_NODE("detail \\front\\det1");

 

 if ( BOS_NODE.IsEmpty(det) )

    return;